tensorRT_Pro icon indicating copy to clipboard operation
tensorRT_Pro copied to clipboard

python test_yolov5.py 报错如下:

Open SunYiLing123 opened this issue 3 years ago • 0 comments

C:\Users\17243\Desktop\tensorRT_Pro-main\example-python>python test_yolov5.py [2022-09-30 08:54:25][error][trt_builder.cpp:30]:NVInfer: 1: [stdArchiveReader.cpp::nvinfer1::rt::StdArchiveReader::StdArchiveReader::34] Error Code 1: Serialization (Serialization assertion safeVersionRead == safeSerializationVersion failed.Version tag does not match. Note: Current Version: 43, Serialized Engine Version: 0) [2022-09-30 08:54:25][error][trt_builder.cpp:30]:NVInfer: 4: [runtime.cpp::nvinfer1::Runtime::deserializeCudaEngine::76] Error Code 4: Internal Error (Engine deserialization failed.) [2022-09-30 08:54:25][error][yolo_gpuptr.cpp:188]:Engine yolov5s6.FP32.trtmodel load failed Traceback (most recent call last): File "test_yolov5.py", line 10, in bboxes = yolo.commit(image).get() BufferError: Invalid engine instance, please makesure your construct

SunYiLing123 avatar Sep 30 '22 01:09 SunYiLing123