Update 'predict_artifact.py'
This commit is contained in:
parent
12ec9fe4fa
commit
3c60e6608c
@ -2,7 +2,7 @@ import mlflow
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import json
|
import json
|
||||||
|
|
||||||
artifact_path = 'mlruns/1/169f2bf3d53f4de088c494e889c6e65a/artifacts/model'
|
artifact_path = 'mlruns_s444417/1/169f2bf3d53f4de088c494e889c6e65a/artifacts/model'
|
||||||
model = mlflow.pyfunc.load_model(artifact_path)
|
model = mlflow.pyfunc.load_model(artifact_path)
|
||||||
|
|
||||||
with open(f'input_example.json') as f:
|
with open(f'input_example.json') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user