{"action":"opened","issue":{"url":"https://api.github.com/repos/ruotianluo/pytorch-faster-rcnn/issues/9","repository_url":"https://api.github.com/repos/ruotianluo/pytorch-faster-rcnn","labels_url":"https://api.github.com/repos/ruotianluo/pytorch-faster-rcnn/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ruotianluo/pytorch-faster-rcnn/issues/9/comments","events_url":"https://api.github.com/repos/ruotianluo/pytorch-faster-rcnn/issues/9/events","html_url":"https://github.com/ruotianluo/pytorch-faster-rcnn/issues/9","id":258168194,"number":9,"title":"Evaluation Error with Annotation Path","user":{"login":"lwoiceshyn","id":12131915,"avatar_url":"https://avatars1.githubusercontent.com/u/12131915?v=4","gravatar_id":"","url":"https://api.github.com/users/lwoiceshyn","html_url":"https://github.com/lwoiceshyn","followers_url":"https://api.github.com/users/lwoiceshyn/followers","following_url":"https://api.github.com/users/lwoiceshyn/following{/other_user}","gists_url":"https://api.github.com/users/lwoiceshyn/gists{/gist_id}","starred_url":"https://api.github.com/users/lwoiceshyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwoiceshyn/subscriptions","organizations_url":"https://api.github.com/users/lwoiceshyn/orgs","repos_url":"https://api.github.com/users/lwoiceshyn/repos","events_url":"https://api.github.com/users/lwoiceshyn/events{/privacy}","received_events_url":"https://api.github.com/users/lwoiceshyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-15T21:20:59Z","updated_at":"2017-09-15T21:20:59Z","closed_at":null,"author_association":"NONE","body":"I'm assuming this is just another Python3-induced error, but trying to debug and fix is challenging with such a big project, so any ideas would help a lot.\r\n\r\nI'm not sure exactly how it's intended to work, but it seems as though for some reason it saved an empty pickle file called test.txt_annots.pkl in the folder /home/leow/pytorch-faster-rcnn/data/VOCdevkit2007/VOC2007/ImageSets/Main/ (I printed this path out in the output below), and when it tries to load this it errors. \r\n\r\nAny ideas of where this could have went wrong?\r\n\r\n`Evaluating detections\r\nWriting aeroplane VOC results file\r\nWriting bicycle VOC results file\r\nWriting bird VOC results file\r\nWriting boat VOC results file\r\nWriting bottle VOC results file\r\nWriting bus VOC results file\r\nWriting car VOC results file\r\nWriting cat VOC results file\r\nWriting chair VOC results file\r\nWriting cow VOC results file\r\nWriting diningtable VOC results file\r\nWriting dog VOC results file\r\nWriting horse VOC results file\r\nWriting motorbike VOC results file\r\nWriting person VOC results file\r\nWriting pottedplant VOC results file\r\nWriting sheep VOC results file\r\nWriting sofa VOC results file\r\nWriting train VOC results file\r\nWriting tvmonitor VOC results file\r\nVOC07 metric? Yes\r\n**/home/leow/pytorch-faster-rcnn/data/VOCdevkit2007/VOC2007/ImageSets/Main/test.txt_annots.pkl**\r\nTraceback (most recent call last):\r\n  File \"/home/leow/pytorch-faster-rcnn/tools/../lib/datasets/voc_eval.py\", line 128, in voc_eval\r\n    recs = pickle.load(f)\r\nEOFError: Ran out of input\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"./tools/test_net.py\", line 117, in <module>\r\n    test_net(net, imdb, filename, max_per_image=args.max_per_image)\r\n  File \"/home/leow/pytorch-faster-rcnn/tools/../lib/model/test.py\", line 194, in test_net\r\n    imdb.evaluate_detections(all_boxes, output_dir)\r\n  File \"/home/leow/pytorch-faster-rcnn/tools/../lib/datasets/pascal_voc.py\", line 280, in evaluate_detections\r\n    self._do_python_eval(output_dir)\r\n  File \"/home/leow/pytorch-faster-rcnn/tools/../lib/datasets/pascal_voc.py\", line 243, in _do_python_eval\r\n    use_07_metric=use_07_metric)\r\n  File \"/home/leow/pytorch-faster-rcnn/tools/../lib/datasets/voc_eval.py\", line 130, in voc_eval\r\n    recs = pickle.load(f, encoding='bytes')\r\nEOFError: Ran out of input\r\n`"}}
{"actor":{"display_login":"lwoiceshyn"}}