You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/01/08 01:46:07 UTC
[GitHub] [incubator-mxnet] sxjscience edited a comment on issue #17224: 关于mxnet.gluon的一些建议(使用方面)
sxjscience edited a comment on issue #17224: 关于mxnet.gluon的一些建议(使用方面)
URL: https://github.com/apache/incubator-mxnet/issues/17224#issuecomment-571853972
@gengyanlei 谢谢您的建议!我觉得.step(batch_size=1)这个操作可以添加一个default value,在这一行默认batch_size为1:
We can change the default batch_size in `.step` and `.update` to 1.0 to avoid the cumbersome experience.
https://github.com/apache/incubator-mxnet/blob/f17d19ba663df8694c10dfa56863a7e2a19cadcb/python/mxnet/gluon/trainer.py#L320
https://github.com/apache/incubator-mxnet/blob/f17d19ba663df8694c10dfa56863a7e2a19cadcb/python/mxnet/gluon/trainer.py#L397
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services