Created
September 18, 2022 20:58
-
-
Save Steboss89/cbc2202a1bf9f26998c930f248685229 to your computer and use it in GitHub Desktop.
Register a model to MLflow registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mlflow | |
run_id= "ade1040e1fd94a74b1da5ec0583fba63" | |
artifact_name = "model" | |
model_name = "NAME OF YOU MODEL" | |
mlflow.register_model(f"runs:/{run_id}/{artifact_name}", model_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment