PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.6k stars 2.86k forks source link

nano c++部署编译完成后,测试报错。 #4823

Open qinhuanghanwuhenniubi opened 2 years ago

qinhuanghanwuhenniubi commented 2 years ago

cuda 10.2 gcc 7.5 jetpack 4.4 tensorrt 7.0

下载了这个模型picodet_l_640_coco.pdparams

执行命令是:./main --model_dir=/home/ychen/PaddleDetection/deploy/cpp/build/picodet_l_640_coco.pdparams --image_file=/home/ychen/PaddleDetection/demo/000000014439_640x640.jpg

报错是:terminate called after throwing an instance of 'YAML::BadFile' what(): bad file 已放弃 (核心已转储)

yghstill commented 2 years ago

@qinhuanghanwuhenniubi 请按照部署文档,导出Inference model后再进行测试:https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet#deployment

qinhuanghanwuhenniubi commented 2 years ago

@qinhuanghanwuhenniubi 请按照部署文档,导出Inference model后再进行测试:https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet#deployment

老哥,导出onnx后,还是和原来报错一样。