load_model() takes 0 positional arguments but 2 were given anyone help please
debnoob opened this issue · 0 comments
debnoob commented
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