PP-DocLayoutV3 ONNX Version
#1
by alex-dinh - opened
Great work!
Hi @alex-dinh , how did you convert the model to onnx. Using paddlex --paddle2onnx fails. Did you have to modify any operator?
Thanks!
I detailed how to do the conversion in this PR here: https://github.com/PaddlePaddle/Paddle2ONNX/pull/1619
Hi, does your version enable batching? Currently, I can't batch on the native version because the authors hardcoded batch=1 as a literal integer in the torch source's attention/decoder
reshapes, and torch.onnx.export bakes those literals into frozen graph constants.