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

load_model() takes 0 positional arguments but 2 were given anyone help please #47

Open
debnoob opened this issue Aug 30, 2021 · 0 comments

Comments

@debnoob
Copy link

debnoob commented Aug 30, 2021

import generate
...: z = generate.load_all()
...: generate.story(z, './images/ex1.jpg')
...:
/ais/gobi3/u/rkiros/storyteller/romance.npz
Loading skip-thoughts...

TypeError Traceback (most recent call last)
in
1 import generate
----> 2 z = generate.load_all()
3 generate.story(z, './images/ex1.jpg')

~/neural-storyteller/generate.py in load_all()
84 # Skip-thoughts
85 print ('Loading skip-thoughts...')
---> 86 stv = skipthoughts.load_model(config.paths['skmodels'],
87 config.paths['sktables'])
88

TypeError: load_model() takes 0 positional arguments but 2 were given
anyone help please

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

1 participant