ajbrock / BigGAN-PyTorch

The author's officially unofficial PyTorch BigGAN implementation.
MIT License
2.84k stars 470 forks source link

Missing C10_inception_moments.npz #63

Open ShuangjunLiu opened 4 years ago

ShuangjunLiu commented 4 years ago

Run script launch_cifar_ema.sh. Got error:

File "/scratch/liu.shu/codesPool/BigGAN-PyTorch/inception_utils.py", line 279, in prepare_inception_metrics data_mu = np.load(dataset+'_inception_moments.npz')['mu'] ... fid = open(os_fspath(file), "rb") FileNotFoundError: [Errno 2] No such file or directory: 'C10_inception_moments.npz'

Seems C10_inception_moments.npz file is missing.
Since cifar is downloaded, I assume this file supposed to be provided by this repo.

KeluYao commented 4 years ago

老哥,从prepare_data.sh 生成一下就好了

ShuangjunLiu commented 4 years ago

噢,原来这样, I think it is "optional" at first. :)

First, you may optionally prepare a pre-processed HDF5 version of your target dataset for faster I/O

entrpn commented 4 years ago

the hdf5 file creation is optional, but you have to calculate the inception moments.

nnajeh commented 3 years ago

@entrpn I cannot create the inception moments (.npz file) of my own dataset? any suggestion please?