评估时的报错
llllzz1997 opened this issue · 0 comments
运行 get_map.py之后产生报错
Get predict result.
0%| | 0/4952 [00:00<?, ?it/s]
0%| | 0/4952 [00:00<?, ?it/s]
Traceback (most recent call last):
File "get_map.py", line 76, in
yolo.get_map_txt(image_id, image, class_names, map_out_path)
File "/root/yolov4-tiny-pytorch-master/yolotest.py", line 272, in get_map_txt
outputs = self.bbox_util.decode_box(outputs)
File "/root/yolov4-tiny-pytorch-master/utils/utils_bbox.py", line 28, in decode_box
batch_size = input.size(0)
AttributeError: 'list' object has no attribute 'size'
这个问题怎么样也没法解决 请求大神指点啊