Sign In

LORA/Model naming convention standard - a humble proposal

0
LORA/Model naming convention standard - a humble proposal

Hello all,

If you're like me you have a lot of LORAs and models. I currently have 1,133 LORAs, plus 74 models. About 70% of them are downloaded and the rest I made myself. However, keeping them organized so I know what they each do is a real pain in the ass.

To solve this issue I have started using a naming convention for both. I have also continued to use the Additional Networks extension because I find it a lot easier than the A1111 tab or typing everything in.

Sidebar: Frankly I don't understand why the developers didn't just adopt the extension interface for the native implementation. It is FAR more intuitive. Buy hey, why think about the user when you've got code to write? Yes I'm talking to all you developers. No one cares how cool your code is if you give them a GUI they hate. Remember Windows 8?.

Since I am on Linux I have accomplished this by using the "ln -s" command to create a symbolic link from </home/admin/Software/stable-diffusion-webui/models/Lora> to <stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora>. I am confident this can also be done on Windows with a shortcut, or a Mac with an Alias.

So in order to make things easier for users, I'd like to propose that we as a community start using a naming convention for LORAs and models. I will detail mine here, although I am not arrogant enough to insist on it for everyone I think it could at least be a good starting point.

Firstly, I change everything to lowercase so the webui shows them in correct alphanumeric order. If I don't do this then the capitalized ones jump to the top of the category and they are harder to find.

Secondly, when adding the keywords I use an underscore to connect multi-word keywords, and I use spaces to separate them.

For models
<type> - <name> - <version number> <vae> - <focus> ~ <key_words (optional)>

For example:
cartoon - sexytoon3D - v1 ~ sexy_toon cartoon sexy
realistic - realisticvision - v51 - vae51

NOTE: For models you can also use folders in <stable-diffusion-webui/models/Stable-diffusion> to group them in the dropdown menu.

For LORAs
<subject matter> - <name> - <version number> ~ <key_words (optional)>

For example:
celebrity - alice eve - 01 - ~ alice_eve
cars - usps truck - 03 ~ usps
hair - bighair - 01 ~ big_hair
movement - motion blur 04 ~ motion_blur motion_lines

NOTE: Using folders in <stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora>, or </home/admin/Software/stable-diffusion-webui/models/Lora> has no effect.

Anyway that's it. I'm hoping this at least starts a discussion.

0

Comments