Unanswered
What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff
I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like
I want the model to be stored in a way that clearml-serving can recognise it as a model
Then OutputModel or task.update_output_model(...)
You have to serialize it, in a way that later your code will be able to load it.
With XGBoost, when you do model.save clearml automatically picks and uploads it for you
assuming you created the Task.init(..., output_uri=True)
You can also manually upload the model with task.update_output_model or equivalent with OutputModel class.
if you want to disable the auto logging for xgboost:task. Task.init(...., auto_connect_frameworks={'xgboost': False,})
You can check the docs / docstring for more details on that
155 Views
0
Answers
2 years ago
one year ago