Releases: PaddlePaddle/Paddle2ONNX
Releases · PaddlePaddle/Paddle2ONNX
Paddle2ONNX v0.9
New Feature
- Support define input shape dict. #383
New Operators and Functions
isfinite_v2
、acos
、asin
、atan
、ceil
、cos
、cosh
、arg_min
、elu
、hard_shrink
related pull request #357logical_not
、logical_or
、erf
、isinf_v2
、isnan
、floor_mod
、isnan_v2
、less_than
、log2
、logsumexp
related pull request #358selu
、logical_xor
、log10
、log1p
、reduce_all
、reduce_any
、round
、sin
、rsqrt
、sign
、logsigmoid
related pull request #362sinh
、brelu
、mv
、dot
、dist
、softsign
、log_softmax
、argsort
、index_select
、size
、pad1d
、hardtanh
related pull request #363conv3d
、pool3d
related pull request #405- Add onnx and onnxruntime version requirement prompts. #335
- Add the op development guide for Paddle2ONNX. #368
- Add nms plugin for openvino. #386
Bug Fix
pool2d
operator, related pull request #330resize
operator, related pull request #348pad3
operator, related pull request #349concat
operator, related pull request #377argmax
operator, Fix bugs in argmax op when dtype is int32, related pull request #393padding
operator, related pull request #400unsqueeze2
operator, related pull request #405- When exporting onnx, an error occurred when including a register_buffer. related pull request #356
Contributors
- Thanks to @AndPuQing for contributing 43 OPs in this release.
- Thanks to @SamDM for solving the problem of exporting models with register_buffer to ONNX in this release.
- Thanks to @franva for suggesting and fixing some small bugs for us in this release.
Paddle2ONNX v0.8
New Feature
- Automatic correction of opset version
- Support the fallback selection of custom op
New Operator Support
softplus
related pull request #252elementwise_mod
elementwise_floordiv
p_norm
depthwise_conv2d_transpose
group_norm
top_k
related pull request #293
Bug Fix
clip
operator, related pull request #280fill_constant_batch_size_like
operator, related pull request #318multiclass_nms
operator, fix issue of #315, related pull request #318top_k_v2
operator, related pull request #252expand_v2
operator, related pull request #252assign_value
operator, related pull request #252slice
operator, related pull request #268sum
operator, related pull request #293
Paddle2ONNX v0.7
Paddle2ONNX v0.6
New Model Support
Support 2.0 model toolkit
- PaddleDetection: 8 models structure supported
- PaddleSeg: All the models are supported
- PaddleClas: All the models are supported
- PaddleOCR: Server and mobile ocr models are supported
New operators Support
- softplus
- elementwise_mod
- elementwise_floordiv
- p_norm
- depthwise_conv2d_transpose
- group_norm
Bug Fix
- fill_constant_batch_size_like
- multiclass_nms
- top_k_v2
- expand_v2
- assign_value
- deformable_conv
- prelu
paddle2onnx 0.5
This upgrade is mainly to support more official featured models, including PPYOLO, PPOCR, FasterRCNN, ERNIE and ViT. In addition, we have a more comprehensive coverage test for PaddleSeg and PaddleClas . For more detailed upgrade, refer to the following list:
- Support PPYOLO, FasterRCNN, PPOCR, and ERNIE. Full support to convert PaddleClas models, including ViT (Vision Transformer). Please refer to docs/en/model_zoo.md
- Optimize the prompt of OpMapper support status.
- fix bug the incorrect input order of the model, such as yolov3.
- When pool is adative and ksize is [1,1], use gobal_pool to map adative_pool.
- Add a lot of English documents.
- Add tutorial for converting dynamic computational graph to ONNX.
paddle2onnx 0.4
- support paddle dygraph model convert to ONNX.
- add op_mapper register function
- support convert Paddle model(not combined)
- add simple tutorial
- add op_list
Paddle - ONNX Convertor
Now support for convert Paddle Model to ONNX Opset 9, 10, 11. please use --onnx_opset to set opset_version of onnx you want to convert.
Add support for Paddle operators:
- swish
- floor
- uniform_random
- abs
- instance_norm
- clip
- tanh
- log
- pad2d
- prelu
Paddle - ONNX Convertor
Add more models for PaddlePaddle Fluid model to ONNX model convertor.
Supports the following models:
- SE_ResNet50_vd
- SqueezeNet1_0
- SE_ResNext50_32x4d
- Xception41
- VGG16
- InceptionV4
- YoloV3
Paddle - ONNX Convertor
First release of the PaddlePaddle Fluid model to ONNX model convertor. Also called a frontend.
Supports the following models:
- fit_a_line
- recognize_digits
- VGG16 & ResNet50
- MobileNet
- SE_ResNeXt