cpp运行出错
Created by: hhh5446
cpp编译成功后运行不了
./main --model_dir=/software/PaddleDetection/inference_model/yolov3_darknet/ --image_path=/software/person.jpg terminate called after throwing an instance of 'YAML::BadFile' what(): bad file 已放弃 (核心已转储)
yml文件: use_python_inference: false mode: fluid draw_threshold: 0.5 metric: COCO arch: YOLO min_subgraph_size: 3 with_background: false Preprocess:
image_shape: 608 608 interp: 2 max_size: 0 target_size: 608 type: Resize use_cv2: true is_channel_first: false is_scale: true mean: 0.485 0.456 0.406 std: 0.229 0.224 0.225 type: Normalize channel_first: true to_bgr: false type: Permute label_list: person bicycle 剩下的类别就不写了
用的0.3版本 位于分支 release/0.3 您的分支与上游分支 'origin/release/0.3' 一致。