deeptagger: swap columns to match 'galery tag'

This commit is contained in:
Přemysl Eric Janouch 2024-01-20 18:00:28 +01:00
parent 4131bc5d31
commit 4b054ac9cc
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}
}

View File

@ -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