minor fix in print
This commit is contained in:
@@ -44,7 +44,7 @@ def evaluate(cfg: dict):
|
||||
cfg = parse_cfg(cfg)
|
||||
set_seed(cfg.seed)
|
||||
print(colored(f'Task: {cfg.task}', 'blue', attrs=['bold']))
|
||||
print(colored(f'Model size: {cfg.model_size}', 'blue', attrs=['bold']))
|
||||
print(colored(f'Model size: {cfg.get("model_size", "default")}', 'blue', attrs=['bold']))
|
||||
print(colored(f'Checkpoint: {cfg.checkpoint}', 'blue', attrs=['bold']))
|
||||
if not cfg.multitask and ('mt80' in cfg.checkpoint or 'mt30' in cfg.checkpoint):
|
||||
print(colored('Warning: single-task evaluation of multi-task models is not currently supported.', 'red', attrs=['bold']))
|
||||
|
||||
Reference in New Issue
Block a user