8000 [`DocTest`] Fix correct checkpoint (#22988) · githubhjs/transformers@a0ae231 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0ae231

Browse files
[DocTest] Fix correct checkpoint (huggingface#22988)
fix pipeline issue
1 parent 5427250 commit a0ae231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/pipelines/mask_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class MaskGenerationPipeline(ChunkPipeline):
7070
```python
7171
>>> from transformers import pipeline
7272
73-
>>> generator = pipeline(model="facebook/sam-vit-h", task="mask-generation")
73+
>>> generator = pipeline(model="facebook/sam-vit-base", task="mask-generation")
7474
>>> outputs = generator(
7575
... "http://images.cocodataset.org/val2017/000000039769.jpg",
7676
... )

0 commit comments

Comments
 (0)
0