diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-01-20 18:00:28 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-01-20 18:00:28 +0100 |
commit | 4b054ac9ccf22b2eb87641e0cb1784bc92663777 (patch) | |
tree | f7e126a9ba722866d102a01c80964b1602b5f30c /deeptagger/deeptagger.cpp | |
parent | 4131bc5d3130e876d021e1cfa7fae4d3c3b86626 (diff) | |
download | gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.tar.gz gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.tar.xz gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.zip |
deeptagger: swap columns to match 'galery tag'
Diffstat (limited to 'deeptagger/deeptagger.cpp')
-rw-r--r-- | deeptagger/deeptagger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deeptagger/deeptagger.cpp b/deeptagger/deeptagger.cpp index 4e8f61e..27b0a91 100644 --- a/deeptagger/deeptagger.cpp +++ b/deeptagger/deeptagger.cpp @@ -309,8 +309,8 @@ run(std::vector<Magick::Image> &images, const Config &config, if (config.sigmoid) value = 1 / (1 + std::exp(-value)); if (value > g.threshold) { - printf("%s\t%.2f\t%s\n", images.at(i).fileName().c_str(), - value, config.tags.at(t).c_str()); + printf("%s\t%s\t%.2f\n", images.at(i).fileName().c_str(), + config.tags.at(t).c_str(), value); } } } |