1 | [TensorRT] ERROR: Network must hav at least one output |
解决方案
给代码中的create_network()传入如下参数
1 | explicit_batch = 1 << (int)(trt.NetworkDefinitionCreationFlag.EXPLICIT_BATCH) |
1 | [TensorRT] ERROR: Network must hav at least one output |
给代码中的create_network()传入如下参数
1 | explicit_batch = 1 << (int)(trt.NetworkDefinitionCreationFlag.EXPLICIT_BATCH) |