fsdfsfd
This commit is contained in:
parent
898551d710
commit
1eacefde73
@ -6,9 +6,9 @@ mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
||||
client = MlflowClient()
|
||||
version = 3
|
||||
model_name = "s434695"
|
||||
#for mv in client.search_model_versions(f"name='{model_name}'"):
|
||||
# if int(mv.version) > version:
|
||||
# version = int(mv.version)
|
||||
for mv in client.search_model_versions(f"name='{model_name}'"):
|
||||
if int(mv.version) > version:
|
||||
version = int(mv.version)
|
||||
|
||||
print(f"selected version {version}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user