X2paddle

Latest version: v1.4.1

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

1.2.3

新增模型转换
ONNX2Paddle新增模型转换:[RetinaNet](https://github.com/open-mmlab/mmdetection/blob/master/configs/retinanet/retinanet_r50_fpn_1x_coco.py)、[FSAF](https://github.com/open-mmlab/mmdetection/blob/master/configs/fsaf/fsaf_r50_fpn_1x_coco.py)、[SSD](https://github.com/open-mmlab/mmdetection/blob/master/configs/ssd/ssd300_coco.py)、[Faster R-CNN](https://github.com/open-mmlab/mmdetection/blob/master/configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py)

1.2.2

优化功能
1. Caffe Pooling:支持kernel_size=0的情况。
2. ONNX Resize:支持3d Tensor的转换。
3. 支持PaddlePaddle 2.0.x 中的paddle type。

1.2.1

新增功能
- 支持使用PaddlePaddle 2.1.0进行转换。
使用优化
- 移除静态图代码模式,全面切换为基于Paddle动态图代码的转换。
新增可转换的ONNX模型
- [MMDetection Fcos](https://github.com/open-mmlab/mmdetection/blob/master/configs/fcos/fcos_r50_caffe_fpn_gn-head_1x_coco.py)
- [MMDetection Yolov3](https://github.com/open-mmlab/mmdetection/blob/master/configs/yolo/yolov3_d53_mstrain-608_273e_coco.py)

1.2.0

新增功能

- 支持PyTorch训练项目转换,使用方式详见[文档](https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor#readme)。
- 新增PyTorch-PaddlePaddle API [映射表](https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs)。
新增可转换的PyTorch项目
- 支持转换的项目:[StarGAN](https://github.com/yunjey/stargan)、[Ultra-Light-Fast-Generic-Face-Detector-1MB](https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB)。

1.1.0

新增支持转的模型
[SwinTransformer](https://github.com/microsoft/Swin-Transformer/)、[BASNet](https://github.com/xuebinqin/BASNet)、[DBFace](https://github.com/dlunion/DBFace)、[EasyOCR](https://github.com/JaidedAI/EasyOCR)、[CifarNet](https://github.com/tensorflow/models/blob/master/research/slim/nets/cifarnet.py)等。
新增功能
- 修复Windows上使用本工具的bug。
- 新增TensorFlow op映射(4个):SplitV、ReverseV2、BatchToSpaceND、SpaceToBatchND。
- 新增PyTorch op映射(11个):aten::index、aten::roll、aten::adaptive_avg_pool1d、aten::reflection_pad2d、aten::reflection_pad1d、aten::instance_norm、aten::gru、aten::norm、aten::clamp_min、aten::prelu、aten:split_with_sizes。
- 新增ONNX op映射(1个):DepthToSpace。
- 新增Caffe op映射(1个):MemoryData。

1.0.2

功能更新
PyTorch
- 新增支持的op:aten::index、aten::roll、aten::adaptive_avg_pool1d、aten::reflection_pad2d、aten::reflection_pad1d、aten::instance_norm、aten::gru、aten::norm、aten::clamp_min、aten:prelu、aten:split_with_sizes
- 新增支持转换的模型:[SwinTransformer](https://github.com/microsoft/Swin-Transformer/)、[BASNet](https://github.com/xuebinqin/BASNet)、[DBFace](https://github.com/dlunion/DBFace)、[EasyOCR](https://github.com/JaidedAI/EasyOCR)等
TensorFlow
- 新增支持的op:SplitV、ReverseV2
ONNX
- 新增支持的op:DepthToSpace
- 新增支持转换的模型:[CifarNet](https://github.com/tensorflow/models/blob/master/research/slim/nets/cifarnet.py)等
Caffe
- 新增支持的op:MemoryData

Bug修复
全局
- 修复中文编码问题。
- 修复路径设置问题,支持Windows上使用本工具。
Caffe
- BatchNorm映射不支持输入shape为2维的情况。
TensorFlow
- Transpose映射`perm`为Tensor的情况。
- Pad映射无法获取`pad_mode`的情况。
ONNX
- Pad映射不支持`pad`长度为10的情况。

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.