Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONNX opset_verison 11 转为 Paddle 时 Round 算子不支持 #1013

Open
1 of 3 tasks
ZhangYuef opened this issue Jun 5, 2024 · 0 comments
Open
1 of 3 tasks

ONNX opset_verison 11 转为 Paddle 时 Round 算子不支持 #1013

ZhangYuef opened this issue Jun 5, 2024 · 0 comments

Comments

@ZhangYuef
Copy link

ZhangYuef commented Jun 5, 2024

问题描述

ONNX opset_verison 11 转为 Paddle 时 Round 算子不支持:

INFO:root:paddle.__version__ = 2.2.0
INFO:root:Now translating model from onnx to paddle.
model ir_version: 6, op version: 11
Shape inferencing ...
Shape inferenced.
/home/mambaforge/envs/paddle_py37/lib/python3.7/site-packages/x2paddle/decoder/onnx_decoder.py:369: DeprecationWarning: `mapping.TENSOR_TYPE_TO_NP_TYPE` is now deprecated and will be removed in a future release.To silence this warning, please use `helper.tensor_dtype_to_np_dtype` instead.
  TENSOR_TYPE_TO_NP_TYPE[item.type.tensor_type.elem_type],
Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 11.

========= 1 OPs are not supported yet ===========
========== Round ============

具体信息

  • 转换模型后用处
    • 使用 Paddle 框架/ PaddleInference 推理预测
    • 使用 Paddle-Lite 做移动端推理
    • 转换预训练参数,再使用 Paddle 进行模型开发

将模型在昆仑智能卡上进行部署推理。

  • 模型来源
    自己训练得到

  • 版本信息
    X2Paddle => :1.4.1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant