It looks like you're new here. If you want to get involved, click one of these buttons!Sign In
It looks like you're new here. If you want to get involved, click one of these buttons!
Is it generally possible to compile tensorflow-models that are not CNN?
I want to run a tensorflow model on the Intel Movidius Neural Compute Stick that is a general NN and not for any image processing and therefore also not using CNN-arcitecture but rather simple perceptrons.
Can I compile an XOR Neural Network (example) with
mvNCCompile to run on the NCS?
I keep getting this error-log, when trying to compile models that don't contain Convolutional-Layers:
ubuntu:~/path$ mvNCCheck TF_Model/tf_model.meta -in=dense_1_input_1 -on=activation_2_1/Relu
/usr/local/bin/ncsdk/Controllers/Parsers/TensorFlowParser/Convolution.py:47: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(False, "Layer type not supported by Convolution: " + obj.type)
mvNCCheck v02.00, Copyright @ Intel Corporation 2017
****** Info: No Weights provided. inferred path: TF_Model/tf_model.data-00000-of-00001******
2019-03-27 16:24:56.276630: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Fusing DeptwiseConv + Pointwise Convolution into plain Convolution
Fusing Add and Batch after Convolution
Traceback (most recent call last):
File "/usr/local/bin/mvNCCheck", line 239, in
quit_code = check_net(args.network, args.image, args.inputnode, args.outputnode, args.nshaves, args.inputsize, args.weights, args)
File "/usr/local/bin/mvNCCheck", line 206, in check_net
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/TensorFlow.py", line 545, in calculateReference
File "/home/ase/.local/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 639, in transpose
return _wrapfunc(a, 'transpose', axes)
File "/home/ase/.local/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: axes don't match array