wrong artifact copied from mlflow
This commit is contained in:
parent
435f6ed36e
commit
10542bd9a2
@ -2,7 +2,7 @@ import mlflow
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import json
|
import json
|
||||||
|
|
||||||
logged_model = '/mlruns/20/80fe21a0804844088147d15a3cebb3e5/artifacts/lego'
|
logged_model = '/mlruns/14/80fe21a0804844088147d15a3cebb3e5/artifacts/lego-model'
|
||||||
loaded_model = mlflow.pyfunc.load_model(logged_model)
|
loaded_model = mlflow.pyfunc.load_model(logged_model)
|
||||||
|
|
||||||
with open(f'{logged_model}/input_example.json') as f:
|
with open(f'{logged_model}/input_example.json') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user