{"action":"opened","issue":{"url":"https://api.github.com/repos/thtrieu/darkflow/issues/372","repository_url":"https://api.github.com/repos/thtrieu/darkflow","labels_url":"https://api.github.com/repos/thtrieu/darkflow/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/thtrieu/darkflow/issues/372/comments","events_url":"https://api.github.com/repos/thtrieu/darkflow/issues/372/events","html_url":"https://github.com/thtrieu/darkflow/issues/372","id":249321970,"number":372,"title":"AssertionError: Over-read bin/yolo2-voc.weights","user":{"login":"tankienleong","id":25731934,"avatar_url":"https://avatars2.githubusercontent.com/u/25731934?v=4","gravatar_id":"","url":"https://api.github.com/users/tankienleong","html_url":"https://github.com/tankienleong","followers_url":"https://api.github.com/users/tankienleong/followers","following_url":"https://api.github.com/users/tankienleong/following{/other_user}","gists_url":"https://api.github.com/users/tankienleong/gists{/gist_id}","starred_url":"https://api.github.com/users/tankienleong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tankienleong/subscriptions","organizations_url":"https://api.github.com/users/tankienleong/orgs","repos_url":"https://api.github.com/users/tankienleong/repos","events_url":"https://api.github.com/users/tankienleong/events{/privacy}","received_events_url":"https://api.github.com/users/tankienleong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-10T11:55:01Z","updated_at":"2017-08-10T11:55:01Z","closed_at":null,"body":"I tried to run the yolo-voc.cfg with the weights file downloaded from https://pjreddie.com/darknet/yolo/ but it shows the following error:\r\n\r\nubuntu@ubuntu-S2600CW:~/Desktop/virtualroiflow/darkflow$ ./flow --model cfg/yolo2-voc.cfg --load bin/yolo2-voc.weights --train --dataset \"VOCdevkit/VOC2007/JPEGImages/\" --annotation \"VOCdevkit/VOC2007/Annotations/\" --gpu 1.0\r\n\r\nParsing ./cfg/yolo2-voc.cfg\r\nParsing cfg/yolo2-voc.cfg\r\nLoading bin/yolo2-voc.weights ...\r\nTraceback (most recent call last):\r\n  File \"./flow\", line 6, in <module>\r\n    cliHandler(sys.argv)\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/cli.py\", line 24, in cliHandler\r\n    tfnet = TFNet(FLAGS)\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/net/build.py\", line 58, in __init__\r\n    darknet = Darknet(FLAGS) # Initialize darknet: parse cfg file, load weight\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/dark/darknet.py\", line 27, in __init__\r\n    self.load_weights()\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/dark/darknet.py\", line 85, in load_weights\r\n    wgts_loader = loader.create_loader(*args)  \r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/utils/loader.py\", line 106, in create_loader\r\n    return load_type(path, cfg)\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/utils/loader.py\", line 20, in __init__\r\n    self.load(*args)\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/utils/loader.py\", line 70, in load\r\n    val = walker.walk(new.wsize[par])\r\n  File \"/home/ubuntu/Desktop/virtualroiflow/darkflow/darkflow/utils/loader.py\", line 128, in walk\r\n    'Over-read {}'.format(self.path)\r\nAssertionError: Over-read bin/yolo2-voc.weights "}}
{"actor":{"display_login":"tankienleong"}}