Skip to content

getting error in getOutputsNames(net) #1

Open
@sridevim55

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions