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

How to use other pretrained models for inpainting inference?

Open toshi2k2 opened this issue 3 years ago • 0 comments

How can we use other pretrained models (e.g. lsun_beds256) for inpainting inference? Using the pretrained model trvially seems to be running in the following error -

c = model.cond_stage_model.encode(batch["masked_image"])
AttributeError: 'NoneType' object has no attribute 'encode'

toshi2k2 avatar Jun 03 '22 06:06 toshi2k2