shu mei pai

Traceback (most recent call last):
File “/home/pi/raspberry-pie4b-yolo-detection-master (1)/raspberry-pie4b-yolo-detection-master/camera.py”, line 42, in
outs = net.forward(getOutputsNames(net))
File “/home/pi/raspberry-pie4b-yolo-detection-master (1)/raspberry-pie4b-yolo-detection-master/main_yolov3.py”, line 41, in getOutputsNames
return [layersNames[i[0] - 1] for i in net.getUnconnectedOutLayers()]
File “/home/pi/raspberry-pie4b-yolo-detection-master (1)/raspberry-pie4b-yolo-detection-master/main_yolov3.py”, line 41, in
return [layersNames[i[0] - 1] for i in net.getUnconnectedOutLayers()]
IndexError: invalid index to scalar variable.

猜你喜欢

转载自blog.csdn.net/weixin_43096365/article/details/122893226
shu