AXERA-TECH / ax-samples

Samples code for world class Artificial Intelligence SoCs for computer vision applications.
BSD 3-Clause "New" or "Revised" License
209 stars 45 forks source link

执行yolov5s模型推理时候报错,但是还是有输出图片 #110

Closed dragonforward closed 11 months ago

dragonforward commented 11 months ago

测试环境: 应该是预售版本的m4ndock 应该是1.27镜像版本

输出信息如下:

(ort) root@maixbox:/home/ax-samples/build/install/ax650# ls
ax_classification  ax_hrnet       ax_pp_humanseg                  ax_pp_vehicle_attribute  ax_rtdetr     ax_simcc_pose   ax_yolov5s_seg       ax_yolov8       yolov5s.axmodel
ax_detr            ax_imgproc     ax_pp_liteseg_stdc2_cityscapes  ax_ppyoloe               ax_rtmdet     ax_yolo_nas     ax_yolov6            ax_yolov8_pose
ax_dinov2          ax_model_info  ax_pp_ocr_rec                   ax_ppyoloe_obj365        ax_scrfd      ax_yolov5_face  ax_yolov7            ax_yolox
ax_glpdepth        ax_pfld        ax_pp_person_attribute          ax_realesrgan            ax_segformer  ax_yolov5s      ax_yolov7_tiny_face  dog.jpg
(ort) root@maixbox:/home/ax-samples/build/install/ax650# ./ax_yolov5s -m yolov5s.axmodel -i dog.jpg
--------------------------------------
model file : yolov5s.axmodel
image file : dog.jpg
img_h, img_w : 640 640
--------------------------------------
WARN,Func(__is_valid_file),NOT find file = '/etc/ax_syslog.conf'
ERROR,Func(__syslog_parma_cfg_get), NOT find = '/etc/ax_syslog.conf'
Engine creating handle is done.
Engine creating context is done.
Engine get io info is done.
Engine alloc io is done.
Engine push input is done.
--------------------------------------
post process cost time:1.87 ms
--------------------------------------
Repeat 1 times, avg time 7.77 ms, max_time 7.77 ms, min_time 7.77 ms
--------------------------------------
detection num: 3
16:  91%, [ 138,  218,  310,  541], dog
 2:  69%, [ 470,   76,  690,  173], car
 1:  56%, [ 158,  120,  569,  420], bicycle
--------------------------------------
(ort) root@maixbox:/home/ax-samples/build/install/ax650#

报错信息:

ERROR,Func(__syslog_parma_cfg_get), NOT find = '/etc/ax_syslog.conf'

测试后推理的图片: O4GILTHBP7G_T56CFA`HG{T