转换命令
atc --model=./model.onnx --framework=5 --output=./out_model --soc_version=Ascend310 --input_shape="data:1,3,800,600;im_info:1,3"
报错日志
ATC start working now, please wait for a moment.
[WARNING][2021-04-06 02:00:50,003]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,404]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,410]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,444]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,467]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,488]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,515]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,562]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
[WARNING][2021-04-06 02:00:52,571]/home/HwHiAiUser/Ascend/ascend-toolkit/3.3.0.alpha001/x86_64-linux/atc/python/site-packages/te/tvm/contrib/ccec.py:549: DeprecationWarning: invalid escape sequence \L
ATC run failed, Please check the detail log, Try 'atc --help' for more information
E19010: Check op[AliasWithName_0]'s type[org.pytorch._caffe2::1::AliasWithName] failed, the type is unsupported.
E19010: Check op[AliasWithName_1]'s type[org.pytorch._caffe2::1::AliasWithName] failed, the type is unsupported.
E16005: The size of domain_version[2] should be equal to one.
请问这种情况怎么处理?
正常的话type应该是onnx.ai.11::AliasWithName
请问您onnx是怎么转的?
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
您好,onnx的问题已经解决,新的onnx转om存在不支持算子:
【模型链接】
链接:https://pan.baidu.com/s/1jvGsgnnGlAevQDilyA_rZg
提取码:u9wi
【ATC指令】
atc --model=mask_rcnn.onnx --framework=5 --input_format=NCHW --log=debug --soc_version=Ascend310 --input_shape="images:3,782,640" --output=11
【报错信息】
ATC start working now, please wait for a moment.
ATC run failed, Please check the detail log, Try 'atc --help' for more information
E19010: Check op[NonZero_1409]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[GatherND_1411]'s type[ai.onnx::11::GatherND] failed, the type is unsupported.
E19010: Check op[NonZero_1414]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[GatherND_1416]'s type[ai.onnx::11::GatherND] failed, the type is unsupported.
E19010: Check op[NonZero_1418]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[GatherND_1420]'s type[ai.onnx::11::GatherND] failed, the type is unsupported.
E19010: Check op[NonZero_1489]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1508]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1538]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1568]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1771]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1774]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[GatherND_1776]'s type[ai.onnx::11::GatherND] failed, the type is unsupported.
E19010: Check op[NonZero_1778]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[GatherND_1780]'s type[ai.onnx::11::GatherND] failed, the type is unsupported.
E19010: Check op[NonZero_1857]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1876]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1906]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
E19010: Check op[NonZero_1936]'s type[ai.onnx::11::NonZero] failed, the type is unsupported.
上面报不支持的两个算子中:
GatherND还在开发中,开发完成后如升版会通知,请关注。
NonZero暂不支持。
gatherND算子3月中旬已经上库,估计最新版本应该包含
nonzero算子预计6.30支持
如问题已解决,请关闭issue
登录 后才可以发表评论