Open
Description
IndexError Traceback (most recent call last)
in
15
16 # Runs the forward pass to get output of the output layers
---> 17 outs = net.forward(getOutputsNames(net))
18
19 # Remove the bounding boxes with low confidence
1 frames
in (.0)
3 layersNames = net.getLayerNames()
4 # Get the names of the output layers, i.e. the layers with unconnected outputs
----> 5 return [layersNames[i[0] - 1] for i in net.getUnconnectedOutLayers()]
IndexError: invalid index to scalar variable.
can you explain why im getting this
Metadata
Assignees
Labels
No labels