新增功能
- 新增转换记录统计功能 https://github.com/PaddlePaddle/X2Paddle/pull/766
- 针对 ONNX Transformer 模型,新增 LayerNorm pass,优化预测速度 https://github.com/PaddlePaddle/X2Paddle/pull/761
- HuggingFace 参数迁移功能 https://github.com/PaddlePaddle/X2Paddle/pull/748
新增模型支持
PyTorch->Paddle
- 图像修复算法:[Saicinpainting_LaMa](https://github.com/saic-mdal/lama)
ONNX->Paddle
- SOTA backbone:[SwinTransformer](https://github.com/open-mmlab/mmdetection/tree/master/configs/swin)
- 关键点检测算法:[Blazepose](https://arxiv.org/abs/2006.10204)
Caffe->Paddle
- 视频分割算法:[SegFlow](https://github.com/JingchunCheng/SegFlow)
TensorFlow->Paddle
- 图像生成算法:[Pix2Pix](https://github.com/affinelayer/pix2pix-tensorflow)
新增op
- 新增PyTorch op(5个):aten::complex、aten::real、aten::imag、aten::fft_rfftn、aten::fft_irfftn https://github.com/PaddlePaddle/X2Paddle/pull/729
- 新增ONNX op(5个):Sin、Cos、Neg、SpaceToDepth、GatherElement https://github.com/PaddlePaddle/X2Paddle/pull/723
- 新增PyTorch-Paddle api(2个):gather、scatter https://github.com/PaddlePaddle/X2Paddle/pull/726 https://github.com/PaddlePaddle/X2Paddle/pull/730
修复op
- 修复PyTorch op(1个):aten::_convolution https://github.com/PaddlePaddle/X2Paddle/pull/725
- 修复ONNX op(7个):pad、resize、Upsample 、Gather 、Slice 、convtranspose 、Split https://github.com/PaddlePaddle/X2Paddle/pull/716 https://github.com/PaddlePaddle/X2Paddle/pull/720 https://github.com/PaddlePaddle/X2Paddle/pull/722 https://github.com/PaddlePaddle/X2Paddle/pull/723 https://github.com/PaddlePaddle/X2Paddle/pull/749 https://github.com/PaddlePaddle/X2Paddle/pull/751
- 修复Caffe op(3个):scale、crop、Pow https://github.com/PaddlePaddle/X2Paddle/pull/721 https://github.com/PaddlePaddle/X2Paddle/pull/757
- 修复TensorFlow(3个):FusedBatchNorm、SpaceToBatchND、BatchToSpaceND https://github.com/PaddlePaddle/X2Paddle/pull/738 https://github.com/PaddlePaddle/X2Paddle/pull/741
修复功能
- 优化转换过程中的 log 提示 https://github.com/PaddlePaddle/X2Paddle/pull/764
- 更新外部框架一键转换为 Paddle Lite 模型文档,新增lite_valid_places选择类型 https://github.com/PaddlePaddle/X2Paddle/pull/758
- PyTorch2Paddle 动态shape转换指引 https://github.com/PaddlePaddle/X2Paddle/pull/732
Contributors
- Thanks to external developers for their contributions to open source projects!geoyee HUSTLX