Hi ReassuredTiger98 ,
For Model
you can try:
` from clearml import Task
local_model = Model(<YOUR MODEL ID>).get_local_copy() `
Hello everyone!
Maybe can guide me to the documentation for this. I want to access existing artifacts, e.g. model weights, that I saved during a task. I want to do a test run locally and for this create a new task. Now I want to something like in clearml-data Dataset.get(dataset_id=args.dataset).get_local_copy()
but more like this Artifact.get(artifact_id).get_local_copy()
. I want to load artifacts of other tasks!
EDIT: I think I got it. You have to look into the tasks and models documentation, not artifacts.
train_task = Task.get_task(task_id="YourTaskId") train_task.models["output"][-1].get_local_copy()
However, I would still prefer to just load the model via the model-id.
Hi ReassuredTiger98 ,
For Model
you can try:
` from clearml import Task
local_model = Model(<YOUR MODEL ID>).get_local_copy() `