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.
6405 Discussions

Using mobilenet trained network to run in NCS

idata
Employee
939 Views

This is the error I get when I'm trying to generate a NCS graph.

 

As node.type is "Relu6"

 

File "/usr/local/bin/ncsdk/Controllers/TensorFlowParser.py", line 739, in parse_tensor

 

prev_node.postOp = StageType.relu_x

 

AttributeError: 'NoneType' object has no attribute 'postOp'

 

Please guide me here

0 Kudos
6 Replies
idata
Employee
672 Views

@stopcharla Which network are your experiencing this issue with? Please provide the steps to reproduce your issue you mentioned and a link to the network so that I can help you to debug the error.

0 Kudos
idata
Employee
672 Views

I used the tensorflow's retrain.py to train a gender classifier using mobilenet_1.0_224 architecture, then i tried to convert the graph to ncs compatible. This where i came across this issue.

0 Kudos
idata
Employee
672 Views

@stopcharla Can you provide a link to your model? This would save me a lot of time. Thanks.

0 Kudos
idata
Employee
672 Views

https://drive.google.com/open?id=1QPVmjvv2X4N3s23yfaQA8i42Dn-MJ9I5

 

Command used to compile:

 

mvNCCompile ~/Downloads/pet_model.pb -s 12 -in=MobilenetV1/MobilenetV1/Conv2d_0/convolution -on=final_result -o pet.graph
0 Kudos
idata
Employee
672 Views

@stopcharla It seems I don't have access to this model. Can you give me access to download this model?

0 Kudos
idata
Employee
672 Views
0 Kudos
Reply