I am getting this error while running the import tensorrt.legacy as trt
Awaiting for your response
File “model2trt.py”, line 51, in onnx_2_float32
apex = onnxparser.create_onnxconfig()
AttributeError: type object ‘onnxparser’ has no attribute ‘create_onnxconfig’