You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2017/12/07 23:31:50 UTC

[incubator-mxnet] branch master updated: Change type of 'lr_refactor_ratio' to 'float' or else the learning-rate-refactor will never work (#8982)

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

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new c965c8b  Change type of 'lr_refactor_ratio' to 'float' or else the learning-rate-refactor will never work (#8982)
c965c8b is described below

commit c965c8b51ec32968db39d13d8b425cf20c3ee045
Author: Robin Dong <ro...@gmail.com>
AuthorDate: Fri Dec 8 07:31:44 2017 +0800

    Change type of 'lr_refactor_ratio' to 'float' or else the learning-rate-refactor will never work (#8982)
---
 example/ssd/train.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/ssd/train.py b/example/ssd/train.py
index f08aafb..1648c82 100644
--- a/example/ssd/train.py
+++ b/example/ssd/train.py
@@ -72,7 +72,7 @@ def parse_args():
                         help='blue mean value')
     parser.add_argument('--lr-steps', dest='lr_refactor_step', type=str, default='80, 160',
                         help='refactor learning rate at specified epochs')
-    parser.add_argument('--lr-factor', dest='lr_refactor_ratio', type=str, default=0.1,
+    parser.add_argument('--lr-factor', dest='lr_refactor_ratio', type=float, default=0.1,
                         help='ratio to refactor learning rate')
     parser.add_argument('--freeze', dest='freeze_pattern', type=str, default="^(conv1_|conv2_).*",
                         help='freeze layer pattern')

-- 
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].