Part Number: PROCESSOR-SDK-DRA8X-TDA4X
Hi Champs:
#1. I'm experiencing the TDA4 with TIDL.
#2. In this file, there is a tensorFlow needs to be installed on the ubuntu 18 just in order to have this file: optimize_for_inference.py
#3. Please see the section below.
My question is:
Which TensorFlow version we need to install?
And which Python version (2 or 3) needs to be choosed?
Please comment.
THanks,.
BR Rio
file:///opt/psdk_rtos_auto_j7_06_02_00_21_original/tidl_j7_01_01_00_10/ti_dl/docs/user_guide_html/md_tidl_user_model_deployment.html#setting-up-the-environment
Download the tarball containing the trained model from here..
You need to extract mobilenet_v2_1.0_224_frozen.pb from the tarball and put it inside ti_dl/test/testvecs/models/public/tensorflow/mobilenet_v2 directory.
The downloaded tensorflow models cannot be imported until they are optimized for inference. Run optimize_for_inference.py (distributed with tensorflow installation) to create an optimized model file.
user@ubuntu-pc$ python optimize_for_inference.py \
--input=${TIDL_INSTALL_PATH}/ti_dl/test/testvecs/models/public/tensorflow/mobilenet_v2/mobilenet_v2_1.0_224_frozen.pb \
--output=${TIDL_INSTALL_PATH}/ti_dl/test/testvecs/models/public/tensorflow/mobilenet_v2/mobilenet_v2_1.0_224_final.pb \
--input_names="input" \
--output_names="MobilenetV2/Predictions/Softmax"