You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2022/12/01 05:20:10 UTC

[singa] branch dev updated: Increase max epoch for cnn example for better convergence

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/singa.git


The following commit(s) were added to refs/heads/dev by this push:
     new 88088087 Increase max epoch for cnn example for better convergence
     new 11828a72 Merge pull request #1010 from wannature/singa_v25
88088087 is described below

commit 88088087800f0df62ea7cfdfbcc21c90fe811292
Author: wenqiao zhang <we...@zju.edu.cn>
AuthorDate: Thu Dec 1 12:57:22 2022 +0800

    Increase max epoch for cnn example for better convergence
---
 examples/cnn/train_cnn.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/cnn/train_cnn.py b/examples/cnn/train_cnn.py
index bcccc51f..bea7678f 100644
--- a/examples/cnn/train_cnn.py
+++ b/examples/cnn/train_cnn.py
@@ -282,7 +282,7 @@ if __name__ == '__main__':
                         dest='precision')
     parser.add_argument('-m',
                         '--max-epoch',
-                        default=10,
+                        default=100,
                         type=int,
                         help='maximum epochs',
                         dest='max_epoch')