Skip to content

Commit a3bce93

Browse files
XianBWWinstonLiyt
authored andcommitted
fix: save only one mle_score pkl for a running exp (#675)
* save only one mle_score pkl for a running exp * fix_CI
1 parent 2ae3d69 commit a3bce93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rdagent/log/mle_summary.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def save_grade_info(log_trace_path: Path):
4646
entry=f"mlebench grade-sample submission.csv {competition} --data-dir /mle/data | tee mle_score.txt",
4747
)
4848
msg.content.experiment_workspace.execute(env=de, entry="chmod 777 mle_score.txt")
49-
trace_storage.log(mle_score_str, name=f"{msg.tag}.mle_score.pid", save_type="pkl")
49+
trace_storage.log(
50+
mle_score_str, name=f"{msg.tag}.mle_score.pid", save_type="pkl", timestamp=msg.timestamp
51+
)
5052

5153

5254
def is_valid_session(p: Path) -> bool:

0 commit comments

Comments
 (0)