Open xudh1991 opened 5 years ago
i got the same problem when i train my own model in VOCdataset ,and when i test my model this happened
I've given up. The authorities are no longer upholding it.
i got the same problem when i train my own model in own data,anyone has idea to do ?
1 1080ti pytorch1.0 run demo.py
pos:(-inf,-1624725.8,nan,-1624725.8), ids:hair_drier, score:1.000 pos:(-inf,-inf,nan,nan), ids:hair_drier, score:1.000 Traceback (most recent call last): File "/home/xdh/YOLOvsSSD/M2Det-master/demo.py", line 150, in
im2show = draw_detection(image, boxes, scores, cls_inds, fps)
File "/home/xdh/YOLOvsSSD/M2Det-master/demo.py", line 70, in drawdetection
box = [int() for in box]
File "/home/xdh/YOLOvsSSD/M2Det-master/demo.py", line 70, in
box = [int( ) for _ in box]
OverflowError: cannot convert float infinity to integer