stable-diffusion
stable-diffusion copied to clipboard
FirstStage object has no attribute 'get_first_stage_encoding'
Traceback (most recent call last):
File "optimizedSD/optimized_img2img.py", line 259, in
passed both a jpg and png image to see if it had anything to do with filetype and it does not work for either
The optimizedSD scripts don't instantiate the root model which is a ldm.models.diffusion.ddpm.LatentDiffusion
object, which has get_first_stage_encoding
.
I am also getting this error, there any way to fix it?
same here. did not find how to fix it atm Oh! and by the way, the regular img2img produce the same error.
I found it, in optimizedSD/
there is a ddpm.py file, you must replace the one in stable diffusion with this one.
thanks. weird, it worked once, and the next time i started it up it won't work anymore. same error. double-checked the file to make sure it didn't magically revert. no idea why this is happening