RetinaNet_Tensorflow_Rotation icon indicating copy to clipboard operation
RetinaNet_Tensorflow_Rotation copied to clipboard

erro with nms_rotate_gpu

Open ZOUYIyi opened this issue 6 years ago • 2 comments

我发现当图像中物体较多的时候,用inference.py预测运行时间较长,发现代码中的nms是用cpu做的,但是当修改为GPU时,代码运行报错: File "rotate_polygon_nms.pyx", line 22, in rotate_polygon_nms.rotate_gpu_nms

IndexError: Out of bounds on buffer access (axis 0)

我修改的地方是libs/detection_operations/proposal_opr_.py Line60 use_gpu=True

请问这个报错是什么原因导致的呢?

ZOUYIyi avatar Dec 24 '19 05:12 ZOUYIyi

@ZOUYIyi 你好,请问你解决了吗?我也是有这种错误

zhouzhubin avatar Jan 06 '20 07:01 zhouzhubin

可能是输入的box个数为0导致的

yangxue0827 avatar Jan 24 '20 04:01 yangxue0827