You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running wav2vec training using my dataset, the following problem occurred, on line 296 of the run_wav2vec_clf.py script:
Traceback (most recent call last): File "run_wav2vec_clf.py", line 490, in <module> main() File "run_wav2vec_clf.py", line 295, in main target_sampling_rate = feature_extractor.feature_extractor.sampling_rate AttributeError: 'Wav2Vec2FeatureExtractor' object has no attribute 'feature_extractor'
When running wav2vec training using my dataset, the following problem occurred, on line 296 of the run_wav2vec_clf.py script:
Traceback (most recent call last): File "run_wav2vec_clf.py", line 490, in <module> main() File "run_wav2vec_clf.py", line 295, in main target_sampling_rate = feature_extractor.feature_extractor.sampling_rate AttributeError: 'Wav2Vec2FeatureExtractor' object has no attribute 'feature_extractor'
The solution for me was to replace with the line:
target_sampling_rate = feature_extractor.sampling_rate
Hope this helps if anyone else has the same problem.
The text was updated successfully, but these errors were encountered: