Skip to content
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

AttributeError: 'Namespace' object has no attribute 'extractor_mode' #25

Open
wsywsywsywsywsy979 opened this issue Mar 20, 2023 · 1 comment

Comments

@wsywsywsywsywsy979
Copy link

hello, when I use wave2vec pre-train model(wav2vec_small.pt) , I get the errror"AttributeError: 'Namespace' object has no attribute 'extractor_mode'", I have done something as following, but can't solve it, could you give me some advice?

  1. I have tried to use 'vq-wav2vec.pt', but useless.
  2. I have tried to remove python/package/fairseq and git clone https://github.com/facebookresearch/fairseq.git, but still no use.
@martinshkreli
Copy link

it worked for me if you drop to fairseq==0.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants