{"action":"created","issue":{"url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/3","repository_url":"https://api.github.com/repos/alexgkendall/caffe-posenet","labels_url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/3/comments","events_url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/3/events","html_url":"https://github.com/alexgkendall/caffe-posenet/issues/3","id":136236742,"number":3,"title":"Test failed for the reason that \"Check failed: slice_axis_ < num_axes (1 vs. 1) slice_dim out of range.\"","user":{"login":"liruihao","id":11754743,"avatar_url":"https://avatars.githubusercontent.com/u/11754743?v=3","gravatar_id":"","url":"https://api.github.com/users/liruihao","html_url":"https://github.com/liruihao","followers_url":"https://api.github.com/users/liruihao/followers","following_url":"https://api.github.com/users/liruihao/following{/other_user}","gists_url":"https://api.github.com/users/liruihao/gists{/gist_id}","starred_url":"https://api.github.com/users/liruihao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liruihao/subscriptions","organizations_url":"https://api.github.com/users/liruihao/orgs","repos_url":"https://api.github.com/users/liruihao/repos","events_url":"https://api.github.com/users/liruihao/events{/privacy}","received_events_url":"https://api.github.com/users/liruihao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-25T00:41:38Z","updated_at":"2016-02-25T09:09:40Z","closed_at":null,"body":"Hi, I am Ruihao, I try to test the posenet, but encounter the problem as below. \r\n\r\nI run \"python ./posenet/scripts/test_posenet.py --model posenet/models/train_posenet.prototxt --weights posenet/models/weights_kingscollege.caffemodel --iter 346\" as introduced in your readme.txt.\r\n\r\nI0225 00:34:30.682186 13179 layer_factory.hpp:77] Creating layer data\r\nI0225 00:34:30.682914 13179 net.cpp:106] Creating Layer data\r\nI0225 00:34:30.682925 13179 net.cpp:411] data -> data\r\nI0225 00:34:30.682956 13179 net.cpp:411] data -> label\r\nI0225 00:34:30.682967 13179 data_transformer.cpp:25] Loading mean file from: posenet/kings_mean.binaryproto\r\nI0225 00:34:30.683506 13182 db_lmdb.cpp:38] Opened lmdb posenet/posenet_kings_test_lmdb/\r\nI0225 00:34:30.690235 13179 data_layer.cpp:41] output data size: 1,3,224,224\r\nI0225 00:34:30.691720 13179 net.cpp:150] Setting up data\r\nI0225 00:34:30.691746 13179 net.cpp:157] Top shape: 1 3 224 224 (150528)\r\nI0225 00:34:30.691752 13179 net.cpp:157] Top shape: 1 (1)\r\nI0225 00:34:30.691756 13179 net.cpp:165] Memory required for data: 602116\r\nI0225 00:34:30.691762 13179 layer_factory.hpp:77] Creating layer slice_label\r\nI0225 00:34:30.691776 13179 net.cpp:106] Creating Layer slice_label\r\nI0225 00:34:30.691781 13179 net.cpp:454] slice_label <- label\r\nI0225 00:34:30.691788 13179 net.cpp:411] slice_label -> label_xyz\r\nI0225 00:34:30.691797 13179 net.cpp:411] slice_label -> label_wpqr\r\nF0225 00:34:30.691809 13179 slice_layer.cpp:33] Check failed: slice_axis_ < num_axes (1 vs. 1) slice_dim out of range.\r\n*** Check failure stack trace: ***\r\nAborted (core dumped)\r\n\r\n\r\nCould you tell me what should I do with it ? Thank you very much!\r\n\r\nKind regards"},"comment":{"url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/comments/188678994","html_url":"https://github.com/alexgkendall/caffe-posenet/issues/3#issuecomment-188678994","issue_url":"https://api.github.com/repos/alexgkendall/caffe-posenet/issues/3","id":188678994,"user":{"login":"alexgkendall","id":8551989,"avatar_url":"https://avatars.githubusercontent.com/u/8551989?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgkendall","html_url":"https://github.com/alexgkendall","followers_url":"https://api.github.com/users/alexgkendall/followers","following_url":"https://api.github.com/users/alexgkendall/following{/other_user}","gists_url":"https://api.github.com/users/alexgkendall/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgkendall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgkendall/subscriptions","organizations_url":"https://api.github.com/users/alexgkendall/orgs","repos_url":"https://api.github.com/users/alexgkendall/repos","events_url":"https://api.github.com/users/alexgkendall/events{/privacy}","received_events_url":"https://api.github.com/users/alexgkendall/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T09:09:40Z","updated_at":"2016-02-25T09:09:40Z","body":"Okay, the other thing that could be going wrong is that the python test script is using the standard version of Caffe (if you have this compiled on your machine). This would cause it to not correctly load the pose label. Have you modified line 13 of ```test_posenet.py``` to the caffe-posenet directory? "}}