Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
0441d0b6
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看板
提交
0441d0b6
编写于
8月 27, 2018
作者:
D
Dang Qingqing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update CE.
上级
0d2a35f1
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
5 addition
and
5 deletion
+5
-5
fluid/image_classification/.run_ce.sh
fluid/image_classification/.run_ce.sh
+2
-2
fluid/image_classification/_ce.py
fluid/image_classification/_ce.py
+3
-3
未找到文件。
fluid/image_classification/.run_ce.sh
浏览文件 @
0441d0b6
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
export
FLAGS_cudnn_deterministic
=
True
export
FLAGS_cudnn_deterministic
=
True
cudaid
=
${
object_detection_cudaid
:
=0
}
cudaid
=
${
object_detection_cudaid
:
=0
}
export
CUDA_VISIBLE_DEVICES
=
$cudaid
export
CUDA_VISIBLE_DEVICES
=
$cudaid
python train.py
--batch_size
=
64
--num_epochs
=
5
--enable_ce
=
True | python _ce.py
python train.py
--batch_size
=
64
--num_epochs
=
10
--enable_ce
=
True | python _ce.py
cudaid
=
${
object_detection_cudaid_m
:
=0, 1, 2, 3
}
cudaid
=
${
object_detection_cudaid_m
:
=0, 1, 2, 3
}
export
CUDA_VISIBLE_DEVICES
=
$cudaid
export
CUDA_VISIBLE_DEVICES
=
$cudaid
python train.py
--batch_size
=
128
--num_epochs
=
5
--enable_ce
=
True | python _ce.py
python train.py
--batch_size
=
64
--num_epochs
=
10
--enable_ce
=
True | python _ce.py
fluid/image_classification/_ce.py
浏览文件 @
0441d0b6
...
@@ -16,7 +16,7 @@ train_cost_kpi = CostKpi('train_cost', 0.5, 0, actived=True, desc='train cost')
...
@@ -16,7 +16,7 @@ train_cost_kpi = CostKpi('train_cost', 0.5, 0, actived=True, desc='train cost')
test_acc_top1_kpi
=
AccKpi
(
'test_acc_top1'
,
0.05
,
0
,
desc
=
'TOP1 ACC'
)
test_acc_top1_kpi
=
AccKpi
(
'test_acc_top1'
,
0.05
,
0
,
desc
=
'TOP1 ACC'
)
test_acc_top5_kpi
=
AccKpi
(
test_acc_top5_kpi
=
AccKpi
(
'test_acc_top5'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
'test_acc_top5'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
test_cost_kpi
=
CostKpi
(
'test_cost'
,
0.
0
5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
test_cost_kpi
=
CostKpi
(
'test_cost'
,
0.5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
train_speed_kpi
=
AccKpi
(
train_speed_kpi
=
AccKpi
(
'train_speed'
,
'train_speed'
,
0.5
,
0.5
,
...
@@ -29,13 +29,13 @@ train_acc_top1_card4_kpi = AccKpi(
...
@@ -29,13 +29,13 @@ train_acc_top1_card4_kpi = AccKpi(
train_acc_top5_card4_kpi
=
AccKpi
(
train_acc_top5_card4_kpi
=
AccKpi
(
'train_acc_top5_card4'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
'train_acc_top5_card4'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
train_cost_card4_kpi
=
CostKpi
(
train_cost_card4_kpi
=
CostKpi
(
'train_cost_
kpi'
,
0.0
5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
'train_cost_
card4'
,
0.
5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
test_acc_top1_card4_kpi
=
AccKpi
(
test_acc_top1_card4_kpi
=
AccKpi
(
'test_acc_top1_card4'
,
0.05
,
0
,
desc
=
'TOP1 ACC'
)
'test_acc_top1_card4'
,
0.05
,
0
,
desc
=
'TOP1 ACC'
)
test_acc_top5_card4_kpi
=
AccKpi
(
test_acc_top5_card4_kpi
=
AccKpi
(
'test_acc_top5_card4'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
'test_acc_top5_card4'
,
0.05
,
0
,
actived
=
False
,
desc
=
'TOP5 ACC'
)
test_cost_card4_kpi
=
CostKpi
(
test_cost_card4_kpi
=
CostKpi
(
'test_cost_card4'
,
0.
0
5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
'test_cost_card4'
,
0.5
,
0
,
actived
=
True
,
desc
=
'train cost'
)
train_speed_card4_kpi
=
AccKpi
(
train_speed_card4_kpi
=
AccKpi
(
'train_speed_card4'
,
'train_speed_card4'
,
0.5
,
0.5
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录