From 8cec970bf0cd401db33623a5050650ea4d1cc0ba Mon Sep 17 00:00:00 2001 From: Felix Ocker Date: Mon, 19 Aug 2024 21:33:26 +0200 Subject: [PATCH] fix(log_analysis): move plot file to logs instead of copying --- src/eval/math_eval/log_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eval/math_eval/log_analysis.py b/src/eval/math_eval/log_analysis.py index 50a74ee..9f36f89 100644 --- a/src/eval/math_eval/log_analysis.py +++ b/src/eval/math_eval/log_analysis.py @@ -804,4 +804,4 @@ def sanity_check_results( img_name = log_name[:-4] + ".png" else: raise ValueError(f"Unknown benchmark type `{benchmark_type}`.") - shutil.copy("math.eval.png", f"{log_folder}/{img_name}") + shutil.move("math.eval.png", f"{log_folder}/{img_name}")