Question on style training #1155
-
I am wanting to train a model that can produce a variety of characters at a high quality. For instance, I want to train a model that can output high detail images of different types of armor or costumes say for a rogue, knight, wizard, etc. But I ALSO want to train the same model on an environment style. All the documentation I can find only shows how to train a single subject so it's not clear to me how to set this up. My first test method was to keep adding instance images with the file names being a prompt instead of x(1).jpg, x(2).jpg ... But I am now finding that as I continue to add instance and concept images in this way, I need to keep raising the CFG scale to get coherent results. How do I set up instances to train on multiple subjects? Say with my model keyword being x I want to train a model on knights and I add 20 images of different knights as instance images labeled as x(1).jpg, x(2).jpg ..., then I want to resume training at a later time, but on wizards. Do I add 20 additional instance images of different wizards as x(3).jpg, x(4).jpg... or would it be better to name the first set as knight(1).jpg, knight(2).jpg... and the second set as wizard(1).jpg, wizard(2).jpg...? If I do rename it as "knight"/"wizard", will that make it so that instead of having to put "x" in the prompt, you can put "knight" or "wizard" and it will generate an image based on the instances and concepts labeled as "wizard"? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Yes correct, but don't use known words, use rare identifiers like "kndfgontr" and "oiyekivne" so you can summon the trained subjects with those identifiers. upload all the images together, don't use concept images for now. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your speedy reply! I have retrained it using the method you provided and I can see what you mean. If you don't mind, I have some follow up questions. What purpose would the concept images serve in training using this method? Is it possible to build from this? As in say I trained on Knights and Wizards, but then I decided I wanted to add Aliens and in building the Alien dataset I found some cool new pictures of knights or wizards and wanted to add them in as well, but keep the original training. Is that possible? Could you resume training with new instances like x1rAliens (1).jpg, x1rAliens (2).jpg... + x1rKnight (21).jpg, x1rKnight (22).jpg..., x1rWizard (21).jpg, etc.? |
Beta Was this translation helpful? Give feedback.
-
Adding my 2 cents based on some fantasy models i tried to train:make sure to add both environmental and class specific (class here meaning rogue, archer, etc... not the meaning of class in machine learning) in the instance images. Also try to aim to have some close ups of faces in the style you want there since otherwise you'd get really bad ones. Fullbody pics might seem as a fine idea to fill the instances with but i found that it gets the body right even without them, so you can get a little bit more detail on the body and armor while using the model. Anything above medium full shots is good. Make sure to have some fullbody pics tho, otherwise it doesnt get the boots and foot armor right. Depending on what you are using as a base model to finetune you might not need concept images or you might need a loooot of them, still experimenting with this aspect. |
Beta Was this translation helpful? Give feedback.
Thank you for your speedy reply! I have retrained it using the method you provided and I can see what you mean.
If you don't mind, I have some follow up questions. What purpose would the concept images serve in training using this method? Is it possible to build from this? As in say I trained on Knights and Wizards, but then I decided I wanted to add Aliens and in building the Alien dataset I found some cool new pictures of knights or wizards and wanted to add them in as well, but keep the original training. Is that possible?
Could you resume training with new instances like x1rAliens (1).jpg, x1rAliens (2).jpg... + x1rKnight (21).jpg, x1rKnight (22).jpg..., x1rWizard (21).jpg, etc.?