sherlockchou86 / VideoPipe

A cross-platform video structuring (video analysis) framework. If you find it helpful, please give it a star: ) 跨平台的视频结构化(视频分析)框架,觉得有帮助的请给个星星 : )
http://www.videopipe.cool
Apache License 2.0
1.45k stars 214 forks source link

请问怎么解决,就差第三位tr版本号不对。不敢换盒子里的TensorRT版本 #59

Closed guojiahuiEmily closed 3 months ago

guojiahuiEmily commented 3 months ago

nvidia@nvidia-desktop:~/try$ ./VideoPipe/build/bin/vehicle_cluster_based_on_classify_encoding_sample [2024-08-21 19:44:30.753][Info ][ffff5efcb900][/home/nvidia/try/VideoPipe/nodes/vp_image_src_node.cpp:34] [image_src_0] [multifilesrc location=./vp_data/test_images/vehicle/%d.jpg loop=true ! jpegparse ! jpegdec ! videorate ! video/x-raw,framerate=1/1 ! videoconvert ! appsink] [2024-08-21 19:44:30.757][Warn ][ffff5efcb900][/home/nvidia/try/VideoPipe/nodes/vp_infer_node.cpp:43] [trt_detector] cv::dnn::readNet load network failed! [08/21/2024-19:44:31] [I] [TRT] Loaded engine size: 34 MiB [08/21/2024-19:44:31] [E] [TRT] 6: The engine plan file is not compatible with this version of TensorRT, expecting library version 8.5.2.2 got 8.5.1.7, please rebuild. [08/21/2024-19:44:31] [E] [TRT] 4: [runtime.cpp::deserializeCudaEngine::65] Error Code 4: Internal Error (Engine deserialization failed.) vehicle_cluster_based_on_classify_encoding_sample: /home/nvidia/try/VideoPipe/third_party/trt_vehicle/models/detect_model.cpp:8: trt_vehicle::DetectModel::DetectModel(const string&, float, float): Assertion `ret == 0' failed. Aborted (core dumped)

sherlockchou86 commented 3 months ago

要用原始onnx模型去转