Skip to content

Commit

Permalink
Merge branch 'master' into lb_doc_diva
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun authored Sep 13, 2023
2 parents d6b61e3 + 2331d1d commit 7c50106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion domainlab/algos/msels/c_msel_val.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def update(self):
else:
self.es_c += 1
logger = Logger.get_logger()
logger.debug("early stop counter: ", self.es_c)
logger.debug(f"early stop counter: {self.es_c}")
logger.debug(f"val acc:{self.tr_obs.metric_te['acc']}, "
f"best validation acc: {self.best_val_acc}")
flag = False # do not update best model
Expand Down
2 changes: 1 addition & 1 deletion domainlab/arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def mk_parser_main():
arg_group_task.add_argument('--san_num', type=int, default=8,
help='number of images to be dumped for the sanity check')

arg_group_task.add_argument('--loglevel', type=str, default='INFO',
arg_group_task.add_argument('--loglevel', type=str, default='DEBUG',
help='sets the loglevel of the logger')

# args for variational auto encoder
Expand Down

0 comments on commit 7c50106

Please sign in to comment.