Unanswered
Hello Everyone,
Is It Possible To Perform A Optimization Task Based On An Executed Task?
In The Pipeline I Handover The Task Id Of An Executed Training Task To The Optimization Task
(E.G. Parameter_Override='General/Taskidtrainyolov5': '${Trainyolov5.Id}
Hey @<1523701087100473344:profile|SuccessfulKoala55> ,
thank you for your quick answer.
the code for the optimization task is nearly similar to the clearml example: None
Instead of the parameter name "template_task_id", I use "taskIdTrainYolov5".
In my pipeline I added the following step:
pipe.add_step(
name="hyper_parameter_optimization_search_yolov5",
parents=['train_yolov5'],
base_task_project='***',
base_task_name='Hyper-Parameter Optimization Models 1 Yolo5',
execution_queue='task',
parameter_override={
'General/taskIdTrainYolov5': '${train_yolov5.id}',
'General/pipeline': '${pipeline.pipeline}',
'General/devMode': '${pipeline.devMode}',
}
)
As you can see, I hand over the ID of the previouse pipeline step as the value for the parameter "taskIdTrainYolov5".
Inside the optimization task I print out the arguments and I can see, the right value for "taskIdTrainYolov5" is provided.
156 Views
0
Answers
one year ago
one year ago