NVIDIA DriveWorks sample code for webinar "Integrating DNN Inference into Autonomous Vehicle Applications with NVIDIA DriveWorks SDK"
- data - folder containing all the data needed for this sample, and some images examples
- sources\src\dnn\ - folder containing the sample code to be compiled for execution (on the host and on the Drive AGX taget)
-
create an optimized DW TRT plan file (on the Drive AGX Drive target and on the host):
a. cd data/resnet50
b. /usr/local/driveworks/tools/dnn/tensorRT_optimization --modelType=onnx --onnxFile=resnet50.onnx --out=resnet50Onnx2TRTx86.bin
-
compile the sample code:
a. copy the DW samples into a folder
b. than merge and replace the samples folder with this reposotiroty samples folder.
c. follow compilation instructions in tutorial 1 of DW documentation for compilation for the host and for the Drive AGX
-
execute the sample. for example:
./sample_integrate_dnn --tensorRT_model=/path/to/generated/plan/file/resnet50Onnx2TRTx86.bin --imageFile=/path/to/the/images/in/data/folder/image2.ppm --data=/path/to/the/folder/data
good luck!
For any questions, please post it on the forum.