BigGAN-PyTorch icon indicating copy to clipboard operation
BigGAN-PyTorch copied to clipboard

Missing C10_inception_moments.npz

Open ShuangjunLiu opened this issue 4 years ago • 4 comments

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.

ShuangjunLiu avatar May 08 '20 08:05 ShuangjunLiu

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

KeluYao avatar May 12 '20 03:05 KeluYao

噢,原来这样, 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

ShuangjunLiu avatar May 12 '20 04:05 ShuangjunLiu

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

entrpn avatar Jun 26 '20 05:06 entrpn

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

nnajeh avatar Apr 06 '21 03:04 nnajeh