Skip to content

Commit

Permalink
Fixed bug with poping relevant arguments out of args
Browse files Browse the repository at this point in the history
  • Loading branch information
ancestor-mithril committed May 8, 2024
1 parent 4578b00 commit 091b56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def es_metric(self):
return 'Train/Loss' if not hasattr(self.args, 'es_metric') else self.args.es_metric

def init_logdir(self):
params = self.args.__dict__
params = {**self.args.__dict__}
params.pop('device')
params.pop('data_path')
params.pop('disable_progress_bar')
Expand Down

0 comments on commit 091b56f

Please sign in to comment.