提交 638cf8d4 编写于 作者: Y Yu Yang 提交者: GitHub

Merge pull request #905 from pengli09/fix-model-avg-py-error

Remove do_average_in_cpu, max_average_window, average_window from optimizers.py
...@@ -361,9 +361,6 @@ def settings(batch_size, ...@@ -361,9 +361,6 @@ def settings(batch_size,
learning_rate_decay_b=0., learning_rate_decay_b=0.,
learning_rate_schedule='poly', learning_rate_schedule='poly',
learning_rate_args='', learning_rate_args='',
average_window=0,
do_average_in_cpu=False,
max_average_window=None,
learning_method=None, learning_method=None,
regularization=None, regularization=None,
is_async=False, is_async=False,
...@@ -411,8 +408,7 @@ def settings(batch_size, ...@@ -411,8 +408,7 @@ def settings(batch_size,
args = [ args = [
'batch_size', 'learning_rate', 'learning_rate_decay_a', 'batch_size', 'learning_rate', 'learning_rate_decay_a',
'learning_rate_decay_b', 'learning_rate_schedule', 'learning_rate_args', 'learning_rate_decay_b', 'learning_rate_schedule', 'learning_rate_args'
'average_window', 'do_average_in_cpu', 'max_average_window'
] ]
kwargs = dict() kwargs = dict()
kwargs['algorithm'] = algorithm kwargs['algorithm'] = algorithm
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册