wonjongg / StyleCariGAN

[SIGGRAPH 2021] Official implementation of "StyleCariGAN: Caricature Generation via StyleGAN Feature Map Modulation"
GNU Affero General Public License v3.0
295 stars 53 forks source link

Error occurs when testing on my aligned face images!!! #18

Closed neverbiasu closed 5 months ago

neverbiasu commented 10 months ago

I meet this mistake when I try your test.py by our images. image I guess if it because we don't have the args.image_name+'.pt' in our images folder. and it occurs image by the way, our environment is suitable for this project. running on 2080ti + cuda10.1 + torch 1.5.1

Need I train a model myself or where could I get the pt for each images in my folder.

wonjongg commented 8 months ago

To analyze the first error, could you share your directory structure? and please verify that your image files are correctly visible when using an image viewer.

For the second issue, if you set the flag "--invert_images", then you can obtain {filename}.pt automatically. Please set the flag if you don't have *.pt files. Also, our current version doesn't support 1024x1024 resolution images. Please don't set the "--size" to 1024.