Skip to content

Commit

Permalink
fix(log_analysis): move plot file to logs instead of copying
Browse files Browse the repository at this point in the history
  • Loading branch information
felixocker committed Aug 19, 2024
1 parent a73025f commit 8cec970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eval/math_eval/log_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

0 comments on commit 8cec970

Please sign in to comment.