mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #159] @_@ #116
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bluelovers on GitHub (Apr 13, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/159
should be
@_@@DominikDoom commented on GitHub (Apr 13, 2023):
Most anime models (at least that I know of) are trained with the underscores replaced with spaces, since CLIP by default is better at encoding natural language rather than "special" tags. This is why the "replace underscores" option is on by default. The issue is that with the data I have from danbooru, there's really no way to separate a tag using underscores to separate words from a tag where underscores are part of the "final product". Booru sites themselves mostly don't replace the underscores with spaces, so they don't face this issue.
However, while it might look odd, these models most likely didn't handle those tags separately from the rest, so they actually never used the version containing underscores in training. So what gets inserted here is actually correct concerning the models. I haven't tried if there's a quality difference though, but for such short tags I imagine it will be very similar either way.
The only exception might be for special Loras that use the underscore version as a trigger word, but that is out of this extensions knowledge.