Here is my code:
TRT_LOGGER = trt.Logger(trt.Logger.VERBOSE)
with trt.Builder(TRT_LOGGER) as builder, builder.create_network() as network,
trt.OnnxParser(network, TRT_LOGGER) as parser:
builder.max_workspace_size = 1<<30
builder.max_batch_size = 1
with open(model_path, 'rb') as f: value = parser.parse(f.read()) print("Parser: ", value)
The output is False for the same.
I am using an AlexNet converted to an ONNX model.
I am currently on TensorRT-220.127.116.11