Closed achag-spec closed 8 years ago
when I am trying to calculate CIDEr scores with this command
th train.lua -input_h5 coco/cocotalk.h5 -input_json coco/cocotalk.json -start_from model_id.t7 -language_eval 1
Traceback (most recent call last):
File "myeval.py", line 6, in
@AdityaChaganti have any solution for this ???
Has anyone run into this when training with language_eval set to 1 for computing CIDEr scores?
Traceback (most recent call last): File "myeval.py", line 6, in
from pycocotools.coco import COCO
File "/var/lib/neuraldata/neuraltalk2/coco-caption/pycocotools/coco.py", line 54, in
from skimage.draw import polygon
ImportError: No module named skimage.draw
/home/adityac/torch/install/bin/luajit: ./misc/utils.lua:17: attempt to index local 'file' (a nil value)
stack traceback:
./misc/utils.lua:17: in function 'read_json'
./misc/net_utils.lua:202: in function 'language_eval'
train.lua:218: in function 'eval_split'
train.lua:305: in main chunk
[C]: in function 'dofile'
...tyac/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x004064f0
Then I try to install skimage:
$ pip install skimage Collecting skimage Could not find a version that satisfies the requirement skimage (from versions: ) No matching distribution found for skimage