Reputation
Badges 1
10 × Eureka!yes, it was left by mistake (it calls)from clearml import Task
doesnt change the behavior
do you say when running on 1.6.0 you see 3 tasks? (where I see 2)
try this one (even when running without debug)
` import multiprocessing
import time
from clearml import Task
def init_clearml_task(patch_set_name, model_name, is_ensemble):
task_name = f'{patch_set_name} {model_name}'
task = Task.init(
project_name=f"bla CV",
task_name=task_name,
tags=[model_name, patch_set_name],
reuse_last_task_id=False
)
task.connect({"bla": "bla"}, 'IbexConfig')
return task
def execute_1():
print("proc1")
task...
I updated the versions to clearml 1.6.2 Server 1.5.0, it still happening , when callinginit_clearml_task('summary', 'alg1_debug_cml', is_ensemble=False)
clearml doesnt create a new task, but now the process doesn't crush
from some reason it happend in the example I gave when running in debug only, maybe matter of timing, but it happend in my "real" script also not in debugging
clearml version 1.0.5, Server 1.1.0
code for reproduce
` import multiprocessing
from machine_learning.clearml_client import Task
def init_clearml_task(patch_set_name, model_name, is_ensemble):
task_name = f'{patch_set_name} {model_name}'
task = Task.init(
project_name=f"bla CV",
task_name=task_name,
tags=[model_name, patch_set_name],
reuse_last_task_id=False
)
task.connect({"bla": "bla"}, 'IbexConfig')
return task
def execu...
I will update to 1.6 after the weekend and check
I cant because we have some experiments running (I didnt update before, just used another newer server)
thanks! let me know how it goes! :)