Add missing feature extractors (#13374)

This commit is contained in:
Lysandre Debut 2021-09-01 17:10:49 +02:00 committed by GitHub
parent 2406892a2e
commit 33b7c9a8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ FEATURE_EXTRACTOR_MAPPING_NAMES = OrderedDict(
("speech_to_text", "Speech2TextFeatureExtractor"),
("vit", "ViTFeatureExtractor"),
("wav2vec2", "Wav2Vec2FeatureExtractor"),
("detr", "DetrFeatureExtractor"),
("layoutlmv2", "LayoutLMv2FeatureExtractor"),
("clip", "ClipFeatureExtractor"),
]
)