I think yolov3.cfg is outdated
PierrunoYT opened this issue · 0 comments
Traceback (most recent call last):
File "C:\Users\pierr\Downloads\object.py", line 25, in
output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pierr\Downloads\object.py", line 25, in
output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
~^^^
IndexError: invalid index to scalar variable.
C:\Users\pierr\Downloads>object.py
Traceback (most recent call last):
File "C:\Users\pierr\Downloads\object.py", line 25, in
output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pierr\Downloads\object.py", line 25, in
output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
~^^^
IndexError: invalid index to scalar variable.