Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
X2Paddle
提交
552c2c24
X
X2Paddle
项目概览
PaddlePaddle
/
X2Paddle
大约 2 年 前同步成功
通知
329
Star
698
Fork
167
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
26
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
X2Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
26
Issue
26
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
552c2c24
编写于
4月 09, 2019
作者:
M
Macrobull
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix doc
上级
65156e1b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
13 deletion
+7
-13
README.md
README.md
+1
-1
onnx2fluid/README.md
onnx2fluid/README.md
+2
-2
onnx2fluid/README_en.md
onnx2fluid/README_en.md
+2
-2
onnx2fluid/examples/gen_some_samples.py
onnx2fluid/examples/gen_some_samples.py
+2
-2
onnx2fluid/examples/gen_unet.py
onnx2fluid/examples/gen_unet.py
+0
-3
onnx2fluid/examples/gen_yolov2.py
onnx2fluid/examples/gen_yolov2.py
+0
-3
未找到文件。
README.md
浏览文件 @
552c2c24
...
@@ -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.
Py
t
orch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换
2.
Py
T
orch支持导出为ONNX模型,因此也可通过onnx2fluid支持PyTorch模型的转换
# 贡献代码
# 贡献代码
clone代码至本地后,先运行
`X2Paddle/commit-prepare.sh`
配置代码提交环境
clone代码至本地后,先运行
`X2Paddle/commit-prepare.sh`
配置代码提交环境
onnx2fluid/README.md
浏览文件 @
552c2c24
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
[

](LICENSE)
[

](LICENSE)
onnx2fluid支持将onnx模型转换为PaddlePaddle模型,并用于预测,用户也可以通过将Py
t
orch模型导出为ONNX格式模型,再使用onnx2fluid将模型转为PaddlePaddle模型。
onnx2fluid支持将onnx模型转换为PaddlePaddle模型,并用于预测,用户也可以通过将Py
T
orch模型导出为ONNX格式模型,再使用onnx2fluid将模型转为PaddlePaddle模型。
## 环境安装
## 环境安装
工具开发过程中,我们在如下环境配置中测试模型转换:
工具开发过程中,我们在如下环境配置中测试模型转换:
*
python3.5+
*
python
3.5+
*
onnx == 1.4.0
*
onnx == 1.4.0
*
paddlepaddle == 1.3.0
*
paddlepaddle == 1.3.0
...
...
onnx2fluid/README_en.md
浏览文件 @
552c2c24
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
[

](LICENSE)
[

](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
*
python
3.5+ (python
2 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
...
...
onnx2fluid/examples/gen_some_samples.py
浏览文件 @
552c2c24
...
@@ -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 Py
t
orch and ONNX
Not all ops in this file are supported by both Py
T
orch and ONNX
This only demostrates the conversion/validation workflow from Py
t
orch to ONNX to Paddle fluid
This only demostrates the conversion/validation workflow from Py
T
orch to ONNX to Paddle fluid
"""
"""
...
...
onnx2fluid/examples/gen_unet.py
浏览文件 @
552c2c24
...
@@ -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
...
...
onnx2fluid/examples/gen_yolov2.py
浏览文件 @
552c2c24
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录