nv-tlabs / semanticGAN_code

Official repo for SemanticGAN https://nv-tlabs.github.io/semanticGAN/
MIT License
180 stars 34 forks source link

Dataset organization issues #31

Closed Sinjini15 closed 2 years ago

Sinjini15 commented 2 years ago

When trying to run the prepare_inception.py script, I am getting the following error:

OSError: ./semanticGAN_code/CelebAMask-HQ/CelebA-HQ-img/unlabel_data/unlabel_list.txt not found.

It seems like the unlabel_data directory does not exist within the CelebA Mask dataset. How can I find the missing file and organize the directory?

lidaiqing commented 2 years ago

hi @Sinjini15 , prepare_inception.py is trying to calculate FID stats on real images and store it locally. You can generate the list of image in unlabel_list.txt or modify data loader on how to load the images.