Skip to content

Commit

Permalink
🎨Followed mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Oct 14, 2024
1 parent e507d56 commit 193eba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/learn/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Trainer(ITrainer):
def __init__(self, config: TrainerConfig):
self.config = config
self.tqdm_settings = safe_execute(TqdmSettings, config.tqdm_settings or {}) # type: ignore
self.state: TrainerState = None
self.state: TrainerState = None # type: ignore
self.accelerator: Accelerator = None
self.loss_incrementers: Dict[str, Incrementer] = {}
self.intermediate: Optional[MetricsOutputs] = None
Expand Down

0 comments on commit 193eba9

Please sign in to comment.