Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ee5de663
"vscode:/vscode.git/clone" did not exist on "3ae2e86baffc1fea8b8b93695fb5a10941fd63dc"
Unverified
Commit
ee5de663
authored
Jan 31, 2022
by
NielsRogge
Committed by
GitHub
Jan 31, 2022
Browse files
Add SegformerFeatureExtractor to Auto API (#15410)
parent
0f69b924
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/models/auto/feature_extraction_auto.py
src/transformers/models/auto/feature_extraction_auto.py
+1
-0
No files found.
src/transformers/models/auto/feature_extraction_auto.py
View file @
ee5de663
...
@@ -46,6 +46,7 @@ FEATURE_EXTRACTOR_MAPPING_NAMES = OrderedDict(
...
@@ -46,6 +46,7 @@ FEATURE_EXTRACTOR_MAPPING_NAMES = OrderedDict(
(
"perceiver"
,
"PerceiverFeatureExtractor"
),
(
"perceiver"
,
"PerceiverFeatureExtractor"
),
(
"swin"
,
"ViTFeatureExtractor"
),
(
"swin"
,
"ViTFeatureExtractor"
),
(
"vit_mae"
,
"ViTFeatureExtractor"
),
(
"vit_mae"
,
"ViTFeatureExtractor"
),
(
"segformer"
,
"SegformerFeatureExtractor"
),
]
]
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment