Zaktualizuj 'lab_09_predict_coop.py'
All checks were successful
s430705-training/pipeline/head This commit looks good
All checks were successful
s430705-training/pipeline/head This commit looks good
This commit is contained in:
parent
7cdcf2ff0f
commit
b0a61acb3c
@ -14,7 +14,7 @@ model = mlflow.pyfunc.load_model(
|
|||||||
)
|
)
|
||||||
client = MlflowClient()
|
client = MlflowClient()
|
||||||
models_version = client.search_model_versions("name='s430705'")
|
models_version = client.search_model_versions("name='s430705'")
|
||||||
print(type(models_version))
|
print(models_version[-1])
|
||||||
|
|
||||||
with open('/tmp/mlruns/0/6be4f90846214df8913a553bc53b1019/artifacts/movies_imdb2/input_example.json', 'r') as datafile:
|
with open('/tmp/mlruns/0/6be4f90846214df8913a553bc53b1019/artifacts/movies_imdb2/input_example.json', 'r') as datafile:
|
||||||
data = json.load(datafile)
|
data = json.load(datafile)
|
||||||
|
Loading…
Reference in New Issue
Block a user