I use tensorrt to load my onnx model,but the following error was reported:
terminate called after throwing an instance of ‘std::out_of_range’
what(): Attribute not found: shape
I used python and c++ tensorrt to parsed my onnx model,have the sanme problem.and i debug the code, the error at “trt_parser.convert_to_trtnetwork()”.
software version:
python 2.7
onnx:1.4.1
cuda:8.0
tensorrt:TensorRT-4.0.1.6.Ubuntu-16.04.4.x86_64-gnu.cuda-8.0.cudnn7.1