GoogleCloudPlatform / mlops-with-vertex-ai

An end-to-end example of MLOps on Google Cloud using TensorFlow, TFX, and Vertex AI
Apache License 2.0
341 stars 117 forks source link

Model Versioning using Vertex AI Model #16

Open dineshvelmuruga opened 2 years ago

dineshvelmuruga commented 2 years ago

How do I register the model and load the different versions of the model using Vertex AI model.

For instance, I have trained scikit-learn model and I want to register it as v1(automatically as v1). After sometime, I have retrained my model with new features and I want to register my model with new version(automatically as v2).

Now I want to load my model like aiplatform.Model.load_model("model_name", "model_version") (not the current feature)

How Can I do this using Vertex AI Models

clausagerskov commented 2 years ago

https://github.com/GoogleCloudPlatform/vertex-ai-samples/issues/585

SaschaHeyer commented 1 year ago

Hi @dineshvelmuruga I have written an article on how to properly use Vertex AI Model Registry's Versioning functionality https://medium.com/google-cloud/google-vertex-ai-model-versioning-72696bccd0d2