Hello TI team,
I am using the TI model conversion tool (tidl_model_import.out.exe) to convert a keras model saved as TensorFlow *.pb model to TI-compatible format.
The conversion from keras to Tensorflow is done using something similar to what is done at this link: https://github.com/amir-abdi/keras_to_tensorflow/blob/master/keras_to_tensorflow.py
I have the following problems:
1) I'm getting this error message when running tidl_model_import.out.exe:
[libprotobuf FATAL D:\work\vision\CNN\protobuf\protobuf-cpp-3.2.0rc2\protobuf-3.
2.0rc2\src\google/protobuf/repeated_field.h:1418] CHECK failed: (index) < (curre
nt_size_):
which was also reported in this post:
The difference in model definition in my case should be however related to the version of Tensorflow (where the saved fields are defined). I am using Tensorflow 1.1 which seems to have its own compiled protobuf readers/writers. Which version of Tensorflow was used by TI to validate the model conversion tool? Do you think that the error's cause is somewhere else?
2) The input to the net is usually an image. It seems that you are using *.y files as input. How the .y file is generated?
3) What I understood is that the quantStatsTool does an emulation on the PC in order to test the output of the model conversion tool. There is eve_test_dl_algo.out.exe for EVE, but I did not find the DSP tool in the Vision SDK.
thank you very much in advance
Safwan