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

🆘 How can I use the other models? (for example ImageNet)

Open illtellyoulater opened this issue 2 years ago • 0 comments

Hi! after setting the project up I could successfully run the following example from the README:

python scripts/txt2img.py --prompt "a virus monster is playing guitar, oil on canvas" --ddim_eta 0.0 --n_samples 4 --n_iter 4 --scale 5.0 --ddim_steps 50

Everything works as expected, but now how can I use additional models listed in the Models Zoo section?

For example, I downloaded ImageNet from the Pretrained LDMs section and extracted "cin.zip" in "models/ldm/cin256/". Now how do I proceed to use it? I tried running python scripts/txt2img.py --help but I couldn't find an option to set the model.

Same for the models from the Pretrained Autoencoding Models section... From there I downloaded f=16, VQ (Z=16384, d=8) and extracted "vq-f16.zip" in "models/first_stage_models/vq-f16/", but then again, how do I proceed to select it?

Thanks a lot in advance if you can help!

illtellyoulater avatar May 26 '22 00:05 illtellyoulater