Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 21, 2022
1 parent edfb59f commit d6e15e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/baseline/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ def load_data(self) -> List[DataLoader]:
self.check_val_every_n_steps = ceil(
self.check_val_every_n_epoch * self._train_steps) # 每多少个step进行验证

if self.check_val_every_n_steps < 10:
self.check_val_every_n_steps = 10
# if self.check_val_every_n_steps < 10:
# self.check_val_every_n_steps = 10

logger.info('_train_size:{}'.format(self._train_size))
logger.info('_dev_size:{}'.format(self._dev_size))
Expand Down

0 comments on commit d6e15e9

Please sign in to comment.