[Fix] max_epoch to max_iters (#503)

This commit is contained in:
古月闻星 2022-09-01 00:03:23 +08:00 committed by GitHub
parent a06bb7782b
commit 00bb73b8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
```
### 手动构建模块进行测试