VQGAN-CLIP
VQGAN-CLIP copied to clipboard
-conf and -ckpt argument question | use other models
Hello there, i have a issue with the -conf and -ckpt arguments:
i would like to use another model but how do i use them?
i type this in the Anaconda Promt:
python generate.py -p "man by Peter Paul Rubens" -ii samples/fb.jpg -i 1200 -se 10 -o output/output6.png -conf checkpoints/faceshq.yaml -ckpt checkpoints/faceshq.ckpt
facehq.yaml and facehq.ckpt are in the checkpoints folder. i only get this error:
(vqgan) d:\AI_Images\VQGAN-CLIP>python generate.py -p "man by Peter Paul Rubens" -ii samples/fb.jpg -i 1200 -se 10 -o output/output6.png -conf checkpoints/faceshq.yaml -ckpt checkpoints/faceshq.ckpt
Working with z of shape (1, 256, 16, 16) = 65536 dimensions.
Traceback (most recent call last):
File "d:\AI_Images\VQGAN-CLIP\generate.py", line 546, in
i only have a D:\AI_Images\VQGAN-CLIP\taming-transformers\taming\modules\transformer
folder, not transformers
what can i do?
I had the same issue for a range of different models. It was driving me crazy. The issue is the difference between the official python pip package for taming-transformers and the github repo. It's solved by installing the github version.
pip install transformers
pip uninstall taming-transformers
pip install git+https://github.com/CompVis/taming-transformers
This should work for: Ade20k CelebAHQ Cin Coco Drin FacesHQ FFHQ Gumbel Imagenet_1024 Imagenet_16384 SFlckr Wikiart
Originally posted by @GucciFlipFlops1917 in https://github.com/nerdyrodent/VQGAN-CLIP/issues/106#issuecomment-1003419726