{"action":"created","issue":{"url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/23","repository_url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3","labels_url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/23/comments","events_url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/23/events","html_url":"https://github.com/Qidian213/deep_sort_yolov3/issues/23","id":342059467,"node_id":"MDU6SXNzdWUzNDIwNTk0Njc=","number":23,"title":"How to use Custom Trained Yolo v3 model","user":{"login":"sushant1727","id":9704017,"node_id":"MDQ6VXNlcjk3MDQwMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/9704017?v=4","gravatar_id":"","url":"https://api.github.com/users/sushant1727","html_url":"https://github.com/sushant1727","followers_url":"https://api.github.com/users/sushant1727/followers","following_url":"https://api.github.com/users/sushant1727/following{/other_user}","gists_url":"https://api.github.com/users/sushant1727/gists{/gist_id}","starred_url":"https://api.github.com/users/sushant1727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushant1727/subscriptions","organizations_url":"https://api.github.com/users/sushant1727/orgs","repos_url":"https://api.github.com/users/sushant1727/repos","events_url":"https://api.github.com/users/sushant1727/events{/privacy}","received_events_url":"https://api.github.com/users/sushant1727/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-17T19:48:19Z","updated_at":"2018-11-22T03:10:22Z","closed_at":"2018-11-07T01:31:14Z","author_association":"NONE","body":"Hello, first of all, thank you for your hard work.\r\n\r\nI've trained Yolo v3 model for the custom object(person, logo on the shirt) detection. After I convert it to h5 file. and run demo.py it throws error.\r\n\r\n> File \"/home/deep_sort_yolov3/yolo.py\", line 33, in __init__\r\n    self.boxes, self.scores, self.classes = self.generate()\r\n  File \"/home/deep_sort_yolov3/yolo.py\", line 72, in generate\r\n    score_threshold=self.score, iou_threshold=self.iou)\r\n  File \"/home/deep_sort_yolov3/yolo3/model.py\", line 170, in yolo_eval\r\n    anchors[anchor_mask[l]], num_classes, input_shape, image_shape)\r\nIndexError: index 6 is out of bounds for axis 0 with size 6\r\nException ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x7f36234d45f8>>\r\nTraceback (most recent call last):\r\n  File \"/home/.virtualenvs//lib/python3.5/site-packages/tensorflow/python/client/session.py\", line 707, in __del__\r\nTypeError: 'NoneType' object is not callable\r\n\r\nAfter going through issues I see yolo.py is using coc_classes.txt and yolo_anchors.txt files. I manually edited the coco_classes.txt and added the name of custom object(person, logo) I'm looking to detect.\r\n\r\nI am stuck at yolo_anchors.txt and voc_classes.txt file how can I edit them to get the detection +tracking."},"comment":{"url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/comments/440899752","html_url":"https://github.com/Qidian213/deep_sort_yolov3/issues/23#issuecomment-440899752","issue_url":"https://api.github.com/repos/Qidian213/deep_sort_yolov3/issues/23","id":440899752,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDg5OTc1Mg==","user":{"login":"songjunqianli","id":39178520,"node_id":"MDQ6VXNlcjM5MTc4NTIw","avatar_url":"https://avatars3.githubusercontent.com/u/39178520?v=4","gravatar_id":"","url":"https://api.github.com/users/songjunqianli","html_url":"https://github.com/songjunqianli","followers_url":"https://api.github.com/users/songjunqianli/followers","following_url":"https://api.github.com/users/songjunqianli/following{/other_user}","gists_url":"https://api.github.com/users/songjunqianli/gists{/gist_id}","starred_url":"https://api.github.com/users/songjunqianli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songjunqianli/subscriptions","organizations_url":"https://api.github.com/users/songjunqianli/orgs","repos_url":"https://api.github.com/users/songjunqianli/repos","events_url":"https://api.github.com/users/songjunqianli/events{/privacy}","received_events_url":"https://api.github.com/users/songjunqianli/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T03:10:22Z","updated_at":"2018-11-22T03:10:22Z","author_association":"NONE","body":"hello，@AngelababyTing  \r\nyou can use 'convert.py' to transfer your training data .weight to .h5"}}
{"actor":{"display_login":"songjunqianli"}}