from self?

This commit is contained in:
Dominik Strzako 2021-05-27 12:30:57 +02:00
parent b40b7d0585
commit 17f2fdab3a

View File

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