Open quintendewilde opened 7 years ago
The skmodels
and sktables
keys need to refer to model directories, which you download from skipthoughts repo (see README or just go to @ryankiros skipthoughts repo and run the snippet of wget
s).
e.g. a possible config.py
for those two keys:
# Skip-thoughts
paths['skmodels'] = '../models/'
paths['sktables'] = '../models/'
The wget
snippet can be found here.
Pasting here for quick use:
wget http://www.cs.toronto.edu/~rkiros/models/dictionary.txt
wget http://www.cs.toronto.edu/~rkiros/models/utable.npy
wget http://www.cs.toronto.edu/~rkiros/models/btable.npy
wget http://www.cs.toronto.edu/~rkiros/models/uni_skip.npz
wget http://www.cs.toronto.edu/~rkiros/models/uni_skip.npz.pkl
wget http://www.cs.toronto.edu/~rkiros/models/bi_skip.npz
wget http://www.cs.toronto.edu/~rkiros/models/bi_skip.npz.pkl
You'll want to do this under a new directory, e.g. I did mine in ../models/
.
Could you tell me what I have to put here?
paths['pycaffe'] = '/u/yukun/Projects/caffe-run/python'
I'm trying to run this on a docker theano/lasagna image
how to install pycaffe exactly could any one please tell me
paths['pycaffe'] = '/u/yukun/Projects/caffe-run/python'
In this repo and in Source Ai_Writer both config.py have
I've adjusted all other entrees in the file as well as in the skiptoughts.py.
But here I don't know to what type of file or model to refer to? And were to download these?
I think if I have these I finally will be able to make it work.
ADDENDA
When I run the script example, this is the error received.
And this is the skipthoughts.py
And this is the config.py
I'm seeing an old entry and the one I putted in. I've deleted .pyc and retried, still the same output.