Zaktualizuj 'lab_09_predict_coop.py'
All checks were successful
s430705-evaluation/pipeline/head This commit looks good
s430705-training/pipeline/head This commit looks good

This commit is contained in:
Michał Zaręba 2021-05-29 12:27:44 +02:00
parent 0a456c4988
commit f5ffd6d759

View File

@ -9,9 +9,8 @@ model_version = 12
mlflow.set_tracking_uri("http://172.17.0.1:5000") mlflow.set_tracking_uri("http://172.17.0.1:5000")
model = mlflow.pyfunc.load_model( model = mlflow.keras.pyfunc.load_model(
model_uri=f"models:/{model_name}/{model_version}", model_uri=f"models:/{model_name}/{model_version}",
compile=False
) )
""" """