one more time

This commit is contained in:
Dominik Strzako 2021-05-24 01:01:49 +02:00
parent 315a3d3bda
commit aa78c08876

View File

@ -10,7 +10,7 @@ for mv in client.search_model_versions(f"name='{model_name}'"):
if int(mv.version) > version:
version = int(mv.version)
model = mlflow.pytorch.load_model(
model = mlflow.keras.load_model(
model_uri=f"models:/{model_name}/{version}"
)