mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Fix] max_epoch to max_iters (#503)
This commit is contained in:
parent
a06bb7782b
commit
00bb73b8e3
@ -77,7 +77,7 @@ runner.train()
|
||||
|
||||
```python
|
||||
# 训练相关参数设置,按迭代次数训练,训练9000次迭代
|
||||
train_cfg = dict(by_epoch=False, max_epoch=9000)
|
||||
train_cfg = dict(by_epoch=False, max_iters=9000)
|
||||
```
|
||||
|
||||
### 手动构建模块进行测试
|
||||
|
Loading…
x
Reference in New Issue
Block a user