I am migrating from JetPack 3.2 and TensorRT3 to JetPack 3.3 and TensorRT4.
The URL Generating TensorRT Engines from TensorFlow — TensorRT 4.0 documentation, “Generating TensorRT Engines from Tensorflow” example on how to convert a tensorflow model to be usable by TensorRT4 does not work from me.
I am running on a TX2 with JetPack 3.3. The wheel for Tensorflow 1.9 was installed.
Python reports the following:
$ python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import tensorflow as tf
print (tf.GIT_VERSION, tf.version)
(‘18.08-stage-0-ge269373’, ‘1.9.0’)
import tensorrt as trt
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named tensorrt
What is the proper method for converting a frozen model to a plan?
Is that even the current terminology?
That is what I did for TensorRT3 with an inception-v3 model that was retrained with my images.
The results were very good.
I am told TensoRT4 is faster.
I would like to take advantage of that improvement.