{"action":"created","issue":{"url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/32","repository_url":"https://api.github.com/repos/mahyarnajibi/SNIPER","labels_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/32/comments","events_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/32/events","html_url":"https://github.com/mahyarnajibi/SNIPER/issues/32","id":338004267,"node_id":"MDU6SXNzdWUzMzgwMDQyNjc=","number":32,"title":"Index out of bound error","user":{"login":"caiPactera","id":39584263,"node_id":"MDQ6VXNlcjM5NTg0MjYz","avatar_url":"https://avatars3.githubusercontent.com/u/39584263?v=4","gravatar_id":"","url":"https://api.github.com/users/caiPactera","html_url":"https://github.com/caiPactera","followers_url":"https://api.github.com/users/caiPactera/followers","following_url":"https://api.github.com/users/caiPactera/following{/other_user}","gists_url":"https://api.github.com/users/caiPactera/gists{/gist_id}","starred_url":"https://api.github.com/users/caiPactera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiPactera/subscriptions","organizations_url":"https://api.github.com/users/caiPactera/orgs","repos_url":"https://api.github.com/users/caiPactera/repos","events_url":"https://api.github.com/users/caiPactera/events{/privacy}","received_events_url":"https://api.github.com/users/caiPactera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T18:12:09Z","updated_at":"2018-07-05T07:42:10Z","closed_at":null,"author_association":"NONE","body":"Hi, I got an index out of bound error when training my own model.\r\n\r\n> loading annotations into memory...\r\nDone (t=0.35s)\r\ncreating index...\r\nindex created!\r\nnum_images 11500\r\nCOCO_train2014 gt roidb loaded from ./data/cache/COCO_train2014_gt_roidb.pkl\r\nappending ground truth annotations\r\nReading cached proposals after ***NMS**** from data/proposals/COCO_train2014_rpn_after_nms.pkl\r\nDone!\r\nappend flipped images to roidb\r\nfiltered 7928 roidb entries: 23000 -> 15072\r\nadd bounding box regression targets\r\nbbox target means:\r\n[[0. 0. 0. 0.]\r\n [0. 0. 0. 0.]]\r\n[0. 0. 0. 0.]\r\nbbox target stdevs:\r\n[[0.1 0.1 0.2 0.2]\r\n [0.1 0.1 0.2 0.2]]\r\n[0.1 0.1 0.2 0.2]\r\nCreating Iterator with 15072 Images\r\nTotal number of extracted chips: 72201\r\nDone!\r\nThe Iterator has 72201 samples!\r\nInitializing the model...\r\nOptimizer params: {'wd': 0.01, 'lr_scheduler': <train_utils.lr_scheduler.WarmupMultiBatchScheduler object at 0x7fee7fce4610>, 'multi_precision': True, 'learning_rate': 0.00015, 'rescale_grad': 1.0, 'clip_gradient': None, 'momentum': 0.9}\r\naaa\r\n[00:32:22] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:107: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)\r\nException in thread Thread-8:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"lib/iterators/PrefetchingIter.py\", line 61, in prefetch_func\r\n    self.next_batch[i] = self.iters[i].next()\r\n  File \"lib/iterators/MNIteratorBase.py\", line 90, in next\r\n    if self.iter_next():\r\n  File \"lib/iterators/MNIteratorBase.py\", line 87, in iter_next\r\n    return self.get_batch()\r\n  File \"lib/iterators/MNIteratorE2E.py\", line 99, in get_batch\r\n    self.batch = self._get_batch()\r\n  File \"lib/iterators/MNIteratorE2E.py\", line 136, in _get_batch\r\n    nids = processed_roidb[i]['props_in_chips'][cropid]\r\nIndexError: index 12 is out of bounds for axis 0 with size 12\r\n\r\nHow can I fix this?"},"comment":{"url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/comments/402633875","html_url":"https://github.com/mahyarnajibi/SNIPER/issues/32#issuecomment-402633875","issue_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/32","id":402633875,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjYzMzg3NQ==","user":{"login":"kangliping","id":20902038,"node_id":"MDQ6VXNlcjIwOTAyMDM4","avatar_url":"https://avatars3.githubusercontent.com/u/20902038?v=4","gravatar_id":"","url":"https://api.github.com/users/kangliping","html_url":"https://github.com/kangliping","followers_url":"https://api.github.com/users/kangliping/followers","following_url":"https://api.github.com/users/kangliping/following{/other_user}","gists_url":"https://api.github.com/users/kangliping/gists{/gist_id}","starred_url":"https://api.github.com/users/kangliping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangliping/subscriptions","organizations_url":"https://api.github.com/users/kangliping/orgs","repos_url":"https://api.github.com/users/kangliping/repos","events_url":"https://api.github.com/users/kangliping/events{/privacy}","received_events_url":"https://api.github.com/users/kangliping/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T07:42:10Z","updated_at":"2018-07-05T07:42:10Z","author_association":"NONE","body":"@caiPactera @mahyarnajibi I meet the same problem, can you solved it ?"}}
{"actor":{"display_login":"kangliping"}}