-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'fairseq.models.speech_to_text.modules' #4726
Comments
@gwenzek Hi, thank you for reporting the issue. I tried to reproduce this, but I couldn't. Can you also confirm this? |
Hi @hirofumi0810, please re-run this notebook, it does reproduce the issue. |
@avidale Thank you for sharing the notebook with me. But I was able to run the notebook without any error... |
@avidale @hirofumi0810
Note that the path where fairseq repository is kept may differ if you use different ways to download/install and different python version,etc. So there was time I did not have to append the path. |
I realized that if instead of installing |
馃悰 Bug
When importing anything from the main branch of Fairseq, an error occurs.
To Reproduce
Install fresh Fairseq
pip install 'git+https://github.com/facebookresearch/fairseq.git'
then try importing from it
Result:
Expected behavior
The import succeeds.
Environment
main
pip
, source):pip install 'git+https://github.com/facebookresearch/fairseq.git'
Additional context
NA
The text was updated successfully, but these errors were encountered: