使用act将onnx模型转换成om格式报错:os not supported
收藏回复举报
使用act将onnx模型转换成om格式报错:os not supported
t('forum.solved') 已解决
新人帖
发表于2024-05-29 17:50:34
0 查看

系统环境

ubuntu18.04 arm64

设备型号: Atlas 200-3000-EP

安装工具包版本 |==========================================================================================| | Package | Version | Status | Innerversion | Dependencies | +---------------------+-------------------+---------------------------+---------------------------+----------------------------+ | npu-driver | 22.0.4 | OK | V100R001C84SPC001B316 | NA | +---------------------+-------------------+---------------------------+---------------------------+----------------------------+ | npu-firmware | 1.84.15.1.310 | OK | NA | NA | +---------------------+-------------------+---------------------------+---------------------------+----------------------------+ | nnrt | 6.3.RC1.alpha001 | OK | V100R001C84B121SPC008 | NA | +---------------------+-------------------+---------------------------+---------------------------+----------------------------+ | toolkit | 6.3.RC1.alpha001 | OK | V100R001C84B121SPC008 | NA | +---------------------+-------------------+---------------------------+---------------------------+----------------------------+ | toolbox | 5.0.RC1 | OK | NA | NA | |==============================================================================================================================|

问题描述

运行命令:

atc --model=yolov5l_nms.onnx --output=yolov5l_nms_bs1 --framework=5 --input_format=NCHW --soc_version=Ascend310

报错:

E10001: Value [linux] for parameter [host env os] is invalid. Reason: os not supported, support setting are the OS types of opp package.
        Solution: Try again with a valid argument.

运行命令:

atc --model=yolov5l_nms.onnx --output=yolov5l_nms_bs1 --framework=5 --input_format=NCHW --soc_version=Ascend310 --log=error --input_shape="images:1,3,640,640;img_info:1,4" --input_fp16_nodes="images;img_info" --output_type=FP16 --optypelist_for_implmode="Sigmoid" --op_select_implmode=high_performance --host_env_os=linux

报一样的错误

备注信息:

  • 尝试使用6.3.RC1的nnrt和toolkit也报一样的错误
  • 已在bashrc里配置ascend相关环境变量
  • ascend-dminpu-smi命令均能正常输出

我要发帖子