hitfeelee / Yolo3D

perform 3D object detection base on Yolov5 and 3DDeepbox
MIT License
32 stars 6 forks source link

Index error for ratio_pad #5

Open JeffXu1 opened 3 years ago

JeffXu1 commented 3 years ago

Screenshot from 2021-07-09 10-56-10 Hi, after training the code, it will jump to test.py, then an error will occur when calculate the gain and pad value in utils.py file. The detail error please refer to the picture. It indicates that variable ratio_pad[0][0] is a scalar, and I also check the value of ratio_pad[0][0], it is true. I wonder if I make some mistakes to result in this error. Please help check it. Thanks!