cpp_infer程序运行没有错误,但是没有bbox产生,infer.py运行结果OK,预测结果也都OK
Created by: mingmmq
这是demo的yml,模型是参考教程进行export的。 `# demo for cpp_infer.py
use_python_inference: false # whether to use python inference mode: fluid # trt_fp32, trt_fp16, trt_int8, fluid arch: YOLO # YOLO, SSD, RCNN, RetinaNet min_subgraph_size: 40 # need 3 for YOLO arch
visualize the predicted image
metric: COCO # COCO, VOC draw_threshold: 0.01
Preprocess:
- type: Resize target_size: 608 max_size: 608
- type: Normalize
mean:
- 0.485
- 0.456
- 0.406 std:
- 0.229
- 0.224
- 0.225 is_scale: True
- type: Permute to_bgr: False
- type: PadStride stride: 0 # set 32 on FPN and 128 on RetinaNet ` predictor没有任何out产生。