-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TypeError: 'NoneType' object is not iterable when generating txt2img #727
Comments
your not the only one with the same issue its happening to me as well and yes i can confirm that with or without using extensions/Integrated extensions it still happens and Going to Different Commit and Switching Branches doesnt help the issue is Still there |
same here |
i got it to work just Delete all External Extentions and dont use any of the integrated extensions what i mean is that once you launch the UI dont Activate any of integrated Extensions and dont use Any Scripts either if you do it that way it works Normally Without Any Issues at least it works for me when i did that and i came to a conclusion that the Error only Appears when using Scripts&Extentions/Integral extensions but if used without any them and only use HiresFix the error does not appear at all |
Just Tried again with the Extensions and Scripts turned on and it didnt Work at all This happened File "D:\Stability Matrix\Packages\Stable Diffusion WebUI Forge\modules_forge\main_thread.py", line 37, in loop Stable diffusion model failed to load To create a public link, set Stable diffusion model failed to load Stable diffusion model failed to load Stable diffusion model failed to load Stable diffusion model failed to load |
I am getting this in txt2img as well: I figured it comes from torch difference. Your install script installs torch==2.1.2+cu121 |
@georgitsenov , This has happened to me and I'm using latest torch+cu121--To Everyone: this always fixes it for me: When I get that error, I change checkpoints, click generate, it works, then go back to original checkpoint and it works. I got really desperate once when I got the error, cuz up until that point, the error meant you had to reload the UI, which I hate lol so I turned off each extension one-by-one and what ended up doing it was changing checkpoints. Since then, when I get the error, I do the checkpoint switch and it has worked every single time. hope it helps |
Checklist
What happened?
txt2img generation cause TypeError: 'NoneType' object is not iterable it happened at latest build also on build "b9705c5"
Steps to reproduce the problem
What should have happened?
generate image
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-05-12-04-25.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: