toriato / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
1.34k stars 235 forks source link

Batch tagged files including image file extension+.txt #12

Closed Evil-Dragon closed 2 years ago

Evil-Dragon commented 2 years ago

Typically files created for use with Textual Inversion or Hypernetwork training only include the original filename + txt extension, as an example: screenshot_1043.txt to match with screenshot_1043.jpg

However this tagged is creating screenshot_1043.jpg.txt which will be ignored in training sessions.

Just saves people having to use mass renaming software in the long run to make the files work with training.

Everything else works great, thank you :)

toriato commented 2 years ago

Added an option to specify the format of the filename with this commit. Thanks for idea!