Update.
[picoclvr.git] / main.py
diff --git a/main.py b/main.py
index 5b18985..e741094 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -94,7 +94,7 @@ except FileExistsError:
         print(f"result directory {args.result_dir} already exists")
         exit(1)
 
-log_file = open(os.path.join(args.result_dir, args.log_filename), "w")
+log_file = open(os.path.join(args.result_dir, args.log_filename), "a")
 
 if args.seed >= 0:
     # torch.backends.cudnn.deterministic = True