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

GridSample, ReduceLogSumExp, Einsum三个算子不支持 #1005

Open
1 of 3 tasks
Jverson opened this issue Feb 2, 2024 · 0 comments
Open
1 of 3 tasks

GridSample, ReduceLogSumExp, Einsum三个算子不支持 #1005

Jverson opened this issue Feb 2, 2024 · 0 comments

Comments

@Jverson
Copy link

Jverson commented Feb 2, 2024

问题描述

  • 错误信息
    使用x2paddle将onnx模型转换成paddle时,提示opset_verison只支持到15,而我的onnx opset_verison是16,有3个算子不支持,转换失败。日志如下:
    Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 16.
    ========= 3 OPs are not supported yet ===========
    ========== GridSample ============
    ========== ReduceLogSumExp ============
    ========== Einsum ============
    Traceback (most recent call last):
    File "/data/miniconda3/envs/super_series/bin/x2paddle", line 8, in
    sys.exit(main())
    File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 489, in main
    onnx2paddle(
    File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/convert.py", line 304, in onnx2paddle
    mapper = ONNXOpMapper(model)
    File "/data/miniconda3/envs/super_series/lib/python3.8/site-packages/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 38, in init
    raise Exception("Model is not supported yet.")
    Exception: Model is not supported yet.

  • 错误截图
    企业微信截图_17068665127742

具体信息

  • 转换模型后用处
    • 使用 Paddle 框架/ PaddleInference 推理预测
    • 使用 Paddle-Lite 做移动端推理
    • 转换预训练参数,再使用 Paddle 进行模型开发
  • 模型来源
    SuperGlue:https://github.com/magicleap/SuperGluePretrainedNetwork
  • 应用场景
    图像配准
  • 版本信息
    PaddlePaddle = 2.3.2
    X2Paddle = 1.4.1
    来源框架版本ONNX opset_verison = 16
  • 您的联系方式(邮箱/微信/电话)

模型超过了25M,上传不了,若需要模型,可以通过其他方式发送

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