提交 552c2c24 编写于 作者: M Macrobull

fix doc

上级 65156e1b
...@@ -15,7 +15,7 @@ X2Paddle支持将Caffe和TensorFlow模型转至PaddlePaddle模型 ...@@ -15,7 +15,7 @@ X2Paddle支持将Caffe和TensorFlow模型转至PaddlePaddle模型
## [onnx2fluid](onnx2fluid) ## [onnx2fluid](onnx2fluid)
1. 支持将ONNX模型转至PaddlePaddle fluid可加载预测模型 1. 支持将ONNX模型转至PaddlePaddle fluid可加载预测模型
2. Pytorch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换 2. PyTorch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换
# 贡献代码 # 贡献代码
clone代码至本地后,先运行`X2Paddle/commit-prepare.sh`配置代码提交环境 clone代码至本地后,先运行`X2Paddle/commit-prepare.sh`配置代码提交环境
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) [![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 * onnx == 1.4.0
* paddlepaddle == 1.3.0 * paddlepaddle == 1.3.0
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE) [![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 ## Running Environment
* python3.5+ (python2 working in progress) * python 3.5+ (python 2 working in progress)
* onnx == 1.4.0 * onnx == 1.4.0
* paddlepaddle == 1.3.0 * paddlepaddle == 1.3.0
......
...@@ -5,8 +5,8 @@ Created on Fri Mar 22 11:19:45 2019 ...@@ -5,8 +5,8 @@ Created on Fri Mar 22 11:19:45 2019
@author: Macrobull @author: Macrobull
Not all ops in this file are supported by both Pytorch and ONNX 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 This only demostrates the conversion/validation workflow from PyTorch to ONNX to Paddle fluid
""" """
......
...@@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019 ...@@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019
@author: Macrobull @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 from __future__ import print_function
......
...@@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019 ...@@ -5,9 +5,6 @@ Created on Fri Mar 22 11:19:45 2019
@author: Macrobull @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 from __future__ import print_function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册