We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there
I’m trying to run the codes from this repository on COLAB but I get an error when importing fairseq in the first cells.
ImportError Traceback (most recent call last) in <cell line: 6>() 4 get_ipython().system('pip install --editable ./') 5 ----> 6 import fairseq
6 frames /content/fairseq/fairseq/optim/lr_scheduler/inverse_square_root_schedule.py in 4 # LICENSE file in the root directory of this source tree. 5 ----> 6 from collections import Collection 7 from dataclasses import dataclass, field 8 from typing import List
ImportError: cannot import name 'Collection' from 'collections' (/usr/lib/python3.10/collections/init.py)
Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there
I’m trying to run the codes from this repository on COLAB but I get an error when importing fairseq in the first cells.
ImportError Traceback (most recent call last)
in <cell line: 6>()
4 get_ipython().system('pip install --editable ./')
5
----> 6 import fairseq
6 frames
/content/fairseq/fairseq/optim/lr_scheduler/inverse_square_root_schedule.py in
4 # LICENSE file in the root directory of this source tree.
5
----> 6 from collections import Collection
7 from dataclasses import dataclass, field
8 from typing import List
ImportError: cannot import name 'Collection' from 'collections' (/usr/lib/python3.10/collections/init.py)
![ERROR IMPORT](https://private-user-images.githubusercontent.com/99345628/238130602-37dd4c8a-3723-427d-9f2f-4bb22403dfc8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5Njg3MjMsIm5iZiI6MTczOTk2ODQyMywicGF0aCI6Ii85OTM0NTYyOC8yMzgxMzA2MDItMzdkZDRjOGEtMzcyMy00MjdkLTlmMmYtNGJiMjI0MDNkZmM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE5VDEyMzM0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2NjMxNGJlYWFmZTMwMjQ2MWM0OTI2YmRiZThmYWFlOTFkMDdlZWY0MDEwZGEzOTU3ZmY0YTMwZGI3MmRlYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3FaQM_aiNJJ3FD_lX6zDbvElzBfybIFtSq6TRJyBLNQ)
Thanks in advance
The text was updated successfully, but these errors were encountered: