Skip to content

Commit

Permalink
fix wrong swa default
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Jul 21, 2024
1 parent 97df679 commit c5ae100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psiflow/models/_mace.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ class MACEConfig:
lr_factor: float = 0.8
scheduler_patience: int = 50
lr_scheduler_gamma: float = 0.9993
swa: bool = True # default: False
start_swa: Optional[int] = 0 # never start swa
swa: bool = False # default: False
start_swa: Optional[int] = int(1e10) # never start swa
ema: bool = False
ema_decay: float = 0.99
max_num_epochs: int = 2048
Expand Down

0 comments on commit c5ae100

Please sign in to comment.