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.

mvNCCompile MTCNN issue




I try to convert RNET model file into a graph file, but I got the error log show as below


command I flash is : "mvNCCompile rnet-3000000.meta -s 12 -in input -on output -o rnet.graph"




mvNCCompile v02.00, Copyright @ Movidius Ltd 2016


/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ DeprecationWarning: builtin type EagerTensor has no module attribute


EagerTensor = c_api.TFE_Py_InitEagerTensor(_EagerTensorBase)


/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/ DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead


if d.decorator_argspec is not None), _inspect.getargspec(target))


WARNING:tensorflow:The saved meta_graph is possibly from an older release:


'local_variables' collection should be of type 'byte_list', but instead is of type 'node_list'.


Traceback (most recent call last):


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


create_graph(, args.inputnode, args.outputnode, args.outfile, args.nshaves, args.inputsize, args.weights)


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


net = parse_tensor(args, myriad_config)


File "/usr/local/bin/ncsdk/Controllers/", line 227, in parse_tensor


inputTensor = graph.get_tensor_by_name(inputnode + ':0')


File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/", line 3207, in get_tensor_by_name


return self.as_graph_element(name, allow_tensor=True, allow_operation=False)


File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/", line 3035, in as_graph_element


return self._as_graph_element_locked(obj, allow_tensor, allow_operation)


File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/", line 3077, in _as_graph_element_locked


"graph." % (repr(name), repr(op_name)))


KeyError: "The name 'input:0' refers to a Tensor which does not exist. The operation, 'input', does not exist in the graph."


Below I attach model github link

0 Kudos
0 Replies