Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model_cycle_fber.npz No such file or directory #3

Open
Zingcekhusta opened this issue Nov 1, 2017 · 1 comment
Open

model_cycle_fber.npz No such file or directory #3

Zingcekhusta opened this issue Nov 1, 2017 · 1 comment

Comments

@Zingcekhusta
Copy link

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'

@tjwei
Copy link
Owner

tjwei commented Nov 1, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants