登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
6 月10 日(下周三晚 19:00)直播预告:龙虾还活着吗?来看 PocketClaw 上市两个月后对 AI 硬件的真实复盘,点击预约,开播有提醒~
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
68
Star
259
Fork
192
Ascend
/
modelzoo
暂停
代码
Issues
157
Pull Requests
9
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
atc模型转换出错
TODO
#IBHH9S
任务
SoulProficiency
创建于
2025-01-13 17:17
cann安装完毕后,推理功能正常,但是使用atc工具转换爆出相关问题: ``` [root@localhost ascend]# atc --model=./safeHelmet.onnx --framework=5 --output=./out/safeHelmet --soc_version=Ascend310P3 --log warning [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.122 [msprof_callback_impl.cpp:334] >>> (tid:2665688) Started to register profiling ctrl callback. [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.275 [msprof_callback_impl.cpp:341] >>> (tid:2665688) Started to register profiling hash id callback. [INFO] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.284 [prof_atls_plugin.cpp:117] (tid:2665688) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.290 [msprof_callback_impl.cpp:348] >>> (tid:2665688) Started to register profiling enable host freq callback. [INFO] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.296 [prof_atls_plugin.cpp:117] (tid:2665688) RegisterProfileCallback, callback type is 8 [INFO] ATRACE(2665688,atc.bin):2025-01-13-17:14:06.586.901 [trace_attr.c:188](tid:2665688) attr init success, timeout=0ms. [INFO] ATRACE(2665688,atc.bin):2025-01-13-17:14:06.586.964 [trace_recorder.c:121](tid:2665688) use root path: /root/ascend ATC start working now, please wait for a moment. [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.911 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for ./out/safeHelmet.om failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.979 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for check_result.json failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.996 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for =/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.005 [plugin_manager.cc:91]2665688 GetOppPath:[Call][RealPath] File path =/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ is invalid. [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.023 [plugin_manager.cc:862]2665688 GetOppSupportedOsAndCpuType:Can not get real path:=/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/built-in/op_proto/lib/, it may be an old version [ERROR] GE(2665688,atc.bin):2025-01-13-17:14:06.693.122 [option_utils.cc:1401]2665688 CheckHostEnvOsAndHostEnvCpuValid: ErrorNo: 4294967295(failed) [INIT][DEFAULT]The os [linux] not supported, support list is [], the supported os type is same as opp package. [ERROR] GE(2665688,atc.bin):2025-01-13-17:14:06.693.135 [main_impl.cc:1748]2665688 GenerateOmModel: ErrorNo: 4294967295(failed) [INIT][DEFAULT][Check][Flags] failed! Please check whether some atc params that include semicolons[;] use double quotation marks (") to enclose each argument such as out_nodes, input_shape, dynamic_image_size ... [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.159 [main_impl.cc:2078]2665688 CheckRet:ATC generate offline model failed. ATC run failed, Please check the detail log, Try 'atc --help' for more information E10001: [PID: 2665688] 2025-01-13-17:14:06.693.056 Value [linux] for parameter [--host_env_os] is invalid. Reason: The os [linux] not supported, support list is [], the supported os type is same as opp package. Solution: Try again with a valid argument. ``` warning排查,对应路径确实存在文件,以下是我的basrc: ``` . /usr/local/Ascend/ascend-toolkit/set_env.sh . /usr/local/Ascend/toolbox/set_env.sh . /usr/local/Ascend/nnae/set_env.sh . /usr/local/Ascend/nnrt/set_env.sh . /usr/local/Ascend/nnal/atb/set_env.sh export TBE_IMPL_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/built-in/op_impl/ai_core/tbe export ASCEND_OPP_PATH==/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ export ASCEND_AICPU_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3 export PYTHONPATH=/usr/bin/python3:$PYTHONPATH export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3/python/site-packages:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib:$LD_LIBRARY_PATH ``` 请问这个问题产生的原因是什么呢?
cann安装完毕后,推理功能正常,但是使用atc工具转换爆出相关问题: ``` [root@localhost ascend]# atc --model=./safeHelmet.onnx --framework=5 --output=./out/safeHelmet --soc_version=Ascend310P3 --log warning [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.122 [msprof_callback_impl.cpp:334] >>> (tid:2665688) Started to register profiling ctrl callback. [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.275 [msprof_callback_impl.cpp:341] >>> (tid:2665688) Started to register profiling hash id callback. [INFO] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.284 [prof_atls_plugin.cpp:117] (tid:2665688) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.290 [msprof_callback_impl.cpp:348] >>> (tid:2665688) Started to register profiling enable host freq callback. [INFO] PROFILING(2665688,atc.bin):2025-01-13-17:14:06.586.296 [prof_atls_plugin.cpp:117] (tid:2665688) RegisterProfileCallback, callback type is 8 [INFO] ATRACE(2665688,atc.bin):2025-01-13-17:14:06.586.901 [trace_attr.c:188](tid:2665688) attr init success, timeout=0ms. [INFO] ATRACE(2665688,atc.bin):2025-01-13-17:14:06.586.964 [trace_recorder.c:121](tid:2665688) use root path: /root/ascend ATC start working now, please wait for a moment. [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.911 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for ./out/safeHelmet.om failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.979 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for check_result.json failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.692.996 [file_utils.cc:47]2665688 RealPath:[Util][realpath] Get real_path for =/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ failed, reason:No such file or directory [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.005 [plugin_manager.cc:91]2665688 GetOppPath:[Call][RealPath] File path =/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ is invalid. [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.023 [plugin_manager.cc:862]2665688 GetOppSupportedOsAndCpuType:Can not get real path:=/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/built-in/op_proto/lib/, it may be an old version [ERROR] GE(2665688,atc.bin):2025-01-13-17:14:06.693.122 [option_utils.cc:1401]2665688 CheckHostEnvOsAndHostEnvCpuValid: ErrorNo: 4294967295(failed) [INIT][DEFAULT]The os [linux] not supported, support list is [], the supported os type is same as opp package. [ERROR] GE(2665688,atc.bin):2025-01-13-17:14:06.693.135 [main_impl.cc:1748]2665688 GenerateOmModel: ErrorNo: 4294967295(failed) [INIT][DEFAULT][Check][Flags] failed! Please check whether some atc params that include semicolons[;] use double quotation marks (") to enclose each argument such as out_nodes, input_shape, dynamic_image_size ... [WARNING] GE(2665688,atc.bin):2025-01-13-17:14:06.693.159 [main_impl.cc:2078]2665688 CheckRet:ATC generate offline model failed. ATC run failed, Please check the detail log, Try 'atc --help' for more information E10001: [PID: 2665688] 2025-01-13-17:14:06.693.056 Value [linux] for parameter [--host_env_os] is invalid. Reason: The os [linux] not supported, support list is [], the supported os type is same as opp package. Solution: Try again with a valid argument. ``` warning排查,对应路径确实存在文件,以下是我的basrc: ``` . /usr/local/Ascend/ascend-toolkit/set_env.sh . /usr/local/Ascend/toolbox/set_env.sh . /usr/local/Ascend/nnae/set_env.sh . /usr/local/Ascend/nnrt/set_env.sh . /usr/local/Ascend/nnal/atb/set_env.sh export TBE_IMPL_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/built-in/op_impl/ai_core/tbe export ASCEND_OPP_PATH==/usr/local/Ascend/ascend-toolkit/8.0.RC3/opp/ export ASCEND_AICPU_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3 export PYTHONPATH=/usr/bin/python3:$PYTHONPATH export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/8.0.RC3/python/site-packages:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib:$LD_LIBRARY_PATH ``` 请问这个问题产生的原因是什么呢?
评论 (
1
)
登录
后才可以发表评论
状态
TODO
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/ascend/modelzoo.git
git@gitee.com:ascend/modelzoo.git
ascend
modelzoo
modelzoo
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册