diff --git a/README.md b/README.md index 31271bfb32ce19df1e9b4b8e23c532a1f678e867..f99e79d41e76f661d1e5d76edeca0812505e2088 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ X2Paddle支持将Caffe和TensorFlow模型转至PaddlePaddle模型 ## [onnx2fluid](onnx2fluid) 1. 支持将ONNX模型转至PaddlePaddle fluid可加载预测模型 -2. Pytorch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换 +2. PyTorch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换 # 贡献代码 clone代码至本地后,先运行`X2Paddle/commit-prepare.sh`配置代码提交环境 diff --git a/onnx2fluid/README.md b/onnx2fluid/README.md index eebe5c2f262395a7311678799b968746bc854d8b..19397e5e1592610e21fe52d84c16fbf4b3a1636b 100644 --- a/onnx2fluid/README.md +++ b/onnx2fluid/README.md @@ -2,13 +2,13 @@ [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) -onnx2fluid支持将onnx模型转换为PaddlePaddle模型,并用于预测,用户也可以通过将Pytorch模型导出为ONNX格式模型,再使用onnx2fluid将模型转为PaddlePaddle模型。 +onnx2fluid支持将onnx模型转换为PaddlePaddle模型,并用于预测,用户也可以通过将PyTorch模型导出为ONNX格式模型,再使用onnx2fluid将模型转为PaddlePaddle模型。 ## 环境安装 工具开发过程中,我们在如下环境配置中测试模型转换: -* python3.5+ +* python 3.5+ * onnx == 1.4.0 * paddlepaddle == 1.3.0 diff --git a/onnx2fluid/README_en.md b/onnx2fluid/README_en.md index 188c0ca3e5279825d5361a644c3730a31a063988..1adf73e23cf91f36428ecf4484304797b4ea3ed5 100644 --- a/onnx2fluid/README_en.md +++ b/onnx2fluid/README_en.md @@ -2,11 +2,11 @@ [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) -onnx2fluid supports converting ONNX model to PaddlePaddle Model for prediction. +onnx2fluid supports converting ONNX model to PaddlePaddle Model for prediction. ## Running Environment -* python3.5+ (python2 working in progress) +* python 3.5+ (python 2 working in progress) * onnx == 1.4.0 * paddlepaddle == 1.3.0 diff --git a/onnx2fluid/examples/gen_some_samples.py b/onnx2fluid/examples/gen_some_samples.py index 11f17b9c4a5d587af5bb6b39b6d579cacdee6eb8..1b1cd84a73e930fca29bd95dec51c22a165fb599 100644 --- a/onnx2fluid/examples/gen_some_samples.py +++ b/onnx2fluid/examples/gen_some_samples.py @@ -5,8 +5,8 @@ Created on Fri Mar 22 11:19:45 2019 @author: Macrobull -Not all ops in this file are supported by both Pytorch and ONNX -This only demostrates the conversion/validation workflow from Pytorch to ONNX to Paddle fluid +Not all ops in this file are supported by both PyTorch and ONNX +This only demostrates the conversion/validation workflow from PyTorch to ONNX to Paddle fluid """ diff --git a/onnx2fluid/examples/gen_unet.py b/onnx2fluid/examples/gen_unet.py index 8f031b0d8af55fd0b918a2468c28ad69e2bd9894..851dcecefce2e3cf9a1155dc64b856106bd7ed31 100644 --- a/onnx2fluid/examples/gen_unet.py +++ b/onnx2fluid/examples/gen_unet.py @@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019 @author: Macrobull -Not all ops in this file are supported by both Pytorch and ONNX -This only demostrates the conversion/validation workflow from Pytorch to ONNX to Paddle fluid - """ from __future__ import print_function diff --git a/onnx2fluid/examples/gen_yolov2.py b/onnx2fluid/examples/gen_yolov2.py index d14d0724ac708151763587031eba9a4329e1b6cd..36761490b9c80353fa485f13e7674816b8d76e29 100644 --- a/onnx2fluid/examples/gen_yolov2.py +++ b/onnx2fluid/examples/gen_yolov2.py @@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019 @author: Macrobull -Not all ops in this file are supported by both Pytorch and ONNX -This only demostrates the conversion/validation workflow from Pytorch to ONNX to Paddle fluid - """ from __future__ import print_function