-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
language_eval error #201
Comments
how did you sloved it now? |
我在neuraltalk2里面运行这个命令,没有报错....但是在e2e-LSTM-SC里面,遇到了同样的错误...还不知道怎么解决.... |
说出来你可能不信,我增加迭代次数后就没有“if 'caption' in anns[0]: IndexError: list index out of range ”这个错误了 |
我现在有一个问题是,先训练完后CIDEr的分数只有0.67左右,然后怎么微调能达到A.K所说的0.9左右呢?能给我一点建议吗?期待... |
这个就不了解了,抱歉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When I run the following code, some error appears. Any solution?
th eval.lua -model checkpoint_v1/model_id1-501-1448236541.t7 -image_folder img -num_images -1 -language_eval 1
Error:
Loading and preparing results... Traceback (most recent call last): File "myeval.py", line 29, in <module> cocoRes = coco.loadRes(resFile) File "/home/mozhdeh/Documents/neuraltalk2-master/coco-caption/pycocotools/coco.py", line 280, in loadRes if 'caption' in anns[0]: IndexError: list index out of range /home/mozhdeh/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' eval.lua:167: in function 'eval_split' eval.lua:173: in main chunk [C]: in function 'dofile' ...hdeh/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x556c329a1570
The text was updated successfully, but these errors were encountered: