Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

mvNCCompile throws :ValueError: 'net_output' is not in list

idata
Employee
852 Views

Hello everyone

 

 

Traceback (most recent call last):

 

File "/usr/local/bin/mvNCCompile", line 208, in

 

args.old_parser, args.cpp, args)

 

File "/usr/local/bin/mvNCCompile", line 186, in create_graph

 

load_ret = load_network(args, parser, myriad_config)

 

File "/usr/local/bin/ncsdk/Controllers/Scheduler.py", line 83, in load_network

 

input_data, expected_result = p.calculateReference(arguments)

 

File "/usr/local/bin/ncsdk/Controllers/Parsers/Caffe.py", line 209, in calculateReference

 

output = self.net.forward(start=first_layer, end=out_label)

 

File "/opt/movidius/caffe/python/caffe/pycaffe.py", line 105, in _Net_forward

 

end_ind = list(self._layer_names).index(end)

 

ValueError: 'net_output' is not in list

 

     

  • When looking in the .prototxt file, the last described node looks like this:

     

    layer {

     

    name: "concat_stage7"

     

    type: "Concat"

     

    bottom: "Mconv7_stage4_L2"

     

    bottom: "Mconv7_stage4_L1"

     

    top: "net_output"

     

    concat_param {

     

    axis: 1

     

    }

     

    }
  •  

 

so, a "net_output" exists.

 

Any idea on how to solve this issue is very much appreciated.

 

All the best,

 

Bastian
0 Kudos
1 Reply
idata
Employee
543 Views

Hi @bastiank

 

Could you try to set the top parameter to the same name of the layer (See below)?

 

layer { name: "concat_stage7" type: "Concat" bottom: "Mconv7_stage4_L2" bottom: "Mconv7_stage4_L1" top: "concat_stage7" concat_param { axis: 1 } }

 

Regards,

 

Jesus
0 Kudos
Reply