Skip to content

Commit

Permalink
🔨 [Update] gradient clip strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
henrytsui000 committed Dec 23, 2024
1 parent c0e2436 commit ee709f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yolo/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def main(cfg: Config):
logger=loggers,
log_every_n_steps=1,
gradient_clip_val=10,
gradient_clip_algorithm="value",
deterministic=True,
enable_progress_bar=not getattr(cfg, "quite", False),
default_root_dir=save_path,
Expand Down

0 comments on commit ee709f5

Please sign in to comment.