Unanswered
Hello Clearml Community,
Does Anyone Have An Idea How I Could Integrate/Manager Carla (
Maybe something like this is how it is intended to be used?
` # run_with_clearml.py
def get_main_task():
task = Task.create(project="my_project", name="my_experiment", script="main_script.py")
return task
def run_standalone(task_factory):
Task.enqueue(task_factory())
def run_in_pipeline(task_factory):
pipe = Pipelinecontroller()
pipe.add_step(preprocess, ...)
pipe.add_step(base_task_factory=task_factory, ...)
pipe.add_step(postprocess, ...)
pipe.start()
if args.in_pipeline:
run_in_pipeline(get_main_task)
else:
run_standalone(get_main_task) `
132 Views
0
Answers
2 years ago
one year ago