Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
5c76b26a
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5c76b26a
编写于
11月 25, 2016
作者:
Q
qingqing01
提交者:
GitHub
11月 25, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #614 from luotao1/release/v0.9.0
merge bugfix #593 and # 597 from develop branch
上级
f3d816d2
68c5997e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
7 deletion
+7
-7
demo/image_classification/train.sh
demo/image_classification/train.sh
+1
-1
demo/semantic_role_labeling/predict.sh
demo/semantic_role_labeling/predict.sh
+1
-2
demo/semantic_role_labeling/test.sh
demo/semantic_role_labeling/test.sh
+2
-1
demo/sentiment/test.sh
demo/sentiment/test.sh
+1
-1
doc/demo/quick_start/index_en.md
doc/demo/quick_start/index_en.md
+2
-2
未找到文件。
demo/image_classification/train.sh
浏览文件 @
5c76b26a
...
@@ -24,7 +24,7 @@ paddle train \
...
@@ -24,7 +24,7 @@ paddle train \
--test_all_data_in_one_period
=
1
\
--test_all_data_in_one_period
=
1
\
--use_gpu
=
1
\
--use_gpu
=
1
\
--trainer_count
=
1
\
--trainer_count
=
1
\
--num_passes
=
2
00
\
--num_passes
=
3
00
\
--save_dir
=
$output
\
--save_dir
=
$output
\
2>&1 |
tee
$log
2>&1 |
tee
$log
...
...
demo/semantic_role_labeling/predict.sh
浏览文件 @
5c76b26a
...
@@ -18,7 +18,7 @@ set -e
...
@@ -18,7 +18,7 @@ set -e
function
get_best_pass
()
{
function
get_best_pass
()
{
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
sed
-r
'N;s/Test.* cost=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sed
-r
'N;s/Test.* cost=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sort
|
head
-n
1
sort
-n
|
head
-n
1
}
}
log
=
train.log
log
=
train.log
...
@@ -26,7 +26,6 @@ LOG=`get_best_pass $log`
...
@@ -26,7 +26,6 @@ LOG=`get_best_pass $log`
LOG
=(
${
LOG
}
)
LOG
=(
${
LOG
}
)
best_model_path
=
"output/pass-
${
LOG
[1]
}
"
best_model_path
=
"output/pass-
${
LOG
[1]
}
"
config_file
=
db_lstm.py
config_file
=
db_lstm.py
dict_file
=
./data/src.dict
dict_file
=
./data/src.dict
label_file
=
./data/tgt.dict
label_file
=
./data/tgt.dict
...
...
demo/semantic_role_labeling/test.sh
浏览文件 @
5c76b26a
...
@@ -18,7 +18,7 @@ set -e
...
@@ -18,7 +18,7 @@ set -e
function
get_best_pass
()
{
function
get_best_pass
()
{
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
sed
-r
'N;s/Test.* cost=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sed
-r
'N;s/Test.* cost=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sort
|
head
-n
1
sort
-n
|
head
-n
1
}
}
log
=
train.log
log
=
train.log
...
@@ -36,4 +36,5 @@ paddle train \
...
@@ -36,4 +36,5 @@ paddle train \
--job
=
test
\
--job
=
test
\
--use_gpu
=
false
\
--use_gpu
=
false
\
--config_args
=
is_test
=
1
\
--config_args
=
is_test
=
1
\
--test_all_data_in_one_period
=
1
\
2>&1 |
tee
'test.log'
2>&1 |
tee
'test.log'
demo/sentiment/test.sh
浏览文件 @
5c76b26a
...
@@ -17,7 +17,7 @@ set -e
...
@@ -17,7 +17,7 @@ set -e
function
get_best_pass
()
{
function
get_best_pass
()
{
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
cat
$1
|
grep
-Pzo
'Test .*\n.*pass-.*'
|
\
sed
-r
'N;s/Test.* classification_error_evaluator=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sed
-r
'N;s/Test.* classification_error_evaluator=([0-9]+\.[0-9]+).*\n.*pass-([0-9]+)/\1 \2/g'
|
\
sort
|
head
-n
1
sort
-n
|
head
-n
1
}
}
log
=
train.log
log
=
train.log
...
...
doc/demo/quick_start/index_en.md
浏览文件 @
5c76b26a
# Quick Start
Tutorial
# Quick Start
This tutorial will teach the basics of deep learning (DL), including how to implement many different models in PaddlePaddle. You will learn how to:
This tutorial will teach the basics of deep learning (DL), including how to implement many different models in PaddlePaddle. You will learn how to:
-
Prepare data into the standardized format that PaddlePaddle accepts.
-
Prepare data into the standardized format that PaddlePaddle accepts.
...
@@ -477,7 +477,7 @@ The scripts of data downloading, network configurations, and training scrips are
...
@@ -477,7 +477,7 @@ The scripts of data downloading, network configurations, and training scrips are
<td
class=
"left"
>
Word embedding
</td>
<td
class=
"left"
>
Word embedding
</td>
<td
class=
"left"
>
15MB
</td>
<td
class=
"left"
>
15MB
</td>
<td
class=
"left"
>
8.484%
</td>
<td
class=
"left"
>
8.484%
</td>
<td
class=
"left"
>
trainer_config.
bow
.py
</td>
<td
class=
"left"
>
trainer_config.
emb
.py
</td>
</tr>
</tr>
<tr>
<tr>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录