We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbda069 + cdfd027 commit 8968b17Copy full SHA for 8968b17
articles/machine-learning/batch-inference/how-to-mlflow-batch.md
@@ -461,7 +461,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
461
# AZUREML_MODEL_DIR is an environment variable created during deployment
462
# It is the path to the model folder
463
model_path = os.path.join(os.environ["AZUREML_MODEL_DIR"], "model")
464
- model = mlflow.pyfunc.load(model_path)
+ model = mlflow.pyfunc.load_model(model_path)
465
466
def run(mini_batch):
467
results = pd.DataFrame(columns=['file', 'predictions'])
0 commit comments