Paddle2ONNX icon indicating copy to clipboard operation
Paddle2ONNX copied to clipboard

unsupported operator: unfold

Open GreatV opened this issue 9 months ago • 4 comments

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.

[Paddle2ONNX] Start to parsing Paddle model...
[Paddle2ONNX] Oops, there are some operators not supported yet, including unfold,
[ERROR] Due to the unsupported operators, the conversion is aborted.

Informations (please complete the following information):

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

Screenshots

image

Additional context

repo: https://github.com/GreatV/DocTrPP convert script: python export.py --model best.ckpt --format onnx

GreatV avatar Apr 28 '24 14:04 GreatV

大佬,你的Paddle版本是多少

Zheng-Bicheng avatar Apr 29 '24 04:04 Zheng-Bicheng

  • 可以考虑用 Col2Im 来实现:https://onnx.ai/onnx/operators/onnx__Col2Im.html

Zheng-Bicheng avatar Apr 29 '24 04:04 Zheng-Bicheng

paddle 版本是 2.6.1

GreatV avatar Apr 29 '24 04:04 GreatV

col2im好像opset 18才引入

GreatV avatar May 01 '24 09:05 GreatV

  • https://github.com/PaddlePaddle/Paddle2ONNX/pull/1325

Zheng-Bicheng avatar Jul 15 '24 03:07 Zheng-Bicheng