File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
359
359
def init():
360
360
global model
361
361
global input_schema
362
- # This name is model.id of model that we want to deploy deserialize the model file back
363
- # into a sklearn model
362
+ # The path ' model' corresponds to the path where the MLflow artifacts where stored when
363
+ # registering the model using MLflow format.
364
364
model_path = os.path.join(os.getenv(' AZUREML_MODEL_DIR' ), ' model' )
365
365
model = mlflow.pyfunc.load_model(model_path)
366
366
input_schema = model.metadata.get_input_schema()
@@ -394,7 +394,7 @@ Use the following steps to deploy an MLflow model with a custom scoring script.
394
394
- scikit- learn== 0.24 .1
395
395
- cloudpickle== 2.0 .0
396
396
- psutil== 5.8 .0
397
- - pandas== 1.5 .2
397
+ - pandas== 1.3 .5
398
398
- azureml- inference- server- http
399
399
name: mlflow- env
400
400
```
You can’t perform that action at this time.
0 commit comments