stable-diffusion-webui
stable-diffusion-webui copied to clipboard
RFE: Add [model] to Directory Name Pattern
Is your feature request related to a problem? Please describe.
As of right now, the closest option you can use regarding checkpoint/model information when saving images to a subdirectory is by the [model_hash]. This is problematic in the fact that the hash is not descriptive enough seeing as it's obviously a random string of characters making up the integrity of a file.
Describe the solution you'd like
I would like the option to use [model] over [model_hash] so that when I save images to a subdirectory, the name of that directory would be something like sd-v1-4.ckpt or sd-v1-4, instead of 7460a6fa.
Describe alternatives you've considered
I've tried using the model_hash variable, but again, not descriptive enough.
Additional context N/A
I believe #2459 is also relevant here, several of my DreamBooth models have the same hash
I would like this as well. [model_name]/[date] seems like a sensible way to organize outputs.
+1 on a [model] / [model_name] sorting option for folders/filename !
Made a PR for this: https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/4986
Made a PR for this: #4986
Thanks a lot for this. Tested and working. Hoping for the merge. Appreciate it!
That PR was pulled, you can close this issue now.
Simply use [model_name] in your save directory pattern setting.