This commit is contained in:
Dominik Strzako 2021-05-27 12:51:55 +02:00
parent 1eacefde73
commit e06b9a3a16

View File

@ -4,9 +4,10 @@ import pandas as pd
mlflow.set_tracking_uri("http://172.17.0.1:5000")
client = MlflowClient()
version = 3
version = 0
model_name = "s434695"
for mv in client.search_model_versions(f"name='{model_name}'"):
print(mv)
if int(mv.version) > version:
version = int(mv.version)