Xavier/Deep Learning/TensorRT/Parsing Caffe: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Xavier/Head|previous=Deep Learning‎/TensorRT/Parsing Tensorflow|next=Deep Learning/TensorRT/Building Examples|keywords=TensorRT,Parsing,Caffe model,Parsing Caffe model}}
{{Xavier/Head|previous=Deep Learning‎/TensorRT/Parsing Tensorflow|next=Deep Learning/TensorRT/Building Examples|metakeywords=TensorRT,Parsing,Caffe model,Parsing Caffe model}}
</noinclude>
</noinclude>


<!-- If you want a custom title for the page, un-comment and edit this line:
{{DISPLAYTITLE:NVIDIA Jetson Xavier - Parsing Caffe model for TensorRT|noerror}}
{{DISPLAYTITLE:NVIDIA Jetson Xavier - <descriptive page name>|noerror}}
-->


=Parsing Caffe model for TensorRT=
==Parsing Caffe model for TensorRT==


The process for caffe models are fairly similar to Tensorflow models. The key difference is that you don't need to generate a uff model file. Caffe model file (.caffemodel) can be imported directly from tensorrt.
The process for Caffe models is fairly similar to Tensorflow models. The key difference is that you don't need to generate a uff model file. Caffe model file (.caffemodel) can be imported directly from tensorrt.


Loading a caffe model is an actual example provided by NVIDIA with TensorRT naned sample_mnist. For more details on this example please refer to the [[Xavier/Deep_Learning/TensorRT/Building_Examples#C.2B.2B_API|C++ API]] section.
Loading a Caffe model is an actual example provided by NVIDIA with TensorRT named sample_mnist. For more details on this example please refer to the [[Xavier/Deep_Learning/TensorRT/Building_Examples#C.2B.2B_API|C++ API]] section.


<noinclude>
<noinclude>
{{Xavier/Foot|Deep Learning‎/TensorRT/Parsing Tensorflow|Deep Learning/TensorRT/Building Examples}}
{{Xavier/Foot|Deep Learning‎/TensorRT/Parsing Tensorflow|Deep Learning/TensorRT/Building Examples}}
</noinclude>
</noinclude>

Latest revision as of 17:55, 13 February 2023




Previous: Deep Learning‎/TensorRT/Parsing Tensorflow Index Next: Deep Learning/TensorRT/Building Examples






Parsing Caffe model for TensorRT

The process for Caffe models is fairly similar to Tensorflow models. The key difference is that you don't need to generate a uff model file. Caffe model file (.caffemodel) can be imported directly from tensorrt.

Loading a Caffe model is an actual example provided by NVIDIA with TensorRT named sample_mnist. For more details on this example please refer to the C++ API section.



Previous: Deep Learning‎/TensorRT/Parsing Tensorflow Index Next: Deep Learning/TensorRT/Building Examples