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

unsupported ops: conditional_block,select_input,tril_triu #1246

Closed
GreatV opened this issue May 8, 2024 · 1 comment
Closed

unsupported ops: conditional_block,select_input,tril_triu #1246

GreatV opened this issue May 8, 2024 · 1 comment

Comments

@GreatV
Copy link

GreatV commented May 8, 2024

Please fill in the information below so that we can solve the problem quickly, Thanks !

Describe the bug
A clear and concise description of what the bug is.

PaddleOCR 表格识别算法 无法导出onnx

https://github.com/PaddlePaddle/PaddleOCR/blob/main/doc/doc_ch/algorithm_overview.md#3-%E8%A1%A8%E6%A0%BC%E8%AF%86%E5%88%AB%E7%AE%97%E6%B3%95

Informations (please complete the following information):

  • Inference engine for deployment: onnx
  • Why convert to onnx:
  • Paddle2ONNX Version:
  • Email/Wechat/Phone:

Screenshots

paddle2onnx --model_dir inference/table_structure_tablemaster_infer --params_filename inference.pdiparams --model_filename inference.pdmodel  --save_file inference/table_structure_tablemaster_infer/best.onnx
[Paddle2ONNX] Start to parse PaddlePaddle model...
[Paddle2ONNX] Model file path: inference/table_structure_tablemaster_infer/inference.pdmodel
[Paddle2ONNX] Paramters file path: inference/table_structure_tablemaster_infer/inference.pdiparams
[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] Oops, there are some operators not supported yet, including conditional_block,select_input,tril_triu,
[ERROR] Due to the unsupported operators, the conversion is aborted.
Aborted (core dumped)

Additional context

@Zheng-Bicheng
Copy link
Collaborator

这些控制流太多了,不太好做支持,大部分算子在Paddle2.6都删除了

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

No branches or pull requests

2 participants