stable-diffusion
stable-diffusion copied to clipboard
img2img.py stochastic_encode() takes from 3 to 5 positional arguments but 6 were given

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.
I ran into the same issue but in the img_inpaint function for the gradio scripts.
I can get around this by explicitly passing all the args, but I'm not sure if this is the intended behavior