NVlabs / stylegan2-ada-pytorch

StyleGAN2-ADA - Official PyTorch implementation
https://arxiv.org/abs/2006.06676
Other
4k stars 1.15k forks source link

The image quality generated using the official website's pkl file is poor #287

Open 292533846 opened 11 months ago

292533846 commented 11 months ago

Describe the bug After configuring the environment, using the test instructions in generate.py can compile successfully, but the effect of generating images is poor.

To Reproduce Steps to reproduce the behavior:

  1. in pycharm terminal test python generate.py --outdir=out --trunc=1 --seeds=85,265,297,849 --network=https://nvlabs-fi-cdn.nvidia.com/stylegan2-ada-pytorch/pretrained/metfaces.pkl
  2. See error as the following img image

Desktop (please complete the following information):

292533846 commented 11 months ago

@nurpax May I ask if you know what caused this? I have been searching in the community for a long time and there have been no similar problems. Thank you very much

Great-Bucket commented 11 months ago

Hi, one small thing I noticed from your post is that your command is generating --seeds=85,265,297,849. But the images that you are showing in your 2. are numbered sequentially from seed 29 to 50. Given that the image seeds and count are not consistent with the '--seeds=85,265,297,849' parameter - perhaps you are looking in the wrong folder for the results. That doesn't explain why the images you showed look like noise, but I thought I'd point it out since sometimes the obvious issue is the one I overlook. Best of luck!