stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: AttributeError: 'NoneType' object has no attribute 'ema_scope'

Open sanasigma opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I'm aware of the fix for batch img2img, but that didn't help me in my case. Check the attached screenshot

sss

Steps to reproduce the problem

  1. Use Batch img2img
  2. Wait for the 1st picture to be processed
  3. Error pops up

What should have happened?

All the images should have been processed instead of just one.

Commit where the problem happens

198a1ffcfc963a3d74674fad560e87dbebf7949f

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No response

Additional information, context and logs

No response

sanasigma avatar Nov 04 '22 04:11 sanasigma

It was supposedly fixed two days ago. But if not, you can modify \modules\processing.py as described there, until they are fixed.

mykeehu avatar Nov 04 '22 05:11 mykeehu

Yes it was fixed, maybe try pulling again. It was broken for me but fixed after the pull

nanafy avatar Nov 04 '22 14:11 nanafy