deepcam-cn / yolov5-face

YOLO5Face: Why Reinventing a Face Detector (https://arxiv.org/abs/2105.12931) ECCV Workshops 2022)
GNU General Public License v3.0
2.06k stars 497 forks source link

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

Open Bob-jpg opened 2 years ago

Bob-jpg commented 2 years ago

运行环境 图片 图片

Bob-jpg commented 2 years ago

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

bobo0810 commented 2 years ago

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

Bob-jpg commented 2 years ago

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 commented 2 years ago

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

bobo0810 commented 2 years ago

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

Bob-jpg commented 2 years ago

OK,thank you -