File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/automation/tasks/scripts Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,13 @@ def clean_hocon_value(v):
111
111
from pathlib import Path
112
112
import shutil
113
113
import os
114
+ from clearml .storage import StorageManager
115
+
116
+ print (f"File downloaded to: { local_path } " )
114
117
115
- answer_task = Task .get_task (task_id = arenahard_judgement_args ["answer_task_id" ])
116
- artifact_obj = answer_task .artifacts ['arenahard report' ].get_local_copy ()
118
+ #answer_task = Task.get_task(task_id=arenahard_judgement_args["answer_task_id"])
119
+ #artifact_obj = answer_task.artifacts['arenahard report'].get_local_copy()
120
+ artifact_obj = StorageManager .get_local_copy (arenahard_judgement_args ["answer_task_id" ])
117
121
os .makedirs (answer_dir , exist_ok = True )
118
122
shutil .move (artifact_obj ,os .path .join (answer_dir , f"{ model_name } .jsonl" ))
119
123
You can’t perform that action at this time.
0 commit comments