deeptagger: swap columns to match 'galery tag'
This commit is contained in:
parent
4131bc5d31
commit
4b054ac9cc
@ -309,8 +309,8 @@ run(std::vector<Magick::Image> &images, const Config &config,
|
|||||||
if (config.sigmoid)
|
if (config.sigmoid)
|
||||||
value = 1 / (1 + std::exp(-value));
|
value = 1 / (1 + std::exp(-value));
|
||||||
if (value > g.threshold) {
|
if (value > g.threshold) {
|
||||||
printf("%s\t%.2f\t%s\n", images.at(i).fileName().c_str(),
|
printf("%s\t%s\t%.2f\n", images.at(i).fileName().c_str(),
|
||||||
value, config.tags.at(t).c_str());
|
config.tags.at(t).c_str(), value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
main.go
2
main.go
@ -2173,7 +2173,7 @@ func makeThumbnail(load bool, pathImage, pathThumb string) (
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a normalized thumbnail. Since we don't particularly need
|
// 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.
|
// simply push it through ImageMagick.
|
||||||
//
|
//
|
||||||
// - http://www.ericbrasseur.org/gamma.html
|
// - http://www.ericbrasseur.org/gamma.html
|
||||||
|
Loading…
Reference in New Issue
Block a user