yolov5-face icon indicating copy to clipboard operation
yolov5-face copied to clipboard

.cpp:863: virtual nvinfer1::ILayer* nvinfer1::Network::getLayer(int) const: Assertion `layerIndex >= 0' failed.

Open Bob-jpg opened this issue 2 years ago • 6 comments

运行环境 图片 图片

Bob-jpg avatar Dec 06 '21 08:12 Bob-jpg

图片 this is my pip list ,but I use the main.py,something is wrong

Bob-jpg avatar Dec 06 '21 08:12 Bob-jpg

Try to ensure that the tensorRT version is consistent with the official version

bobo0810 avatar Dec 06 '21 08:12 bobo0810

yeah ,TensorRT-6.0.1.5.Ubuntu-18.04.x86_64-gnu.cuda-10.1.cudnn7.6.tar this is my tensorrt version

Bob-jpg avatar Dec 06 '21 08:12 Bob-jpg

Try to ensure that the tensorRT version is consistent with the official version 图片 this is my cuda and cudnn version

Bob-jpg avatar Dec 06 '21 08:12 Bob-jpg

TensorRT is written differently for each large version. Try tensorrt7.2

bobo0810 avatar Dec 06 '21 09:12 bobo0810

OK,thank you -

Bob-jpg avatar Dec 06 '21 09:12 Bob-jpg