lingtengqiu / Yolo_Nano

Pytorch implementation of yolo_Nano for pedestrian detection
140 stars 15 forks source link

Index xxx is out of bounds for dimension 4 with size 1 #13

Open Yurushia1998 opened 3 years ago

Yurushia1998 commented 3 years ago

I try to follow the instruction after a lot of effort trying to debug. I only download val2014 and use as both training and testing since train2014 is quite big, then run bash train.sh, there is no change in code, and this is the result: File "/Users/macbookpro/Movies/Mac Video Library/New_model/Yolo_Nano/utils/utils.py", line 371, in build_targets tcls[b, best_n, gj, gi, target_labels] = 1 IndexError: index 69 is out of bounds for dimension 4 with size 1

Ảnh chụp Màn hình 2021-02-27 lúc 10 50 19

Can anyone help me solve this issue? Why do I meet this error? The only thing I change is use val2014 as both train and test data

LSKhappychild commented 3 years ago

I also have the same issue...Anyone has overcome this one?