one more time
This commit is contained in:
parent
315a3d3bda
commit
aa78c08876
@ -10,7 +10,7 @@ for mv in client.search_model_versions(f"name='{model_name}'"):
|
|||||||
if int(mv.version) > version:
|
if int(mv.version) > version:
|
||||||
version = int(mv.version)
|
version = int(mv.version)
|
||||||
|
|
||||||
model = mlflow.pytorch.load_model(
|
model = mlflow.keras.load_model(
|
||||||
model_uri=f"models:/{model_name}/{version}"
|
model_uri=f"models:/{model_name}/{version}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user