deepglugs / deep_imagen

scripts for running and training imagen-pytorch
38 stars 8 forks source link

New source code error #12

Open Ishihara-Masabumi opened 1 year ago

Ishihara-Masabumi commented 1 year ago

I updated deep_imagin and tried to train and generate image. But, the following error occurred.

!python imagen.py --imagen model5.pth --sample_unet=2 --size 256 --start_image girl.png --output girl_256.png --tags "1girl, blonde_hair" --cond_scale=1.1 --replace

Error loading model: model5.pth

Please let me know how to fix it.

deepglugs commented 1 year ago

Does the file model5.pth exist? If you changed any of the hyperparams, you can try to load it with --full_load but I wouldn't expect anything good to come of it until you finetune.