Model Management#
This section covers the steps to monitor the status of your models on the FocoosAI platform.
How to list the Focoos Models#
To list all the models available on the FocoosAI platform, you can use the following code:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
models
is a list of ModelPreview
objects that contains the following information:
name
: The name of the model.ref
: The reference of the model.status
: The status of the model.task
: The task of the model.description
: The description of the model.status
: The status of the model, which indicates its current state (e.g. CREATED, TRAINING_RUNNING, TRAINING_COMPLETED - seeModelStatus
).
How to list all your models#
To list all your models, the library provides a list_models
function. This function will return a list of Model
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
models
is a list of ModelPreview
objects that contains the following information:
name
: The name of the model.ref
: The reference of the model.status
: The status of the model.task
: The task of the model.description
: The description of the model.focoos_model
: The starting Focoos Model used for training.status
: The status of the model, which indicates its current state (e.g. CREATED, TRAINING_RUNNING, TRAINING_COMPLETED - seeModelStatus
).
See the metrics for a model#
To see the validation metrics of a model, you can use the metrics
method on the model object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
metrics
is a Metrics
object that contains the validation metrics of the model.
Delete a model#
To delete a model, you can use the delete_model
method on the model object.
Warning
This action is irreversible and the model will be deleted forever from the platform.
1 2 3 4 5 6 |
|