The COCO dataset or COCO API is not exist, use the default mapping of class index and real category name on COCO17.
W0518 09:53:17.861596 551 device_context.cc:237] Please NOTE: device: 0, CUDA Capability: 70, Driver API Version: 9.2, Runtime API Version: 9.0
W0518 09:53:17.865481 551 device_context.cc:245] device: 0, cuDNN Version: 7.3.
Traceback (most recent call last):
File "freeze_infer.py", line 85, in
freeze_infer()
File "freeze_infer.py", line 75, in freeze_infer
segms_out = segm_results(nmsed_out, masks_v, im_info)
File "/home/aistudio/mask-rcnn/eval_helper.py", line 268, in segm_results
boxes_n = box_utils.expand_boxes(boxes_n, scale)
File "/home/aistudio/mask-rcnn/box_utils.py", line 130, in expand_boxes
w_half = (boxes[:, 2] - boxes[:, 0]) * .5
IndexError: index 2 is out of bounds for axis 1 with size 0
模型测试出现以上问题
这个错误没有指向paddle,是基本的语法问题了,你可以按照回溯检查一下输入输出数据
是不是没读入数据呀。报错是维度索引越界了。
谢谢,的确是这样
嗯嗯,感谢