首先,下载官方yolov3.pth模型之后运行export.py 命令将模型转为.onnx文件。
其次,使用atc转换命令将.onnx文件转为.om文件,转化命令如下:
atc --model=yolov3-tiny.onnx --framework=5 --output=yolov3 --input_shape="images:1,3,360,360" --soc_version=Ascend310B4
之后,运行在官方下载的yolov3目标检测sample文件,运行命令如下:
cd $HOME/samples/cplusplus/level2_simple_inference/2_object_detection/YOLOV3_coco_detection_picture/scripts
bash sample_build.sh
bash sample_run.sh
在运行bash sample_run.sh命令时报如下错误:
[ERROR] execute model failed, modelId is 1
[ERROR] Execute model inference failed
[ERROR] Inference model inference output data failed

求教大佬是哪里的问题?
首先,下载官方yolov3.pth模型之后运行export.py 命令将模型转为.onnx文件。
其次,使用atc转换命令将.onnx文件转为.om文件,转化命令如下:
atc --model=yolov3-tiny.onnx --framework=5 --output=yolov3 --input_shape="images:1,3,360,360" --soc_version=Ascend310B4
之后,运行在官方下载的yolov3目标检测sample文件,运行命令如下:
cd $HOME/samples/cplusplus/level2_simple_inference/2_object_detection/YOLOV3_coco_detection_picture/scripts
bash sample_build.sh
bash sample_run.sh
在运行bash sample_run.sh命令时报如下错误:
[ERROR] execute model failed, modelId is 1
[ERROR] Execute model inference failed
[ERROR] Inference model inference output data failed
求教大佬是哪里的问题?