onnx2om报错
收藏回复举报
onnx2om报错
t('forum.solved') 已解决
新人帖
发表于2023-09-05 19:43:06
0 查看
 

(base) root@davinci-mini:/home/infer_project# python3 onnx2om.py 

bash common/onnx2om.sh --model=yolov5s --bs=1 --calib_bs=1 --soc=Ascend310B4 --type=fp16 

=== onnx2om args ===  

 version: 7.0  

 model: yolov5s  

 bs: 1  

 type: fp16  

 output_dir: output  

 soc: Ascend310B4 

Starting onnx导出om模型(无后处理) 

ATC start working now, please wait for a moment. 

ATC run failed, Please check the detail log, Try 'atc --help' for more information 

EE1001: The argument is invalid.Reason: Soc version [Ascend310B4] is invalid 

        TraceBack (most recent call last): 

        Call rtSetSocVersion(it->second.c_str()) fail, ret: 0x1A1F8[FUNC:SetRTSocVersion][FILE:gelib.cc][LINE:278] 

        SetRTSocVersion failed.[FUNC:Initialize][FILE:gelib.cc][LINE:72] 

 

onnx导出om模型 Success  

我要发帖子