Skip to content

Commit d7b18a0

Browse files
sbucaillequbvel
andauthored
Apply suggestions from code review
Co-authored-by: Pavel Iakubovskii <[email protected]>
1 parent ea75647 commit d7b18a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/en/model_doc/efficientloftr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import torch
3737
from transformers import pipeline
3838

3939
pipeline = pipeline(
40-
task="image-classification",
40+
task="keypoint-matching",
4141
model="zju-community/efficientloftr",
4242
threshold=0.2
4343
)

docs/source/en/model_doc/lightglue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import torch
3939
from transformers import pipeline
4040

4141
pipeline = pipeline(
42-
task="image-classification",
42+
task="keypoint-matching",
4343
model="ETH-CVG/lightglue_superpoint",
4444
threshold=0.2
4545
)

docs/source/en/model_doc/superglue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import torch
3939
from transformers import pipeline
4040

4141
pipeline = pipeline(
42-
task="image-classification",
42+
task="keypoint-matching",
4343
model="magic-leap-community/superglue_outdoor",
4444
threshold=0.2
4545
)

0 commit comments

Comments
 (0)