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

img2img.py stochastic_encode() takes from 3 to 5 positional arguments but 6 were given

Open 0ctodice opened this issue 3 years ago • 2 comments

image

Hello, I encountered this issue with the img2img.py and img2img_gradio.py.

And sometimes, I encountered the issue : AttributeError: 'UNet' object has no attribute 'sqrt_alphas_cumprod'.

I checked the issue 25 and no, even with the latest version it still doesn't work.

0ctodice avatar Aug 31 '22 10:08 0ctodice

I ran into the same issue but in the img_inpaint function for the gradio scripts.

chengyjonathan avatar Sep 09 '22 22:09 chengyjonathan

I can get around this by explicitly passing all the args, but I'm not sure if this is the intended behavior

chengyjonathan avatar Sep 09 '22 22:09 chengyjonathan