Custom feature extractor (#15630)
* Rework AutoFeatureExtractor.from_pretrained internal * Custom feature extractor * Add more tests * Add support for custom feature extractor code * Clean up
This commit is contained in:
5
utils/test_module/custom_feature_extraction.py
Normal file
5
utils/test_module/custom_feature_extraction.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from transformers import Wav2Vec2FeatureExtractor
|
||||
|
||||
|
||||
class CustomFeatureExtractor(Wav2Vec2FeatureExtractor):
|
||||
pass
|
||||
Reference in New Issue
Block a user