from local

This commit is contained in:
dohe0342 2023-03-21 12:03:47 +09:00
parent e7338135cc
commit 6b4b6a4d10
2 changed files with 2 additions and 0 deletions

View File

@ -593,6 +593,8 @@ def save_results(
s += "{}\t{}{}\n".format(key, val, note)
note = ""
logging.info(s)
with open(f'./{params.res_name}.txt', 'a') as f:
f.write(s)
@torch.no_grad()