Unanswered
Hi, I Am Trying To Upload A Model Using Pipelinecontroller But I Get The Following Error.
Clearml==1.8.3
Can Anyone Help Here?
Don't call PipelineController functions after start has finished. Use a post_execute_callback instead
` from clearml import PipelineController
def some_step():
return
def upload_model_to_controller(controller, node):
print("Start uploading the model")
if name == "main":
pipe = PipelineController(name="Yolo Pipeline Controller", project="yolo_pipelines", version="1.0.0")
pipe.add_function_step(
name="some_step",
function=some_step,
cache_executed_step=False,
post_execute_callback=upload_model_to_controller
)
pipe.start() `
343 Views
0
Answers
2 years ago
2 years ago