keras to pyfunc
This commit is contained in:
parent
4e10193807
commit
0e9fe9a90e
@ -6,7 +6,7 @@ model_name = "s430705"
|
|||||||
model_version = 8
|
model_version = 8
|
||||||
mlf.set_tracking_uri("http://172.17.0.1:5000")
|
mlf.set_tracking_uri("http://172.17.0.1:5000")
|
||||||
mlf.keras.log_model("runs:/dd2657243e2c4176a2ec2e3340c3ff13/run-relative/path/to/model", registered_model_name="s430705")
|
mlf.keras.log_model("runs:/dd2657243e2c4176a2ec2e3340c3ff13/run-relative/path/to/model", registered_model_name="s430705")
|
||||||
model = mlf.keras.load_model(
|
model = mlf.pyfunc.load_model(
|
||||||
model_uri=f"models:/{model_name}/{model_version}"
|
model_uri=f"models:/{model_name}/{model_version}"
|
||||||
)
|
)
|
||||||
with open('movies_imdb2/input_example.json', 'r') as datafile:
|
with open('movies_imdb2/input_example.json', 'r') as datafile:
|
||||||
|
Loading…
Reference in New Issue
Block a user