pytorch_simple_CenterNet_45 icon indicating copy to clipboard operation
pytorch_simple_CenterNet_45 copied to clipboard

IndexError: index 100 is out of bounds for axis 0 with size 100

Open Shank2358 opened this issue 4 years ago • 2 comments

line 167, in getitem w_h_[k] = 1. * w, 1. * h IndexError: index 100 is out of bounds for axis 0 with size 100

Shank2358 avatar Sep 11 '20 11:09 Shank2358

Same issue when training on a custom dataset with one class.

GerardWalsh avatar Nov 27 '20 05:11 GerardWalsh

I was trying to use the pascal dataloader for training on a custom dataset with 1 class - have switched to coco dataset loader and have left self.max_objs = 128, and the error IndexError: index 100 is out of bounds for axis 0 with size 100 is no longer occuring.

GerardWalsh avatar Nov 27 '20 06:11 GerardWalsh