toshiaki1729 / dataset-tag-editor-standalone

WebUI to edit dataset captions for txt2img models
MIT License
134 stars 15 forks source link

Booru tags advanced operations #56

Open knzro opened 3 months ago

knzro commented 3 months ago

Is your feature request related to a problem? Please describe. There's a some tasks in my captioning workflow that would be greatly simplified by a couple features. These two are the main ones:

  1. tags consolidation
  2. tag group filtering

Describe the solution you'd like For tags consolidation, an option in batch edit to consolidate tags. Basically removing generalized tags whenever a more descriptive one is present. For example: shirt with white_shirt, jewelry with earrings, underwear with panties/bra

For tag group filtering I would like to be able to hijack some common categories from the booru wiki https://danbooru.donmai.us/wiki_pages/ to do quick processing for triggers. I know this is a big request mostly grind wise but i have to do this every time I caption a lora so i am sure the community would be able to help populating the list, so maybe an interface to group them and shareable list files might be the solution. Some useful categories for tag filtering would be:

  1. hair
  2. eyes
  3. body
  4. outfits
  5. backgrounds
  6. objects
  7. styles

Describe alternatives you've considered The consolidate feature i have seen implemented in https://github.com/Particle1904/DatasetHelpers but it doesn't work too well.