From 4b054ac9ccf22b2eb87641e0cb1784bc92663777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Sat, 20 Jan 2024 18:00:28 +0100
Subject: [PATCH] deeptagger: swap columns to match 'galery tag'
---
deeptagger/deeptagger.cpp | 4 ++--
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 &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