Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Apr 9, 2024
1 parent 839c61c commit 710c9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def main(cfg: DictConfig) -> Trainer:
load_strict_model_weights: bool = scfg.load_strict_model_weights
load_ignore_keys: Optional[List[str]] = scfg.load_ignore_keys
compile_config: Optional[Dict[str, Any]] = scfg.compile_config
metadata: Optional[Dict[str, str]] = convert_to_dict(scfg.metadata)
metadata: Optional[Dict[str, Any]] = convert_to_dict(scfg.metadata)
should_log_config: bool = scfg.log_config

# Enable autoresume from model checkpoints if possible
Expand Down

0 comments on commit 710c9b0

Please sign in to comment.