How to build example on TX2?

I find the example in /usr/src/tensorrt/samples, but when i execute make, nothing is compiled.
how to build example on TX2?

Hi,

/usr/src/ requires permission.
Please copy the sample to space doesn’t require root authority:

cp -r /usr/src/tensorrt/ ~/
cp ~/tensorrt/samples/
make
cd ~/tensorrt/bin/
./sample_googlenet

Thanks.

When I run this I get:

./sample_googlenet
Building and running a GPU inference engine for GoogleNet
Ran ./sample_googlenet with
Input(s): data
Output(s): prob
Done.

This doesn’t look right to me.

What is the expected output ?

Hi,

You should get some profiling data.
Here is our document for your reference:
https://docs.nvidia.com/deeplearning/sdk/tensorrt-sample-support-guide/index.html#googlenet_sample

Thanks.