-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve dashes and spaces in filenames when using them for prompts #1174
Comments
41ee2da I added a manual captioning feature with which you can either use an existing txt file or create one that contains the captions. also, using class names like "t-shirt" will make the model converge too fast and cause extravagant overfitting, when using captions, I recommend using proper names, like the brand name and let the model automatically assign the subject to it. when using captioning, the text encoder steps will become the number of steps to use the captions, after that, the captions will be disabled and falls back to the filename, this will prevent overfitting. |
Nice feature but that's a ton of work. The images are already captioned, this is just a request to preserve them
Not sure if you mean using that word as the whole prompt. I meant "someStyle a man wearning a blue t-shirt". You can find many high-profile models that are trained with a dash in the prompt, like
That's... using the new manual captioning? |
The dash is used to replace spaces in the images filenames to avoid errors, and the underscore is to preserve spaces, the number is removed to allow easy batch renaming, if the numbers are not removed, the instance name would become "instance(1)" "instance(2)" instead of just "instance"
Yes |
You could replace |
I realized this would have to go into diffusers, created a quick PR |
Many words naturally have dashes, like
t-shirt
orsee-through
. They are getting removed, changing prompts incorrectly.Also, it'd be nice to get back the space-to-underscore pre-processing, so that original files can be kept with spaces which is more readable
The text was updated successfully, but these errors were encountered: