Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
add rollback to BSC option
  • Loading branch information
mknull committed Jan 25, 2024
1 parent e70a17a commit 8f3ff73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/gaussian-denoising/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def gaussian_denoising_example(): # noqa: C901
reco_epochs=reco_epochs,
log_blacklist=[],
log_only_latest_theta=True,
rrollback_if_F_decreases=['W', 'sigma2'] if args.model='bsc' else []
)
exp = Training(conf=exp_config, estep_conf=estep_conf, model=model, train_data_file=data_file)
logger, trainer = exp.logger, exp.trainer
Expand Down

0 comments on commit 8f3ff73

Please sign in to comment.