-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
use default_factory #473
Comments
maybe it's because the version of fairseq |
this is the same on i am using still the same error |
I have been trying to fix this by modifying fairseq to support python 3.11, but it does not seem to be working. See https://github.com/wtf-things/fairseq-311/commits/main and facebookresearch/fairseq#5062.
Am I doing something wrong? I downloaded the latest github release file and extracted it, then I ran python3 -m pip install -r requirements.txt
python3 -m pip install git+https://github.com/wtf-things/fairseq-311/
python3 infer-web.py |
ok now after long time of using codes that may fix my issue. now i am getting this message : Use Language: en_US any idea? |
I am stuck here: python3.11 infer-web.py Traceback (most recent call last): |
I tried this. Before After In the same way, you will have to do it for all the fields required. After that, I got another error. So I uninstalled the fairseq. this absurdism is making me more of a stoic daily. |
The official fix of fairseq is too slow. I have created a fixed version of fairseq that works properly on Python 3.11.
|
I am having the same issue. |
@CrabbyDisk @theoparis During requirement installation, I found some package can only run under <python 3.11 https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Hope this can help you, enjoy! |
Here is the solution for those using Python3.11 |
This issue was closed because it has been inactive for 15 days since being marked as stale. |
Guys easy on me i am a beginner i followed all steps i receive this message 👍
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'fairseq.dataclass.configs.CommonConfig'> for field common is not allowed: use default_factory. i am mac user. any idea.
The text was updated successfully, but these errors were encountered: