aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deeptagger/deeptagger.cpp4
-rw-r--r--main.go2
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);
}
}
}
diff --git a/main.go b/main.go
index 95bb502..0299a14 100644
--- a/main.go
+++ b/main.go
@@ -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