Trains: reusing previous task id

394 Views Asked by At

I am using reuse_last_task_id=True to overwrite an existing task (with same project and task name). But the experiment contains the torch model and therefore does not overwrite the existing task but creates a new one. How can I detach the model from the task?

1

There are 1 best solutions below

1
On

Copying the answer from Trains team here.

Try to do reuse_last_task_id=<task_id_here> ,to specify the exact Task to continue )click on the ID button next to the task name in the UI) If this value is true it will try to continue the last task on the current machine (based on project/name, combination) if the task was executed on another machine, it will just start a new one