frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Detectors based on Tensorflow mobilenet SSD

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!

Comments

Sign In or Register to comment.