Hi @<1555000563244994560:profile|OutrageousSealion55> , can you please share the code you're trying to run?
Hi @<1555000563244994560:profile|OutrageousSealion55> ! How do you pass base_task_id
in the HyperParamterOptimizer
?
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.