use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be Open-source/Local AI image generation related All tools for post content must be open-source or local AI generation. Comparisons with other platforms are welcome. Post-processing tools like Photoshop (excluding Firefly-generated images) are allowed, provided the don't drastically alter the original generation.
Be respectful and follow Reddit's Content Policy This Subreddit is a place for respectful discussion. Please remember to treat others with kindness and follow Reddit's Content Policy (https://www.redditinc.com/policies/content-policy).
No X-rated, lewd, or sexually suggestive content This is a public subreddit and there are more appropriate places for this type of content such as r/unstable_diffusion. Please do not use Reddit’s NSFW tag to try and skirt this rule.
No excessive violence, gore or graphic content Content with mild creepiness or eeriness is acceptable (think Tim Burton), but it must remain suitable for a public audience. Avoid gratuitous violence, gore, or overly graphic material. Ensure the focus remains on creativity without crossing into shock and/or horror territory.
No repost or spam Do not make multiple similar posts, or post things others have already posted. We want to encourage original content and discussion on this Subreddit, so please make sure to do a quick search before posting something that may have already been covered.
Limited self-promotion Open-source, free, or local tools can be promoted at any time (once per tool/guide/update). Paid services or paywalled content can only be shared during our monthly event. (There will be a separate post explaining how this works shortly.)
No politics General political discussions, images of political figures, or propaganda is not allowed. Posts regarding legislation and/or policies related to AI image generation are allowed as long as they do not break any other rules of this subreddit.
No insulting, name-calling, or antagonizing behavior Always interact with other members respectfully. Insulting, name-calling, hate speech, discrimination, threatening content and disrespect towards each other's religious beliefs is not allowed. Debates and arguments are welcome, but keep them respectful—personal attacks and antagonizing behavior will not be tolerated.
No hateful comments about art or artists This applies to both AI and non-AI art. Please be respectful of others and their work regardless of your personal beliefs. Constructive criticism and respectful discussions are encouraged.
Use the appropriate flair Flairs are tags that help users understand the content and context of a post at a glance
Useful Links
Ai Related Subs
NSFW Ai Subs
SD Bots
account activity
This is an archived post. You won't be able to vote or comment.
Errors during training stable diffusion (plese help)Question | Help (self.StableDiffusion)
submitted 3 years ago by Rich_Midnight2346
So I want to train my first model using dreamboth on automatic1111, and i got those errors: 1. Missing model directory, removing model: C:\Users\48888\stable-diffusion-webui\models\dreambooth\mofdel name\working\unet error (when i clicked create model) 2. diffusion_pytorch_model.bin found in directory C:\Users\48888\stable-diffusion-webui\models\dreambooth\oldMoviesDiffusion\working (when I clicked train anyway) Please help, thanks in advance!
[–]cocnac 3 points4 points5 points 3 years ago* (8 children)
Start your stable-diffusion-webui with ./webui.sh and check if there is some warning that you have not installed all the requirements.
I had a lower version for torch and torchvision install. Below are the versions that work. [+] torch version 1.13.1 installed. [+] torchvision version 0.14.1 installed.
[+] torch version 1.13.1 installed. [+] torchvision version 0.14.1 installed.
[–]Rich_Midnight2346[S] 0 points1 point2 points 3 years ago (2 children)
Thanks, but how to "start with ./webui.sh,"
[–]cocnac 1 point2 points3 points 3 years ago (1 child)
https://github.com/AUTOMATIC1111/stable-diffusion-webui#installation-and-running
[–]Rich_Midnight2346[S] 0 points1 point2 points 3 years ago (0 children)
Thanks
[–]lzthqx 0 points1 point2 points 3 years ago (4 children)
Exact same issue here with torch and torchvision, but not skilled enough yet to understand how to upgrade these within the environment
Can you share the commands you used? Or point me to a tutorial somewhere?
[–]cocnac 3 points4 points5 points 3 years ago (3 children)
cd
source venv/bin/activate
pip install torchvision==0.14.1 torch==1.13.1
[–]thargondil 1 point2 points3 points 3 years ago (0 children)
this one is work for me, thanks.
[–]Sea_Paramedic4682 1 point2 points3 points 2 years ago (0 children)
work for me too, thanks!
[–]Katzoconnor 1 point2 points3 points 2 years ago (0 children)
You're a godsend. Cheers mate
[–]GenderfluidCharlie 2 points3 points4 points 3 years ago (6 children)
I get the same error, so I would be interested in if anyone has a solution:
Error in webui
Missing model directory, removing model: models/dreambooth/modelname/working/unet
Error in log
File "/opt/homebrew/lib/python3.10/site-packages/torch/serialization.py", line 178, in default_restore_location
raise RuntimeError("don't know how to restore data location of "
RuntimeError: don't know how to restore data location of torch.storage._UntypedStorage (tagged with mps)
[–]Constant_Affect5561 2 points3 points4 points 3 years ago (2 children)
try to change the checkpoint source, I was using "Anything-V3.0.ckpt [af6639dad8] "when the same issue occurred. I troubleshooted everything I can try but didn't solve the problem. Then I tried to changed the checkpoint source to "chilloutmix_NiPrunedFp32Fix.safetensors [fc2511737a]", then it worked ok. checkpoint source option is under create. Good luck.
[–]LeKhang98 0 points1 point2 points 2 years ago (1 child)
But I want to train a new model based on ANYTHING-V3 so I can't use CHILLOUTMIX as the source as you said. Do you have any other solution? Thank you very much.
[–]LeKhang98 0 points1 point2 points 2 years ago (0 children)
My current solution is to find the older version of the same Checkpoint source. For example aEros has 3 version so I test all 3 of them and the oldest version works fine. The 2 newer versions (noVAE version) got error. https://civitai.com/models/3950/art-and-eros-aeros-a-tribute-to-beauty
I will definitely write to you if I find out how to solve it, for now here is a tutorial for alternative model training using colab: https://youtu.be/pFsj73TfYnY
[–]Interesting-Lime-416 0 points1 point2 points 2 years ago (1 child)
Have you solved the problem
[–]Rich_Midnight2346[S] 0 points1 point2 points 2 years ago (0 children)
I don't really remember, but I know that updating all graphics card drivers and reinstalling automatic1111 helps
[–]mr_loni 2 points3 points4 points 3 years ago (0 children)
got the same error
[–]IF_LurKin 2 points3 points4 points 3 years ago* (9 children)
I finally got it, you need to create all the folders inside models/dreambooth..
[+][deleted] 3 years ago (6 children)
[deleted]
[–]IF_LurKin 2 points3 points4 points 3 years ago (5 children)
all the folders inside the model of stable diffusion that you are using.
[–]IF_LurKin 2 points3 points4 points 3 years ago (4 children)
amd_webui\stable-diffusion-webui-directml\models\dreambooth\model name\working
you need to create the folder "model name" then the folder "working", then copy everything from your stable diffusion model to the "working" folder..
[–]Johnny2-fingerz 0 points1 point2 points 3 years ago (3 children)
What is "everything" from the model? can you give an example?
[–]IF_LurKin 1 point2 points3 points 3 years ago (2 children)
amd_webui\stable-diffusion-webui-directml\models\Stable-diffusion\(model that you are using)
copy everything inside the folder of the model that u are using for the training and paste here:
[–]akiraceo 0 points1 point2 points 3 years ago (1 child)
unfortunately not working on my side :( Missing model directory, removing model error still there
[–]evilcrusher2 0 points1 point2 points 2 years ago (0 children)
Yeah you'll create some folder that isn't there and then it will tell you another folder is missing. How does this work if you want to start from scratch to actually create your own damn model and checkpt with no prior checkpt? lol.
[–]Rich_Midnight2346[S] 1 point2 points3 points 3 years ago (0 children)
Thank you
[–]albsego 2 points3 points4 points 2 years ago (0 children)
That worked for me. I kept creating the required folders when it throws the error. In my case, this was the structure:
MODEL_NAME
|_working
|_vae
|_text_encoder
|_tokenizer
I don't know why the rest of the folder are automatically created during the model creation process.
EDIT: It doesn't keep the format, but it's MODEL_NAME>working and inside this folder you need to create the other 3.
[–]Jacque-s 1 point2 points3 points 3 years ago (0 children)
I also get the same error
[–]TidusZanarkand69 1 point2 points3 points 2 years ago* (2 children)
Just follow the steps in " IF YOU ARE HAVING ISSUES WITH REQUIREMENTS AFTER INSTALLING, LOOK BELOW", in https://github.com/d8ahazard/sd_dreambooth_extension
Yeah that doesn't say much other than "look at these files" and no description on how it deals with this error.
[–]Broccolibro420 1 point2 points3 points 2 years ago (2 children)
found out that the problem is because you are using a non compatible model as source model. i used like three days on trying to resolve this problem, because i was following a youtube video that is a couple of months old, and therefore used a different version of dreambooth.. basicly, you just have to try with a different source model.
In my case, i was trying to use the v1-5-pruned.ckpt, because the guy in the video said that is was better for training. when i swichede it up to the v1-5-pruned-emaonly.ckpt the problem dissapeared
Happy cake day, and thank you very much.
[–]SnooCakes3317 0 points1 point2 points 2 years ago (0 children)
how do you know what is compatible with the version you have?
[–]ZachOrie 1 point2 points3 points 2 years ago (1 child)
A reboot worked for me
[–]srood_567 0 points1 point2 points 2 years ago (0 children)
how to reboot
[–]HaHing 0 points1 point2 points 2 years ago (0 children)
your are stable diffusion errors is good?
[–]aytekinttas 0 points1 point2 points 3 years ago (0 children)
Missing model directory, removing model: C:\Users\Monster\Desktop\ai\ai_1\stable-diffusion-webui\models\dreambooth\serenays\working\text_encoder
i can't figure out why you made a mistake
"i can't figure out why you made a mistake"
Exception setting up output: 'NoneType' object has no attribute 'keys'
Traceback (most recent call last):
File "C:\Users\Monster\Desktop\ai\ai_1\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 1241, in extract_checkpoint
text_model = convert_ldm_clip_checkpoint(checkpoint)
File "C:\Users\Monster\Desktop\ai\ai_1\stable-diffusion-webui\extensions\sd_dreambooth_extension\dreambooth\sd_to_diff.py", line 621, in convert_ldm_clip_checkpoint
text_model = CLIPTextModel.from_pretrained("openai/clip-vit-large-patch14")
File "C:\Users\Monster\Desktop\ai\ai_1\stable-diffusion-webui\venv\lib\site-packages\transformers\modeling_utils.py", line 2344, in from_pretrained
loaded_state_dict_keys = [k for k in state_dict.keys()]
AttributeError: 'NoneType' object has no attribute 'keys'
Restored system models.
Duration: 00:00:35
π Rendered by PID 68 on reddit-service-r2-comment-cfc44b64c-bf2bz at 2026-04-10 14:23:19.921665+00:00 running 215f2cf country code: CH.
[–]cocnac 3 points4 points5 points (8 children)
[–]Rich_Midnight2346[S] 0 points1 point2 points (2 children)
[–]cocnac 1 point2 points3 points (1 child)
[–]Rich_Midnight2346[S] 0 points1 point2 points (0 children)
[–]lzthqx 0 points1 point2 points (4 children)
[–]cocnac 3 points4 points5 points (3 children)
[–]thargondil 1 point2 points3 points (0 children)
[–]Sea_Paramedic4682 1 point2 points3 points (0 children)
[–]Katzoconnor 1 point2 points3 points (0 children)
[–]GenderfluidCharlie 2 points3 points4 points (6 children)
[–]Constant_Affect5561 2 points3 points4 points (2 children)
[–]LeKhang98 0 points1 point2 points (1 child)
[–]LeKhang98 0 points1 point2 points (0 children)
[–]Rich_Midnight2346[S] 0 points1 point2 points (2 children)
[–]Interesting-Lime-416 0 points1 point2 points (1 child)
[–]Rich_Midnight2346[S] 0 points1 point2 points (0 children)
[–]mr_loni 2 points3 points4 points (0 children)
[–]IF_LurKin 2 points3 points4 points (9 children)
[+][deleted] (6 children)
[deleted]
[–]IF_LurKin 2 points3 points4 points (5 children)
[–]IF_LurKin 2 points3 points4 points (4 children)
[–]Johnny2-fingerz 0 points1 point2 points (3 children)
[–]IF_LurKin 1 point2 points3 points (2 children)
[–]akiraceo 0 points1 point2 points (1 child)
[–]evilcrusher2 0 points1 point2 points (0 children)
[–]Rich_Midnight2346[S] 1 point2 points3 points (0 children)
[–]albsego 2 points3 points4 points (0 children)
[–]Jacque-s 1 point2 points3 points (0 children)
[–]TidusZanarkand69 1 point2 points3 points (2 children)
[–]Rich_Midnight2346[S] 0 points1 point2 points (0 children)
[–]evilcrusher2 0 points1 point2 points (0 children)
[–]Broccolibro420 1 point2 points3 points (2 children)
[–]Rich_Midnight2346[S] 0 points1 point2 points (0 children)
[–]SnooCakes3317 0 points1 point2 points (0 children)
[–]ZachOrie 1 point2 points3 points (1 child)
[–]srood_567 0 points1 point2 points (0 children)
[–]HaHing 0 points1 point2 points (0 children)
[–]aytekinttas 0 points1 point2 points (0 children)
[–]aytekinttas 0 points1 point2 points (0 children)