Skip to content

Commit

Permalink
Merge branch 'master' into fbopt
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun authored Oct 7, 2023
2 parents 19f0d91 + eeb4598 commit 358c808
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions domainlab/algos/msels/c_msel_val.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def update(self):
else:
self.es_c += 1
logger = Logger.get_logger()
logger.debug(f"early stop counter: {self.es_c}")
logger.debug(f"val acc:{self.tr_obs.metric_val['acc']}, " +
f"best validation acc: {self.best_val_acc}, " +
f"corresponding to test acc: \
{self.sel_model_te_acc} / {self.best_te_metric}")
logger.info(f"early stop counter: {self.es_c}")
logger.info(f"val acc:{self.tr_obs.metric_val['acc']}, " +
f"best validation acc: {self.best_val_acc}, " +
f"corresponding to test acc: \
{self.sel_model_te_acc} / {self.best_te_metric}")
flag = False # do not update best model

return flag

0 comments on commit 358c808

Please sign in to comment.