Skip to content

Commit

Permalink
Update mmengine/runner/runner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzaida authored Sep 4, 2023
1 parent 1fbfe2b commit 9f13bf8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mmengine/runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,6 @@ def train(self) -> nn.Module:
ori_model = self.model.module
else:
ori_model = self.model

assert hasattr(ori_model, 'train_step'), (
'If you want to train your model, please make sure your model '
'has implemented `train_step`.')
Expand Down

0 comments on commit 9f13bf8

Please sign in to comment.