Skip to content

Commit b6bdc41

Browse files
Merge pull request #215252 from santiagxf/santiagxf/aml-batch-patch
Update how-to-image-processing-batch.md
2 parents 9dbc94f + 1aafe16 commit b6bdc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/batch-inference/how-to-image-processing-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Batch Endpoint can only deploy registered models so we need to register it. You
7878
```python
7979
model_name = 'imagenet-classifier'
8080
model = ml_client.models.create_or_update(
81-
Model(path=model_path, type=AssetTypes.CUSTOM_MODEL)
81+
Model(name=model_name, path=model_path, type=AssetTypes.CUSTOM_MODEL)
8282
)
8383
```
8484

0 commit comments

Comments
 (0)