未验证 提交 2e788bd8 编写于 作者: H Huihuang Zheng 提交者: GitHub

Reduce batch size ot fix CPU memory, test=develop (#29736)

Unit test reported memory not enough on CPU machines. Reduce batch size again.
上级 8bd2879e
...@@ -93,7 +93,7 @@ cfg.ignore_thresh = .7 ...@@ -93,7 +93,7 @@ cfg.ignore_thresh = .7
# SOLVER options # SOLVER options
# #
# batch size # batch size
cfg.batch_size = 2 if sys.platform == 'darwin' or os.name == 'nt' else 4 cfg.batch_size = 1 if sys.platform == 'darwin' or os.name == 'nt' else 4
# derived learning rate the to get the final learning rate. # derived learning rate the to get the final learning rate.
cfg.learning_rate = 0.001 cfg.learning_rate = 0.001
# maximum number of iterations # maximum number of iterations
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册