15 lines
305 B
Python
15 lines
305 B
Python
import json
|
|
import mlflow
|
|
import pandas as pd
|
|
from pprint import pprint
|
|
from mlflow.tracking import MlflowClient
|
|
|
|
model_name = "s430705"
|
|
model_version = 50
|
|
|
|
mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
|
|
|
model = mlflow.keras.pyfunc.load_model(
|
|
model_uri=f"models:/{model_name}/{model_version}",
|
|
)
|