Description
I am following the instructions of developer guide Tensorrt4.0.1and I try to implement the chapter 2.9.4, importing from onnx using python. But the following error is appeared.
AttributeError: ‘nv_onnx_parser_bindings.OnnxConfig’ object has no attribute 'report_parsing_info’
however, it is optional debug option, and therefore, i just comment it and run the code again, the following error happen:
AttributeError: ‘nv_onnx_parser_bindings.ONNXParser’ object has no attribute 'convert_to_trt_network’
could you help me to address these annoyed issues? Thanks in advance
Environment
TensorRT Version: 4.0.16
GPU Type: GT710
Nvidia Driver Version: 384.130
CUDA Version: 8.0.61
CUDNN Version: 7.1.3
Operating System + Version: ubuntu16.04
Python Version (if applicable): 2.7
TensorFlow Version (if applicable): NONE
PyTorch Version (if applicable): 1.0.1.post2
Baremetal or Container (if container which image + tag):
Relevant Files
The code can be downloaded from:
and the onnx file can be downloaded from :