/pytorch/aten/src/ATen/native/cuda/IndexKernel.cu:84

Hi,
I currently tried to run yolov5 + deepsort.
When I trained yolov5 by using MOT16 datasets, I got this error.
Looks like something happened when evaluating validation data.
I can’t figured out what happened. (I’ve checked that the bboxes are normalized to 0,1)
Could you give me some suggestions?
Thanks a lot!


It seems an indexing operation is creating an out of bounds error.
You could try to run the code on the CPU, which would error directly in the offending line of code or rerun your script with CUDA_LAUNCH_BLOCKING=1 python script.pt args, which should make sure the stack trace points to the right line of code where the indexing is failing.