Hi all,
I tried converting my Keras model (TensorFlow backend) with the following command and it produced the error message below. Perhaps I left something out in the installation process? BTW my development platform is Ubuntu 14.04.
./snpe-tensorflow-to-dlc --graph MNIST_model.pb --input_dim "conv2d_1_input" 28,28,1 --out_node tf_model_output
Error message:
Traceback (most recent call last):
File "./snpe-tensorflow-to-dlc", line 35, in <module>
from converters.tensorflow.converter import DlcConverter
ImportError: No module named converters.tensorflow.converter
Running snpe-tensorflow-to-dlc and getting the following error.
./snpe-tensorflow-to-dlc --graph ~/RyansScripts/models/ddmodel.pb --input_dim "image_tensor" 512,512,3 --out_node some_node --dlc dlc/ --allow_unconsumed_nodes--graph ~/RyansScripts/models/ddmodel.pb -Traceback (most recent call last):
File "./snpe-tensorflow-to-dlc", line 36, in <module>
from converters.tensorflow.converter import DlcConverter
ImportError: No module named converters.tensorflow.converter
Just add $SNPR_ROOT/lib/python to PYTHONPATH.
source ./bin/envsetup.sh -t ~/tensorflow # optional for this guide