Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
6c4831a0
P
PaddleDetection
项目概览
s920243400
/
PaddleDetection
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleDetection
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6c4831a0
编写于
1月 06, 2017
作者:
Z
zhouyingfeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add "paddle usage" scripts in all demos
resolve #965
上级
c07edd0c
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
19 addition
and
2 deletion
+19
-2
demo/image_classification/train.sh
demo/image_classification/train.sh
+1
-0
demo/introduction/train.sh
demo/introduction/train.sh
+1
-1
demo/mnist/train.sh
demo/mnist/train.sh
+1
-0
demo/quick_start/predict.sh
demo/quick_start/predict.sh
+2
-0
demo/quick_start/train.sh
demo/quick_start/train.sh
+1
-0
demo/recommendation/run.sh
demo/recommendation/run.sh
+1
-0
demo/semantic_role_labeling/test.sh
demo/semantic_role_labeling/test.sh
+1
-0
demo/semantic_role_labeling/train.sh
demo/semantic_role_labeling/train.sh
+1
-0
demo/sentiment/test.sh
demo/sentiment/test.sh
+1
-0
demo/sentiment/train.sh
demo/sentiment/train.sh
+1
-0
demo/seqToseq/paraphrase/train.sh
demo/seqToseq/paraphrase/train.sh
+1
-0
demo/seqToseq/translation/gen.sh
demo/seqToseq/translation/gen.sh
+1
-0
demo/seqToseq/translation/train.sh
demo/seqToseq/translation/train.sh
+1
-0
demo/sequence_tagging/train.sh
demo/sequence_tagging/train.sh
+3
-1
demo/sequence_tagging/train_linear.sh
demo/sequence_tagging/train_linear.sh
+2
-0
未找到文件。
demo/image_classification/train.sh
浏览文件 @
6c4831a0
...
@@ -27,5 +27,6 @@ paddle train \
...
@@ -27,5 +27,6 @@ paddle train \
--num_passes
=
300
\
--num_passes
=
300
\
--save_dir
=
$output
\
--save_dir
=
$output
\
2>&1 |
tee
$log
2>&1 |
tee
$log
paddle usage
-l
$log
-e
$?
-n
"image_classification_train"
>
/dev/null 2>&1
python
-m
paddle.utils.plotcurve
-i
$log
>
plot.png
python
-m
paddle.utils.plotcurve
-i
$log
>
plot.png
demo/introduction/train.sh
浏览文件 @
6c4831a0
...
@@ -19,4 +19,4 @@ paddle train \
...
@@ -19,4 +19,4 @@ paddle train \
--save_dir
=
./output
\
--save_dir
=
./output
\
--num_passes
=
30
\
--num_passes
=
30
\
2>&1 |tee
'train.log'
2>&1 |tee
'train.log'
paddle usage
-l
"train.log"
-e
$?
-n
"
linear_intro
"
>
/dev/null 2>&1
paddle usage
-l
"train.log"
-e
$?
-n
"
introduction
"
>
/dev/null 2>&1
demo/mnist/train.sh
浏览文件 @
6c4831a0
...
@@ -27,5 +27,6 @@ paddle train \
...
@@ -27,5 +27,6 @@ paddle train \
--num_passes
=
100
\
--num_passes
=
100
\
--save_dir
=
$output
\
--save_dir
=
$output
\
2>&1 |
tee
$log
2>&1 |
tee
$log
paddle usage
-l
$log
-e
$?
-n
"mnist_train"
>
/dev/null 2>&1
python
-m
paddle.utils.plotcurve
-i
$log
>
plot.png
python
-m
paddle.utils.plotcurve
-i
$log
>
plot.png
demo/quick_start/predict.sh
浏览文件 @
6c4831a0
...
@@ -26,5 +26,7 @@ paddle train \
...
@@ -26,5 +26,7 @@ paddle train \
--init_model_path
=
$model
\
--init_model_path
=
$model
\
--config_args
=
is_predict
=
1
\
--config_args
=
is_predict
=
1
\
--predict_output_dir
=
.
\
--predict_output_dir
=
.
\
2>&1 |
tee
'predict.log'
paddle usage
-l
'predict.log'
-e
$?
-n
"quick_start_predict_
${
cfg
}
"
>
/dev/null 2>&1
mv
rank-00000 result.txt
mv
rank-00000 result.txt
demo/quick_start/train.sh
浏览文件 @
6c4831a0
...
@@ -31,3 +31,4 @@ paddle train \
...
@@ -31,3 +31,4 @@ paddle train \
--show_parameter_stats_period
=
100
\
--show_parameter_stats_period
=
100
\
--test_all_data_in_one_period
=
1
\
--test_all_data_in_one_period
=
1
\
2>&1 |
tee
'train.log'
2>&1 |
tee
'train.log'
paddle usage
-l
"train.log"
-e
$?
-n
"quick_start_
${
cfg
}
"
>
/dev/null 2>&1
demo/recommendation/run.sh
浏览文件 @
6c4831a0
...
@@ -22,3 +22,4 @@ paddle train \
...
@@ -22,3 +22,4 @@ paddle train \
--log_period
=
100
\
--log_period
=
100
\
--dot_period
=
1
\
--dot_period
=
1
\
--num_passes
=
50 2>&1 |
tee
'log.txt'
--num_passes
=
50 2>&1 |
tee
'log.txt'
paddle usage
-l
log.txt
-e
$?
-n
"recommendation"
>
/dev/null 2>&1
demo/semantic_role_labeling/test.sh
浏览文件 @
6c4831a0
...
@@ -38,3 +38,4 @@ paddle train \
...
@@ -38,3 +38,4 @@ paddle train \
--config_args
=
is_test
=
1
\
--config_args
=
is_test
=
1
\
--test_all_data_in_one_period
=
1
\
--test_all_data_in_one_period
=
1
\
2>&1 |
tee
'test.log'
2>&1 |
tee
'test.log'
paddle usage
-l
test.log
-e
$?
-n
"semantic_role_labeling_test"
>
/dev/null 2>&1
\ No newline at end of file
demo/semantic_role_labeling/train.sh
浏览文件 @
6c4831a0
...
@@ -27,3 +27,4 @@ paddle train \
...
@@ -27,3 +27,4 @@ paddle train \
--load_missing_parameter_strategy
=
rand
\
--load_missing_parameter_strategy
=
rand
\
--test_all_data_in_one_period
=
1
\
--test_all_data_in_one_period
=
1
\
2>&1 |
tee
'train.log'
2>&1 |
tee
'train.log'
paddle usage
-l
train.log
-e
$?
-n
"semantic_role_labeling_train"
>
/dev/null 2>&1
demo/sentiment/test.sh
浏览文件 @
6c4831a0
...
@@ -37,3 +37,4 @@ paddle train --config=$net_conf \
...
@@ -37,3 +37,4 @@ paddle train --config=$net_conf \
--trainer_count
=
4
\
--trainer_count
=
4
\
--config_args
=
is_test
=
1
\
--config_args
=
is_test
=
1
\
2>&1 |
tee
'test.log'
2>&1 |
tee
'test.log'
paddle usage
-l
test.log
-e
$?
-n
"sentiment_test"
>
/dev/null 2>&1
demo/sentiment/train.sh
浏览文件 @
6c4831a0
...
@@ -27,3 +27,4 @@ paddle train --config=$config \
...
@@ -27,3 +27,4 @@ paddle train --config=$config \
--show_parameter_stats_period
=
100
\
--show_parameter_stats_period
=
100
\
--test_all_data_in_one_period
=
1
\
--test_all_data_in_one_period
=
1
\
2>&1 |
tee
'train.log'
2>&1 |
tee
'train.log'
paddle usage
-l
train.log
-e
$?
-n
"sentiment_train"
>
/dev/null 2>&1
demo/seqToseq/paraphrase/train.sh
浏览文件 @
6c4831a0
...
@@ -27,3 +27,4 @@ paddle train \
...
@@ -27,3 +27,4 @@ paddle train \
--log_period
=
10
\
--log_period
=
10
\
--dot_period
=
5
\
--dot_period
=
5
\
2>&1 |
tee
'paraphrase/train.log'
2>&1 |
tee
'paraphrase/train.log'
paddle usage
-l
'paraphrase/train.log'
-e
$?
-n
"seqToseq_paraphrase_train"
>
/dev/null 2>&1
demo/seqToseq/translation/gen.sh
浏览文件 @
6c4831a0
...
@@ -24,3 +24,4 @@ paddle train \
...
@@ -24,3 +24,4 @@ paddle train \
--test_pass
=
12
\
--test_pass
=
12
\
--trainer_count
=
1
\
--trainer_count
=
1
\
2>&1 |
tee
'translation/gen.log'
2>&1 |
tee
'translation/gen.log'
paddle usage
-l
'translation/gen.log'
-e
$?
-n
"seqToseq_translation_gen"
>
/dev/null 2>&1
demo/seqToseq/translation/train.sh
浏览文件 @
6c4831a0
...
@@ -25,3 +25,4 @@ paddle train \
...
@@ -25,3 +25,4 @@ paddle train \
--log_period
=
10
\
--log_period
=
10
\
--dot_period
=
5
\
--dot_period
=
5
\
2>&1 |
tee
'translation/train.log'
2>&1 |
tee
'translation/train.log'
paddle usage
-l
'translation/train.log'
-e
$?
-n
"seqToseq_translation_train"
>
/dev/null 2>&1
demo/sequence_tagging/train.sh
浏览文件 @
6c4831a0
...
@@ -7,4 +7,6 @@ paddle train \
...
@@ -7,4 +7,6 @@ paddle train \
--dot_period
=
10
\
--dot_period
=
10
\
--log_period
=
1000
\
--log_period
=
1000
\
--test_period
=
0
\
--test_period
=
0
\
--num_passes
=
10
--num_passes
=
10
\
2>&1 |
tee
'train.log'
paddle usage
-l
'train.log'
-e
$?
-n
"sequence_tagging_train"
>
/dev/null 2>&1
demo/sequence_tagging/train_linear.sh
浏览文件 @
6c4831a0
...
@@ -7,3 +7,5 @@ paddle train \
...
@@ -7,3 +7,5 @@ paddle train \
--log_period
=
10000
\
--log_period
=
10000
\
--test_period
=
0
\
--test_period
=
0
\
--num_passes
=
10
--num_passes
=
10
2>&1 |
tee
'train_linear.log'
paddle usage
-l
'train_linear.log'
-e
$?
-n
"sequence_tagging_train_linear"
>
/dev/null 2>&1
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录