Testing MlflowClient
This commit is contained in:
parent
805da075ae
commit
bda0aec524
@ -12,3 +12,6 @@ mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
|||||||
model = mlflow.keras.pyfunc.load_model(
|
model = mlflow.keras.pyfunc.load_model(
|
||||||
model_uri=f"models:/{model_name}/{model_version}",
|
model_uri=f"models:/{model_name}/{model_version}",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
client = MlflowClient()
|
||||||
|
print(client.get_model_version(model_name, model_version).source)
|
||||||
|
Loading…
Reference in New Issue
Block a user