Skip to content

Commit

Permalink
Revise doc and some scripts for demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
qingqing01 committed Nov 24, 2016
1 parent 8a6b744 commit e08c4b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/image_classification/train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ paddle train \
--test_all_data_in_one_period=1 \
--use_gpu=1 \
--trainer_count=1 \
--num_passes=200 \
--num_passes=300 \
--save_dir=$output \
2>&1 | tee $log

Expand Down
2 changes: 1 addition & 1 deletion demo/sentiment/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -e
function get_best_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' |\
sort | head -n 1
sort -n | head -n 1
}

log=train.log
Expand Down
2 changes: 1 addition & 1 deletion doc/demo/quick_start/index_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ The scripts of data downloading, network configurations, and training scrips are
<td class="left">Word embedding</td>
<td class="left"> 15MB </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>
Expand Down

0 comments on commit e08c4b8

Please sign in to comment.