This example shows how to:
Detect input data drift using WhyLabs
Automate retraining pipelines upon drift detection
Require human approval for retraining actions
The example shows how to do drift detection with WhyLabs, but the same approach can be used with other drift detection tools.
Setup a Training pipeline
Data is loaded from S3, preprocessed and saved as a Valohai dataset. Then using YOLO a model is trained and saved to Valohai
Setup a Drift Detection pipeline
Setup the pipeline for inference and log data to WhyLabs in order to detect drift.
Configure notifications for Approvals
As part of the drift detection pipeline you can include a notification and approval step to start a retraining of the model.
The repository walks you through the steps above:
Last updated 1 month ago
Was this helpful?