Trying to generate animations in img2img with stablediffusion and ive started getting this error, which is odd as i have not had this error before, if anyone can point me to what i need to fix that'd be greatly appreciated!
Traceback (most recent call last):
File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\ui.py", line 185, in f
res = list(func(*args, *kwargs))
File "C:\Users\James\Documents\stable-diffusion-webui-master\webui.py", line 54, in f
res = func(args, *kwargs)
File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\img2img.py", line 137, in img2img
processed = modules.scripts.scripts_img2img.run(p, args)
File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\scripts.py", line 290, in run
processed = script.run(p, script_args)
File "C:\Users\James\Documents\stable-diffusion-webui-master\scripts\animation.py", line 749, in run
init_img = zoom_at2(init_img, rot_per_frame, int(x_shift_cumulative), int(y_shift_cumulative),
File "C:\Users\James\Documents\stable-diffusion-webui-master\scripts\animation.py", line 34, in zoom_at2
img2 = img.resize((int(w zoom), int(h * zoom)), Image.Resampling.LANCZOS)
File "C:\Users\James\Documents\stable-diffusion-webui-master\venv\lib\site-packages\PIL\Image.py", line 2082, in resize
return self._new(self.im.resize(size, resample, box))
ValueError: height and width must be > 0
Trying to generate animations in img2img with stablediffusion and ive started getting this error, which is odd as i have not had this error before, if anyone can point me to what i need to fix that'd be greatly appreciated!
Traceback (most recent call last): File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\ui.py", line 185, in f res = list(func(*args, *kwargs)) File "C:\Users\James\Documents\stable-diffusion-webui-master\webui.py", line 54, in f res = func(args, *kwargs) File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\img2img.py", line 137, in img2img processed = modules.scripts.scripts_img2img.run(p, args) File "C:\Users\James\Documents\stable-diffusion-webui-master\modules\scripts.py", line 290, in run processed = script.run(p, script_args) File "C:\Users\James\Documents\stable-diffusion-webui-master\scripts\animation.py", line 749, in run init_img = zoom_at2(init_img, rot_per_frame, int(x_shift_cumulative), int(y_shift_cumulative), File "C:\Users\James\Documents\stable-diffusion-webui-master\scripts\animation.py", line 34, in zoom_at2 img2 = img.resize((int(w zoom), int(h * zoom)), Image.Resampling.LANCZOS) File "C:\Users\James\Documents\stable-diffusion-webui-master\venv\lib\site-packages\PIL\Image.py", line 2082, in resize return self._new(self.im.resize(size, resample, box)) ValueError: height and width must be > 0