Skip to content

Commit b66b88e

Browse files
authored
Merge pull request #412 from gboeer/patch-1
Fix variable name from 'images' to 'inputs'
2 parents 48c1029 + 42c8dd3 commit b66b88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/en/unit3/vision-transformers/vision-transformers-for-image-segmentation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ segmentation = pipeline("image-segmentation", "facebook/maskformer-swin-base-coc
5656
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
5757
image = Image.open(requests.get(url, stream=True).raw)
5858

59-
results = segmentation(images=image, subtask="panoptic")
59+
results = segmentation(inputs=image, subtask="panoptic")
6060
results
6161
```
6262

0 commit comments

Comments
 (0)