Skip to content

Commit

Permalink
fcn ep 2, build doc rm voc
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Jul 20, 2018
1 parent 39cc5c9 commit 9244de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -x
set -e

rm -rf data/VOCdevkit

# Clean build/chapter*/*ipynb and build/chapter*/*md that are no longer needed.
cd build
for ch in chapter*; do
Expand Down
2 changes: 1 addition & 1 deletion chapter_computer-vision/fcn.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ train_iter = gdata.DataLoader(gb.VOCSegDataset(True, input_shape, voc_dir),
test_iter = gdata.DataLoader(gb.VOCSegDataset(False, input_shape, voc_dir),
batch_size, last_batch='discard', num_workers=4)
gb.train(train_iter, test_iter, net, loss, trainer, ctx, num_epochs=3)
gb.train(train_iter, test_iter, net, loss, trainer, ctx, num_epochs=2)
```

## 预测
Expand Down

0 comments on commit 9244de0

Please sign in to comment.