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

generate story error #27

Open
itsss opened this issue Sep 24, 2017 · 1 comment
Open

generate story error #27

itsss opened this issue Sep 24, 2017 · 1 comment

Comments

@itsss
Copy link

itsss commented Sep 24, 2017

/ais/gobi3/u/rkiros/storyteller/romance.npz
Loading skip-thoughts...
Traceback (most recent call last):
File "", line 1, in
File "generate.py", line 86, in load_all
config.paths['sktables'])
File "skipthoughts.py", line 29, in load_model
with open('%s.pkl'%path_to_umodel, 'rb') as f:
IOError: [Errno 2] No such file or directory: '/u/rkiros/public_html/models/uni_skip.npz.pkl'

import generate
z = generate.load_all()
generate.story(z, './images/ex1.jpg')

What should i do???

@itsss itsss changed the title generate.py error generate story error Sep 24, 2017
@YknZhu
Copy link
Collaborator

YknZhu commented Sep 24, 2017

The error message indicates you haven't set the model path in config.py. Please download the models as described in README, and update the model path accordingly.

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