E12011: IR for optype[Conv2D] is not registered

举报
caiwenjian 发表于 2021/01/12 14:26:27 2021/01/12
【摘要】 问题现象:cann 20.1 版本 ATC 报错 信息如下:E19000: Path[/usr/local/Ascend/ascend-toolkit/20.1.rc1/arm64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310]'s realpath is empty, errmsg[The file path does not ...

问题现象:

cann 20.1 版本 ATC 报错 信息如下:

E19000: Path[/usr/local/Ascend/ascend-toolkit/20.1.rc1/arm64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310]'s realpath is empty, errmsg[The file path does not exist.]
E12011: IR for op[cal_loss_and_accuracy/conv1_1_cal/conv1_1_conv/Conv2D] optype[Conv2D] is not registered.

解决方案:

mkdir -p /usr/local/Ascend/ascend-toolkit/20.1.rc1/arm64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310

环境变量设置为:

install_path=/usr/local/Ascend/ascend-toolkit/latest

export PATH=/usr/local/python3.7.5/bin:${install_path}/atc/ccec_compiler/bin:${install_path}/atc/bin:$PATH
export PYTHONPATH=${install_path}/atc/python/site-packages:${install_path}/atc/python/site-packages/auto_tune.egg/auto_tune:${install_path}/atc/python/site-packages/schedu
le_search.egg:$PYTHONPATH
export LD_LIBRARY_PATH=${install_path}/atc/lib64:$LD_LIBRARY_PATH
export ASCEND_OPP_PATH=${install_path}/opp
export SLOG_PRINT_TO_STDOUT=1

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。