{"action":"created","issue":{"url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/38","repository_url":"https://api.github.com/repos/yjxiong/temporal-segment-networks","labels_url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/38/comments","events_url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/38/events","html_url":"https://github.com/yjxiong/temporal-segment-networks/issues/38","id":195969430,"number":38,"title":"Low training accuracy and Errors when test videos ","user":{"login":"Xiao-G1023","id":8158161,"avatar_url":"https://avatars.githubusercontent.com/u/8158161?v=3","gravatar_id":"","url":"https://api.github.com/users/Xiao-G1023","html_url":"https://github.com/Xiao-G1023","followers_url":"https://api.github.com/users/Xiao-G1023/followers","following_url":"https://api.github.com/users/Xiao-G1023/following{/other_user}","gists_url":"https://api.github.com/users/Xiao-G1023/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiao-G1023/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiao-G1023/subscriptions","organizations_url":"https://api.github.com/users/Xiao-G1023/orgs","repos_url":"https://api.github.com/users/Xiao-G1023/repos","events_url":"https://api.github.com/users/Xiao-G1023/events{/privacy}","received_events_url":"https://api.github.com/users/Xiao-G1023/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-16T02:51:29Z","updated_at":"2016-12-16T06:26:30Z","closed_at":null,"body":"Hi, Mr. Xiong!\r\n1. Now I can train the TSN on the dataset hmdb51_split_1_rgb with the default parameters using `bash scripts/train_tsn.sh ucf101 rgb` . After 2500 iteration, the train net loss = 0.17426, the test accuracy = 0.530679 and test loss = 2.30292. \r\n### Which parameters may affect this test accuracy, i.e., how could I get a similar accuracy as your work?\r\n2. I met some problems when I test the TSN Network. As the file Readme, I input the code\r\n`python tools/eval_net.py hmdb51 1 rgb /raid/Public/zhoup_DS/HMDB51/TSN_hmdb51_frames/  models/hmdb51/tsn_bn_inception_rgb_deploy.prototxt models/hmdb51_split_1_tsn_rgb_reference_bn_inception.caffemodel --num_worker 3 --save_scores ZhouExample/hmdb51_split1_test.txt`\r\n#### However, it goes wrong with the following output:\r\n....\r\n6400 videos parsed\r\n6600 videos parsed\r\nframe folder analysis done\r\n[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 19:12: Message type \"caffe.LayerParameter\" has no field named \"bn_param\".\r\nWARNING: Logging before InitGoogleLogging() is written to STDERR\r\nF1216 09:33:18.682155 27370 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/hmdb51/tsn_bn_inception_rgb_deploy.prototxt\r\n*** Check failure stack trace: ***\r\n[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 19:12: Message type \"caffe.LayerParameter\" has no field named \"bn_param\".\r\n......\r\n*** Check failure stack trace: ***\r\nWARNING: Logging before InitGoogleLogging() is written to STDERR\r\nF1216 09:35:24.345011 27464 common.cpp:169] Check failed: error == cudaSuccess (10 vs. 0)  invalid device ordinal\r\n....\r\n\r\n##### When I check the cuda using `TSN_master/lib/caffe-action/build/install/bin$ ldd caffe | grep cuda` , it shows like \r\nlibcudart.so.7.5 => /usr/local/cuda/lib64/libcudart.so.7.5 (0x00007f387598e000)\r\nlibcurand.so.7.5 => /usr/local/cuda/lib64/libcurand.so.7.5 (0x00007f3872125000)\r\nlibcublas.so.7.5 => /usr/local/cuda/lib64/libcublas.so.7.5 (0x00007f3870846000)\r\nlibcudnn.so.5 => /usr/local/cuda/lib64/libcudnn.so.5 (0x00007f386ccfb000)\r\n\r\n### Have you met the errors? Could you give me some advice about that? \r\nThank you and looking for your reply. Best wishes!\r\n"},"comment":{"url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/comments/267526522","html_url":"https://github.com/yjxiong/temporal-segment-networks/issues/38#issuecomment-267526522","issue_url":"https://api.github.com/repos/yjxiong/temporal-segment-networks/issues/38","id":267526522,"user":{"login":"Xiao-G1023","id":8158161,"avatar_url":"https://avatars.githubusercontent.com/u/8158161?v=3","gravatar_id":"","url":"https://api.github.com/users/Xiao-G1023","html_url":"https://github.com/Xiao-G1023","followers_url":"https://api.github.com/users/Xiao-G1023/followers","following_url":"https://api.github.com/users/Xiao-G1023/following{/other_user}","gists_url":"https://api.github.com/users/Xiao-G1023/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiao-G1023/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiao-G1023/subscriptions","organizations_url":"https://api.github.com/users/Xiao-G1023/orgs","repos_url":"https://api.github.com/users/Xiao-G1023/repos","events_url":"https://api.github.com/users/Xiao-G1023/events{/privacy}","received_events_url":"https://api.github.com/users/Xiao-G1023/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T06:26:30Z","updated_at":"2016-12-16T06:26:30Z","body":"According to your advice, in the file ~/.bashrc , I add\r\n `PYTHONPATH= /home/zhoupeipei/action-code/2016ECCV_TSN_master/lib/caffe-action/python:$PYTHONPATH` and\r\n `LD_LIBRARY_PATH=/home/zhoupeipei/action-code/2016ECCV_TSN_master/lib/caffe-action/build/lib:$LD_LIBRARY_PATH`.\r\n#### After I rebuild the `caffe-action` based on `build_all.sh`, the errors disappear when I test videos again! \r\nThanks for your patience! It is very kind of you!"}}
{"actor":{"display_login":"Xiao-G1023"}}