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

Detectors based on Tensorflow mobilenet SSD

idata
Employee
928 Views

I just started playing around with the NCS+TensorFlow. I have all the tensorflow examples working, including the classification MobileNets I downloaded from the ZOO.

 

My question is regarding ssd detectors based on mobilenets. I have tried to create an NCS graph for such models, using something like this:

 

mvNCCompile -s 12 detectorModels/ssd_mobilenet_v1_coco_2017_11_17/model.ckpt.meta -in=image_tensor -on=detection_scores

 

And got:

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py:766: 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/tf_inspect.py:45: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead

 

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

 

Traceback (most recent call last):

 

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

 

create_graph(args.network, 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/TensorFlowParser.py", line 253, in parse_tensor

 

input_data = np.random.uniform(0, 1, shape)

 

File "mtrand.pyx", line 1302, in mtrand.RandomState.uniform

 

File "mtrand.pyx", line 242, in mtrand.cont2_array_sc

 

TypeError: 'NoneType' object cannot be interpreted as an integer

 

Any ideas?

 

Thanks!

0 Kudos
5 Replies
idata
Employee
615 Views

I think SSD Mobilenet is are currently not supported for Tensorflow :(

 

Having the same problem.

 

https://movidius.github.io/ncsdk/TensorFlow.html
0 Kudos
idata
Employee
615 Views

@ezfn @heljo Thanks for showing interest in Mobilnet SSD. We don't yet have support for Tensorflow Mobilenet SSD, but it is an issue that we are working on, although I can't provide a roadmap/eta at the moment.

0 Kudos
idata
Employee
615 Views

I was asking the same around half a year ago. It would have been really nice if there was more support for object detection. So far I have only seen couple of hacked repos using yolo and yolo2 with caffe and some custom c++ code but this is far form ideal. Hopefully, this year more support will come!

0 Kudos
idata
Employee
615 Views

exactly same error got here, any update?

 

thanks,

 

q
0 Kudos
idata
Employee
615 Views

Hi @ucol

 

The Neural Compute SDK v2.10 has support for the TensorFlow SSD MobileNet v1/v2 coco networks, take a look at this thread for additional information.

 

Regards,

 

Jesus
0 Kudos
Reply