NNDam / TensorRT-CPP

Wrapped some popular deep learning models with C++
7 stars 3 forks source link

yolov7 compile error! #1

Open jcyhcs opened 1 year ago

jcyhcs commented 1 year ago

hi,professor: i test your yolov7 demo c++, but i compile with error: ‘virtual nvinfer1::IRuntime::~IRuntime()’ is protected within this context why? my tensorrt version is 7.1.3 maybe your project code don't support this version?? please help me!

NNDam commented 1 year ago

Yes, current our code tested only with TensorRT 8.2 Could you download our ONNX and export model with trtexec from TensorRT 7.1.3 ?