GANotebooks icon indicating copy to clipboard operation
GANotebooks copied to clipboard

model_cycle_fber.npz No such file or directory

Open Zingcekhusta opened this issue 7 years ago • 1 comments

Hi I have tried compiling the CycleGAN-lasagne-fber.ipynb file and in the end it complains about No such file or directory. here is the full information on the error.

/home/ubuntu/GANotebooks/CycleGAN-lasagne-fber.ipynb in () ----> 1 with np.load('model_cycle_fber.npz') as f: 2 param_values = [f['arr_%d' % i] for i in range(len(f.files))] 3 lasagne.layers.set_all_param_values([netDA, netDB, netGA, netGB], param_values)

/home/ubuntu/anaconda3/lib/python3.5/site-packages/numpy/lib/npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding) 368 own_fid = False 369 if isinstance(file, basestring): --> 370 fid = open(file, "rb") 371 own_fid = True 372 elif is_pathlib_path(file):

FileNotFoundError: [Errno 2] No such file or directory: 'model_cycle_fber.npz'

Zingcekhusta avatar Nov 01 '17 07:11 Zingcekhusta

The pretrained model is not included in the master branch. I uploaded the the npz file here: https://github.com/tjwei/GANotebooks/tree/pretrained

If you want to train the model, then the pretrained model is not needed, simply ignore that cell.

tjwei avatar Nov 01 '17 14:11 tjwei