Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c0b5d380 authored by PaulWawerek-L's avatar PaulWawerek-L
Browse files

lossfile_correction

parent e71b8ab1
No related branches found
No related tags found
1 merge request!2OSLO-IC
......@@ -556,6 +556,7 @@ def main():
assert validation_dataset.resolution == args.healpix_res, "resolution of validation dataset doesn't match with input dataset"
# save loss
if args.loss_file:
os.makedirs(args.out_dir, exist_ok=True)
with open(os.path.join(args.out_dir, args.loss_file), 'a') as f:
f.write('='*40+f' {datetime.now().strftime("%d-%m-%Y %H:%M:%S")} '+'='*40+'\n')
# to visualize gradient status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment