Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
70bce3a5
M
models
项目概览
PaddlePaddle
/
models
大约 1 年 前同步成功
通知
222
Star
6828
Fork
2962
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
602
列表
看板
标记
里程碑
合并请求
255
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
models
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
602
Issue
602
列表
看板
标记
里程碑
合并请求
255
合并请求
255
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
70bce3a5
编写于
2月 26, 2018
作者:
L
Luo Tao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
move paddle.v2.fluid to paddle.fluid
上级
20f229ed
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
19 addition
and
19 deletion
+19
-19
fluid/DeepASR/infer.py
fluid/DeepASR/infer.py
+1
-1
fluid/DeepASR/model_utils/model.py
fluid/DeepASR/model_utils/model.py
+1
-1
fluid/DeepASR/tools/profile.py
fluid/DeepASR/tools/profile.py
+2
-2
fluid/DeepASR/train.py
fluid/DeepASR/train.py
+1
-1
fluid/adversarial/advbox/models/paddle.py
fluid/adversarial/advbox/models/paddle.py
+2
-2
fluid/adversarial/fluid_mnist.py
fluid/adversarial/fluid_mnist.py
+1
-1
fluid/adversarial/mnist_tutorial_fgsm.py
fluid/adversarial/mnist_tutorial_fgsm.py
+1
-1
fluid/adversarial/mnist_tutorial_jsma.py
fluid/adversarial/mnist_tutorial_jsma.py
+1
-1
fluid/image_classification/mobilenet.py
fluid/image_classification/mobilenet.py
+3
-3
fluid/image_classification/se_resnext.py
fluid/image_classification/se_resnext.py
+1
-1
fluid/policy_gradient/brain.py
fluid/policy_gradient/brain.py
+1
-1
fluid/text_classification/train.py
fluid/text_classification/train.py
+1
-1
fluid/transformer/model.py
fluid/transformer/model.py
+2
-2
fluid/transformer/train.py
fluid/transformer/train.py
+1
-1
未找到文件。
fluid/DeepASR/infer.py
浏览文件 @
70bce3a5
...
...
@@ -4,7 +4,7 @@ from __future__ import print_function
import
os
import
argparse
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
import
data_utils.augmentor.trans_mean_variance_norm
as
trans_mean_variance_norm
import
data_utils.augmentor.trans_add_delta
as
trans_add_delta
import
data_utils.augmentor.trans_splice
as
trans_splice
...
...
fluid/DeepASR/model_utils/model.py
浏览文件 @
70bce3a5
...
...
@@ -3,7 +3,7 @@ from __future__ import division
from
__future__
import
print_function
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
def
stacked_lstmp_model
(
hidden_dim
,
...
...
fluid/DeepASR/tools/profile.py
浏览文件 @
70bce3a5
...
...
@@ -7,8 +7,8 @@ import numpy as np
import
argparse
import
time
import
paddle.
v2.
fluid
as
fluid
import
paddle.
v2.
fluid.profiler
as
profiler
import
paddle.fluid
as
fluid
import
paddle.fluid.profiler
as
profiler
import
_init_paths
import
data_utils.augmentor.trans_mean_variance_norm
as
trans_mean_variance_norm
import
data_utils.augmentor.trans_add_delta
as
trans_add_delta
...
...
fluid/DeepASR/train.py
浏览文件 @
70bce3a5
...
...
@@ -8,7 +8,7 @@ import numpy as np
import
argparse
import
time
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
import
data_utils.augmentor.trans_mean_variance_norm
as
trans_mean_variance_norm
import
data_utils.augmentor.trans_add_delta
as
trans_add_delta
import
data_utils.augmentor.trans_splice
as
trans_splice
...
...
fluid/adversarial/advbox/models/paddle.py
浏览文件 @
70bce3a5
...
...
@@ -4,7 +4,7 @@ Paddle model
from
__future__
import
absolute_import
import
numpy
as
np
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
from
.base
import
Model
...
...
@@ -16,7 +16,7 @@ class PaddleModel(Model):
instance of PaddleModel.
Args:
program(paddle.
v2.
fluid.framework.Program): The program of the model
program(paddle.fluid.framework.Program): The program of the model
which generate the adversarial sample.
input_name(string): The name of the input.
logits_name(string): The name of the logits.
...
...
fluid/adversarial/fluid_mnist.py
浏览文件 @
70bce3a5
...
...
@@ -2,7 +2,7 @@
CNN on mnist data using fluid api of paddlepaddle
"""
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
def
mnist_cnn_model
(
img
):
...
...
fluid/adversarial/mnist_tutorial_fgsm.py
浏览文件 @
70bce3a5
...
...
@@ -3,7 +3,7 @@ FGSM demos on mnist using advbox tool.
"""
import
matplotlib.pyplot
as
plt
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
from
advbox
import
Adversary
from
advbox.attacks.gradientsign
import
GradientSignAttack
...
...
fluid/adversarial/mnist_tutorial_jsma.py
浏览文件 @
70bce3a5
...
...
@@ -3,7 +3,7 @@ FGSM demos on mnist using advbox tool.
"""
import
matplotlib.pyplot
as
plt
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
import
numpy
as
np
from
advbox
import
Adversary
...
...
fluid/image_classification/mobilenet.py
浏览文件 @
70bce3a5
import
os
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
from
paddle.
v2.
fluid.initializer
import
MSRA
from
paddle.
v2.
fluid.param_attr
import
ParamAttr
import
paddle.fluid
as
fluid
from
paddle.fluid.initializer
import
MSRA
from
paddle.fluid.param_attr
import
ParamAttr
parameter_attr
=
ParamAttr
(
initializer
=
MSRA
())
...
...
fluid/image_classification/se_resnext.py
浏览文件 @
70bce3a5
import
os
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
import
reader
...
...
fluid/policy_gradient/brain.py
浏览文件 @
70bce3a5
import
numpy
as
np
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
# reproducible
np
.
random
.
seed
(
1
)
...
...
fluid/text_classification/train.py
浏览文件 @
70bce3a5
...
...
@@ -5,7 +5,7 @@ import argparse
import
time
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
from
config
import
TrainConfig
as
conf
...
...
fluid/transformer/model.py
浏览文件 @
70bce3a5
...
...
@@ -2,8 +2,8 @@ from functools import partial
import
numpy
as
np
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.
v2.
fluid.layers
as
layers
import
paddle.fluid
as
fluid
import
paddle.fluid.layers
as
layers
from
config
import
TrainTaskConfig
,
input_data_names
,
pos_enc_param_names
...
...
fluid/transformer/train.py
浏览文件 @
70bce3a5
import
numpy
as
np
import
paddle.v2
as
paddle
import
paddle.
v2.
fluid
as
fluid
import
paddle.fluid
as
fluid
from
model
import
transformer
,
position_encoding_init
from
config
import
TrainTaskConfig
,
ModelHyperParams
,
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录