How to run sampleSSD in TensorRT5

How to run sampleSSD in TensorRT5 like other samples?
How to modify original prototxt file? Do I need to modify sampleSSD.cpp like sampleFasterRCNN?

Please reference the that accompanies sampleSSD

  1. compile
  2. download models
  3. read notes on ssd.prototxt

But we didn’t found the ssd.prototxt. Could you please tell me the location?

Please refer to:

This sample demonstrates how to perform inference on the Caffe SSD network in TensorRT, use TensorRT plugins to speed up inference, and perform INT8 calibration on an SSD network. To generate the required prototxt file for this sample, perform the following steps:
Download models_VGGNet_VOC0712_SSD_300x300.tar.gz from:
Extract the contents of the tar file;
tar xvf
Edit the deploy.prototxt file and change all the Flatten layers to Reshape operations with the following parameters:
reshape_param {
shape {
dim: 0
dim: -1
dim: 1
dim: 1
Update the detection_out layer by adding the keep_count output, for example, add:
top: “keep_count”
Rename the deploy.prototxt file to ssd.prototxt and run the sample.
To run the sample in INT8 mode, install Pillow first by issuing the $ pip install Pillow command, then follow the instructions from the README.

Thanks! I got it.