I did manage to make it work, it's quite simple, you need a folder with photos for training and a txt file with example prompts for the styles of the image, the dataset location is the folder with the images and the other one is the location of the txt file with the example prompts.
But yes a hypernetwork works without a special initializing word. It's like dreambooth in that sense. A hypernetwork trained with a specific face would try to overlay any face in your image with the trained face.
As for training hypernetworks, it's similar to embeddings but with a crucial difference - a much lower learning rate.
The best results above for style training was with a 0.000005 LR and 15000+ steps. ~20 training images
However, prompts for the image are very important. CLIP interrogator tags didn't work well but Danbooru style tags did, likely because they are so specific.
For faces.. it seemed like a 0.00005 LR and 3000 steps (~20 training images) worked well, but of course you can try with the above settings also. Trying for style with these settings were kind of a coin toss. It worked well for some and it didn't for others
But all of this is actually quite extensively detailed in the stable-diffusion-webui's wiki. There is one whole damn section even about the filewords and how to construct them so you saying you just don't know how makes me think that you haven't actually even read the wiki? I really doubt that anyone here is going to write you even more extensive guide and to be fair I am not sure how anyone can explain it any better than what it is already explained right there in the wiki.
Is there a reason why I don't have a train tab? I just updated the web ui via a gitpull code and nothing changed.
Edit: anyone coming by this if you downloaded the ZIP and and not use the git pull you have to redownload the zip and over write the files to update. the git pull will not update if you downloaded it via zip.
Off-topic question, but how did you uptade it? I was thinking that after the install the uptades are automatically made, need to make "git pull" something like that?
I'd love a wiki or something, I can't figure out how to use it. I just get an error saying RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu). There isn't much to Google because the thing is so new.
14
u/gelukuMLG Oct 13 '22
I did manage to make it work, it's quite simple, you need a folder with photos for training and a txt file with example prompts for the styles of the image, the dataset location is the folder with the images and the other one is the location of the txt file with the example prompts.
1
u/BawkSoup Oct 17 '22 edited Oct 17 '22
Is there a reason why I don't have a train tab? I just updated the web ui via a gitpull code and nothing changed.
Edit: anyone coming by this if you downloaded the ZIP and and not use the git pull you have to redownload the zip and over write the files to update. the git pull will not update if you downloaded it via zip.
1
u/Longjumping_Post7213 Feb 11 '23
hope this help
2
u/huehue_photographer Oct 13 '22
Off-topic question, but how did you uptade it? I was thinking that after the install the uptades are automatically made, need to make "git pull" something like that?
2
u/higgs8 Oct 13 '22
I'd love a wiki or something, I can't figure out how to use it. I just get an error saying
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu). There isn't much to Google because the thing is so new.2
u/Cyber-Cafe Oct 13 '22
I’m not even sure how to update automatic1111.
1
u/SnooHesitations6482 Oct 14 '22
Hypernetwork guide try this one \o/
1
u/Otherwise_Concept880 Aug 13 '23
stable diffusion trainjng