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 | |
parent | 4131bc5d3130e876d021e1cfa7fae4d3c3b86626 (diff) | |
download | gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.tar.gz gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.tar.xz gallery-4b054ac9ccf22b2eb87641e0cb1784bc92663777.zip |
deeptagger: swap columns to match 'galery tag'
-rw-r--r-- | deeptagger/deeptagger.cpp | 4 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 3 insertions, 3 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); } } } @@ -2173,7 +2173,7 @@ func makeThumbnail(load bool, pathImage, pathThumb string) ( } // Create a normalized thumbnail. Since we don't particularly need - // any complex processing, such as surrounding of metadata, + // any complex processing, such as surrounding metadata, // simply push it through ImageMagick. // // - http://www.ericbrasseur.org/gamma.html |