
EVA SDK User's Manual
Convert for TensorRT Model
111
8.3.3.2 FP16
Linux:
/usr/src/tensorrt/bin/trtexec --uff=sample_ssd_relu6.uff --output=NMS --
uffInput=Input,3,300,300 --workspace=3000 --saveEngine=ssdv2_fp16.engine --
verbose --maxBatch=4 --fp16
Windows:
Trtexec.exe --uff=sample_ssd_relu6.uff --output=NMS --uffInput=Input,3,300,300 -
-workspace=3000 --saveEngine=ssdv2_fp16.engine --verbose --maxBatch=4 --fp16
8.3.3.3 Parameters
Parameter
Description
--uff
Load uff file path
--uffInput=Input,3,300,300
Set input layer name and input layer dimension
--output=NMS
Set output layer name
--workspace=3000
Set GPU memory in MB to allow TensorRT to use to build engine.
Optimal setting is around 80% of all memory.
--maxBatch=4
Build engine will allow maximum input batch size = 4
--saveEngine=mobilenet_ssdv2.engine Save the final engine to ssdv2.engine file
--fp16
Set model to fp16 precision
--verbose
Display more information
--buildOnly
Reduce 10s for testing model, and only build and save engine.
(Optional)
Summary of Contents for EVA SDK
Page 1: ...EVA SDK User s Manual Manual Rev 1 2 Revision Date July 20 2021 Part Number 50M 00010 1020...
Page 4: ...iv Preface This page intentionally left blank...
Page 8: ...4 Introduction This page intentionally left blank...
Page 10: ...6 Setting Environment Variables This page intentionally left blank...
Page 78: ...74 Image Processing Plugins This page intentionally left blank...
Page 110: ...106 Convert for OpenVINO Model This page intentionally left blank...