Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
2b156739
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看板
未验证
提交
2b156739
编写于
1月 14, 2019
作者:
W
Wu Yi
提交者:
GitHub
1月 14, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1643 from typhoonzero/fix_previous_bug
fix previous merge bug
上级
2ffa0a93
369797ca
变更
19
显示空白变更内容
内联
并排
Showing
19 changed file
with
0 addition
and
19 deletion
+0
-19
fluid/PaddleCV/image_classification/models/alexnet.py
fluid/PaddleCV/image_classification/models/alexnet.py
+0
-1
fluid/PaddleCV/image_classification/models/dpn.py
fluid/PaddleCV/image_classification/models/dpn.py
+0
-1
fluid/PaddleCV/image_classification/models/inception_v4.py
fluid/PaddleCV/image_classification/models/inception_v4.py
+0
-1
fluid/PaddleCV/image_classification/models/mobilenet.py
fluid/PaddleCV/image_classification/models/mobilenet.py
+0
-1
fluid/PaddleCV/image_classification/models/mobilenet_v2.py
fluid/PaddleCV/image_classification/models/mobilenet_v2.py
+0
-1
fluid/PaddleCV/image_classification/models/resnet.py
fluid/PaddleCV/image_classification/models/resnet.py
+0
-1
fluid/PaddleCV/image_classification/models/resnet_dist.py
fluid/PaddleCV/image_classification/models/resnet_dist.py
+0
-1
fluid/PaddleCV/image_classification/models/se_resnext.py
fluid/PaddleCV/image_classification/models/se_resnext.py
+0
-1
fluid/PaddleCV/image_classification/models/shufflenet_v2.py
fluid/PaddleCV/image_classification/models/shufflenet_v2.py
+0
-1
fluid/PaddleCV/image_classification/models/vgg.py
fluid/PaddleCV/image_classification/models/vgg.py
+0
-1
fluid/PaddleCV/image_classification/models_name/alexnet.py
fluid/PaddleCV/image_classification/models_name/alexnet.py
+0
-1
fluid/PaddleCV/image_classification/models_name/dpn.py
fluid/PaddleCV/image_classification/models_name/dpn.py
+0
-1
fluid/PaddleCV/image_classification/models_name/inception_v4.py
...PaddleCV/image_classification/models_name/inception_v4.py
+0
-1
fluid/PaddleCV/image_classification/models_name/mobilenet.py
fluid/PaddleCV/image_classification/models_name/mobilenet.py
+0
-1
fluid/PaddleCV/image_classification/models_name/mobilenet_v2.py
...PaddleCV/image_classification/models_name/mobilenet_v2.py
+0
-1
fluid/PaddleCV/image_classification/models_name/resnet.py
fluid/PaddleCV/image_classification/models_name/resnet.py
+0
-1
fluid/PaddleCV/image_classification/models_name/se_resnext.py
...d/PaddleCV/image_classification/models_name/se_resnext.py
+0
-1
fluid/PaddleCV/image_classification/models_name/shufflenet_v2.py
...addleCV/image_classification/models_name/shufflenet_v2.py
+0
-1
fluid/PaddleCV/image_classification/models_name/vgg.py
fluid/PaddleCV/image_classification/models_name/vgg.py
+0
-1
未找到文件。
fluid/PaddleCV/image_classification/models/alexnet.py
浏览文件 @
2b156739
...
@@ -142,7 +142,6 @@ class AlexNet():
...
@@ -142,7 +142,6 @@ class AlexNet():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
fc7
,
input
=
fc7
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)),
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)),
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
...
...
fluid/PaddleCV/image_classification/models/dpn.py
浏览文件 @
2b156739
...
@@ -94,7 +94,6 @@ class DPN(object):
...
@@ -94,7 +94,6 @@ class DPN(object):
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
))
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
))
fc6
=
fluid
.
layers
.
fc
(
input
=
pool5
,
fc6
=
fluid
.
layers
.
fc
(
input
=
pool5
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
param_attr
)
param_attr
=
param_attr
)
return
fc6
return
fc6
...
...
fluid/PaddleCV/image_classification/models/inception_v4.py
浏览文件 @
2b156739
...
@@ -47,7 +47,6 @@ class InceptionV4():
...
@@ -47,7 +47,6 @@ class InceptionV4():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
drop
,
input
=
drop
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)))
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)))
return
out
return
out
...
...
fluid/PaddleCV/image_classification/models/mobilenet.py
浏览文件 @
2b156739
...
@@ -120,7 +120,6 @@ class MobileNet():
...
@@ -120,7 +120,6 @@ class MobileNet():
output
=
fluid
.
layers
.
fc
(
input
=
input
,
output
=
fluid
.
layers
.
fc
(
input
=
input
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
return
output
return
output
...
...
fluid/PaddleCV/image_classification/models/mobilenet_v2.py
浏览文件 @
2b156739
...
@@ -73,7 +73,6 @@ class MobileNetV2():
...
@@ -73,7 +73,6 @@ class MobileNetV2():
output
=
fluid
.
layers
.
fc
(
input
=
input
,
output
=
fluid
.
layers
.
fc
(
input
=
input
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
return
output
return
output
...
...
fluid/PaddleCV/image_classification/models/resnet.py
浏览文件 @
2b156739
...
@@ -60,7 +60,6 @@ class ResNet():
...
@@ -60,7 +60,6 @@ class ResNet():
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)))
stdv
)))
...
...
fluid/PaddleCV/image_classification/models/resnet_dist.py
浏览文件 @
2b156739
...
@@ -62,7 +62,6 @@ class DistResNet():
...
@@ -62,7 +62,6 @@ class DistResNet():
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
stdv
),
...
...
fluid/PaddleCV/image_classification/models/se_resnext.py
浏览文件 @
2b156739
...
@@ -110,7 +110,6 @@ class SE_ResNeXt():
...
@@ -110,7 +110,6 @@ class SE_ResNeXt():
stdv
=
1.0
/
math
.
sqrt
(
drop
.
shape
[
1
]
*
1.0
)
stdv
=
1.0
/
math
.
sqrt
(
drop
.
shape
[
1
]
*
1.0
)
out
=
fluid
.
layers
.
fc
(
input
=
drop
,
out
=
fluid
.
layers
.
fc
(
input
=
drop
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)))
stdv
)))
...
...
fluid/PaddleCV/image_classification/models/shufflenet_v2.py
浏览文件 @
2b156739
...
@@ -93,7 +93,6 @@ class ShuffleNetV2():
...
@@ -93,7 +93,6 @@ class ShuffleNetV2():
output
=
fluid
.
layers
.
fc
(
input
=
pool_last
,
output
=
fluid
.
layers
.
fc
(
input
=
pool_last
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
param_attr
=
ParamAttr
(
initializer
=
MSRA
()))
return
output
return
output
...
...
fluid/PaddleCV/image_classification/models/vgg.py
浏览文件 @
2b156739
...
@@ -64,7 +64,6 @@ class VGGNet():
...
@@ -64,7 +64,6 @@ class VGGNet():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
fc2
,
input
=
fc2
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Normal
(
scale
=
0.005
)),
initializer
=
fluid
.
initializer
.
Normal
(
scale
=
0.005
)),
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
...
...
fluid/PaddleCV/image_classification/models_name/alexnet.py
浏览文件 @
2b156739
...
@@ -159,7 +159,6 @@ class AlexNet():
...
@@ -159,7 +159,6 @@ class AlexNet():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
fc7
,
input
=
fc7
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
name
=
layer_name
[
7
]
+
"_offset"
),
name
=
layer_name
[
7
]
+
"_offset"
),
...
...
fluid/PaddleCV/image_classification/models_name/dpn.py
浏览文件 @
2b156739
...
@@ -122,7 +122,6 @@ class DPN(object):
...
@@ -122,7 +122,6 @@ class DPN(object):
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
))
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
))
fc6
=
fluid
.
layers
.
fc
(
input
=
pool5
,
fc6
=
fluid
.
layers
.
fc
(
input
=
pool5
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
param_attr
,
param_attr
=
param_attr
,
name
=
"fc6"
)
name
=
"fc6"
)
...
...
fluid/PaddleCV/image_classification/models_name/inception_v4.py
浏览文件 @
2b156739
...
@@ -48,7 +48,6 @@ class InceptionV4():
...
@@ -48,7 +48,6 @@ class InceptionV4():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
drop
,
input
=
drop
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
param_attr
=
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
name
=
"final_fc_weights"
),
name
=
"final_fc_weights"
),
...
...
fluid/PaddleCV/image_classification/models_name/mobilenet.py
浏览文件 @
2b156739
...
@@ -130,7 +130,6 @@ class MobileNet():
...
@@ -130,7 +130,6 @@ class MobileNet():
output
=
fluid
.
layers
.
fc
(
input
=
input
,
output
=
fluid
.
layers
.
fc
(
input
=
input
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
param_attr
=
ParamAttr
(
initializer
=
MSRA
(),
name
=
"fc7_weights"
),
initializer
=
MSRA
(),
name
=
"fc7_weights"
),
bias_attr
=
ParamAttr
(
name
=
"fc7_offset"
))
bias_attr
=
ParamAttr
(
name
=
"fc7_offset"
))
...
...
fluid/PaddleCV/image_classification/models_name/mobilenet_v2.py
浏览文件 @
2b156739
...
@@ -80,7 +80,6 @@ class MobileNetV2():
...
@@ -80,7 +80,6 @@ class MobileNetV2():
output
=
fluid
.
layers
.
fc
(
input
=
input
,
output
=
fluid
.
layers
.
fc
(
input
=
input
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
name
=
'fc10_weights'
),
param_attr
=
ParamAttr
(
name
=
'fc10_weights'
),
bias_attr
=
ParamAttr
(
name
=
'fc10_offset'
))
bias_attr
=
ParamAttr
(
name
=
'fc10_offset'
))
return
output
return
output
...
...
fluid/PaddleCV/image_classification/models_name/resnet.py
浏览文件 @
2b156739
...
@@ -74,7 +74,6 @@ class ResNet():
...
@@ -74,7 +74,6 @@ class ResNet():
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
stdv
=
1.0
/
math
.
sqrt
(
pool
.
shape
[
1
]
*
1.0
)
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
out
=
fluid
.
layers
.
fc
(
input
=
pool
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
)))
stdv
)))
...
...
fluid/PaddleCV/image_classification/models_name/se_resnext.py
浏览文件 @
2b156739
...
@@ -123,7 +123,6 @@ class SE_ResNeXt():
...
@@ -123,7 +123,6 @@ class SE_ResNeXt():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
drop
,
input
=
drop
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
param_attr
=
ParamAttr
(
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
initializer
=
fluid
.
initializer
.
Uniform
(
-
stdv
,
stdv
),
name
=
'fc6_weights'
),
name
=
'fc6_weights'
),
...
...
fluid/PaddleCV/image_classification/models_name/shufflenet_v2.py
浏览文件 @
2b156739
...
@@ -97,7 +97,6 @@ class ShuffleNetV2():
...
@@ -97,7 +97,6 @@ class ShuffleNetV2():
output
=
fluid
.
layers
.
fc
(
input
=
pool_last
,
output
=
fluid
.
layers
.
fc
(
input
=
pool_last
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
ParamAttr
(
param_attr
=
ParamAttr
(
initializer
=
MSRA
(),
name
=
'fc6_weights'
),
initializer
=
MSRA
(),
name
=
'fc6_weights'
),
bias_attr
=
ParamAttr
(
name
=
'fc6_offset'
))
bias_attr
=
ParamAttr
(
name
=
'fc6_offset'
))
...
...
fluid/PaddleCV/image_classification/models_name/vgg.py
浏览文件 @
2b156739
...
@@ -61,7 +61,6 @@ class VGGNet():
...
@@ -61,7 +61,6 @@ class VGGNet():
out
=
fluid
.
layers
.
fc
(
out
=
fluid
.
layers
.
fc
(
input
=
fc2
,
input
=
fc2
,
size
=
class_dim
,
size
=
class_dim
,
act
=
'softmax'
,
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
name
=
fc_name
[
2
]
+
"_weights"
),
param_attr
=
fluid
.
param_attr
.
ParamAttr
(
name
=
fc_name
[
2
]
+
"_weights"
),
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
name
=
fc_name
[
2
]
+
"_offset"
))
bias_attr
=
fluid
.
param_attr
.
ParamAttr
(
name
=
fc_name
[
2
]
+
"_offset"
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录