-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix a typoe #65
Comments
@abdelkareemkobo Hmm, I think we may need to be careful here. I just submitted a PR for a related fix. I initially thought that the following two statements were equivalent but they are not The above is for the minds-14 dataset, not Speech Commands but in this case |
In UNIT4 : Pretrained models for audio classification
We’ll load an official Audio Spectrogram Transformer checkpoint fine-tuned on the Speech Commands dataset, under the namespace "MIT/ast-finetuned-speech-commands-v2":
Copied
classifier = pipeline(
"audio-classification", model="MIT/ast-finetuned-speech-commands-v2"
)
classifier(sample["audio"])
Fix it to be classifier(sample["audio"]["array"])
I don't know how to make a pull request yet! :)
The text was updated successfully, but these errors were encountered: