Here is my error:
[
2019-02-13 16:15:37.672887: I tensorflow/contrib/tensorrt/convert/convert_graph.cc:438] MULTIPLE tensorrt candidate conversion: 7
Segmentation fault (core dumped)
]
I checked some related topic on forum, but i realize it has not fixed because he did not run Tensorflow- tensorRT code anymore so i hope you can support me completely. Here are topic that is checked:
Beside, I follow code in ACCELERATING INFERENCE IN TENSORFLOW WITH TENSORRT, and it also fail but different error. But in this topic i want focus on the above error.
I have some questions. How can i know when i convert TF to TRT completely using this code? Will I get a real tensorRT model file in the directory? and how can i apply the tensorRT model (that I converted) to Deepstream SDK 1.5?
I hope you answer all my question.
Thank you so much.
May I know where your TensorFlow package comes from?
Please noticed that there are some dependencies between TensorFlow, cuDNN, CUDA toolkit and GPU driver.
1. TensorFlow-TRT is different from the TRT, it use TensorRT acceleration but keep the TensorFlow implementation like input, prepocess.
To use it, you will still need to load the whole TensorFlow library which may occupy lots of resource and memory.
It’s more recommended to use our pure TensorRT but it needs some porting effort.
Please check this page for the tutorial:
2. DeepStream 1.5 doesn’t support UFF model which is essential for TensorFlow model.
Hi aastaLLL,
Sorry i need some day to run an example that you give me.
The version tensorflow come from documentation " tensorflow for JetsonTx2" .
I don’t know why we have both TF-TRT and TRT. What is different between them?
1) TF-TRT are different.
TensorRT: is our high performance inference engine: https://developer.nvidia.com/tensorrt
TF-TFT is a wrapper in TensorFlow to help user run their model with TRT engine.
3) This is a good question.
By default, deepstream 1.5 doesn’t supported TensorFlow model since the converter for TF->TRT is not enabled.
But since the PLAN file is ready, you can hack it as the PLAN file generated from Caffe model to see if works.
2. DeepStream only supports caffemodel and TensorRT PLAN.
So you will need to generate the TensorRT engine first and feed it into deepstream.
model, proto, … is ignored when PLAN file is given.
Please noticed that your PLAN may not be supported by deepstream since it is generated from TensorFlow.
But it is still worthy to give it a try.