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

Exception: Model is not supported yet. #1094

Open
1 of 2 tasks
ChristoCai opened this issue Nov 11, 2024 · 1 comment
Open
1 of 2 tasks

Exception: Model is not supported yet. #1094

ChristoCai opened this issue Nov 11, 2024 · 1 comment

Comments

@ChristoCai
Copy link

ChristoCai commented Nov 11, 2024

问题描述

Traceback (most recent call last):
File "/home/pc/anaconda3/envs/x2paddle/bin/x2paddle", line 33, in
sys.exit(load_entry_point('x2paddle==1.4.1', 'console_scripts', 'x2paddle')())
File "/home/pc/anaconda3/envs/x2paddle/lib/python3.9/site-packages/x2paddle/convert.py", line 501, in main
onnx2paddle(args.model,
File "/home/pc/anaconda3/envs/x2paddle/lib/python3.9/site-packages/x2paddle/convert.py", line 316, in onnx2paddle
mapper = ONNXOpMapper(model)
File "/home/pc/anaconda3/envs/x2paddle/lib/python3.9/site-packages/x2paddle/op_mapper/onnx2paddle/onnx_op_mapper.py", line 39, in init
raise Exception("Model is not supported yet.")
Exception: Model is not supported yet.

  • 错误信息
  • 错误截图
    image

具体信息

@megemini
Copy link
Contributor

报的错误是缺少 onnx 算子 ~ 目前支持的算子可以参考 https://github.com/PaddlePaddle/X2Paddle/blob/develop/docs/inference_model_convertor/op_list.md

这里缺少的算子只能看看后续有没有维护计划,或者自己尝试添加一下算子的实现了 ~

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

2 participants