from local

This commit is contained in:
dohe0342 2023-01-13 17:03:04 +09:00
parent 383cb43dad
commit b21b48c7ec
2 changed files with 1 additions and 0 deletions

View File

@ -781,6 +781,7 @@ def train_one_epoch(
tb_writer: Optional[SummaryWriter] = None, tb_writer: Optional[SummaryWriter] = None,
world_size: int = 1, world_size: int = 1,
rank: int = 0, rank: int = 0,
wb = None,
) -> None: ) -> None:
"""Train the model for one epoch. """Train the model for one epoch.