I am trying the TensorRT sample, UffSSD, I followed the readme to generate the sample_ssd.uff on my host pc, copied it to xavier and run the sample, but the sample cannot work. Here is the output:
nvidia@jetson-0423718018037:/usr/src/tensorrt/bin$ sudo ./sample_uff_ssd
../data/ssd/sample_ssd.uff
Begin parsing model...
ERROR: UFFParser: Validator error: FeatureExtractor/InceptionV2/Mixed_5c_2_Conv2d_5_3x3_s2_128/Relu6: Invalid enum field 'func': bad type or not present
ERROR: sample_uff_ssd: Fail to parse
sample_uff_ssd: sampleUffSSD.cpp:524: int main(int, char**): Assertion `tmpEngine != nullptr' failed.
Aborted
We test this sample and it works correctly on our environment.
It looks like you have some issues when parsing the model into uff.
Could you follow following steps and try it again?
1. Download the TensorFlow model to host. 2. Copy config.py from sampleUffSSD folder to the host. 3. Convert the model into uff with this command on host: