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

ValueError: mutable default <class 's3prl.upstream.roberta.roberta_model.EncDecBaseConfig'> for field encoder is not allowed: use default_factory #522

Open
haoyunlf opened this issue Dec 21, 2023 · 3 comments

Comments

@haoyunlf
Copy link

Hello, I have installed s3prl using the minimal installation pip install s3prl and this error occurs when I tried to import it import s3prl.hub as hub
image

Environment
Debian GNU/Linux 11
Python 3.11.5
torch 2.1.2
s3prl 0.4.13

@leo19941227
Copy link
Member

Hi @haoyunlf ,

Thanks for reporting, it seems like a python version related to the newer 3.11.
Since we only test the python version until 3.10.
Could you verify if downgrading the python version help?

@haoyunlf
Copy link
Author

Hi @haoyunlf ,

Thanks for reporting, it seems like a python version related to the newer 3.11. Since we only test the python version until 3.10. Could you verify if downgrading the python version help?

Thank you! This problems is solved when I downgraded the Python version to 3.10.

@leo19941227
Copy link
Member

Cool! I will leave this issue open until we add support for 3.11

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