You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory
I tried to fix it and I found this in StackOverflow.
It seems it's a bug caused by Python version 3.11. And I checked your environment.yml and install.md, you suggest Python 3.7+ .
But following the environment.yml, the latest Python version will be installed and the bug will arise.
I suggest you change python to python==3.x((eg, 3.9, which I check is OK) in environment.yml.
In case others meet this bug. Thank you!
The text was updated successfully, but these errors were encountered:
Thanks a lot, I encountered the same issue too! Since there are so many dependence, it seems like I can't simply downgrade the python, but only reinstall the environment, which wastes a lot of time😢
Hi, I have tried to install environments with Python>=3.11.x and the same error occurred. But Python==3.10.x can work. Maybe a better choice is to create a new conda env and reinstall the environments by python setup.py develop.
Also include 'field' in the "from dataclass import ..." statement at the top of the python file located at 'kohya_ss-22.1.0\venv\Lib\site-packages\timm\models\maxxvit.py'
I follow the previous steps
And the bug comes up
I tried to fix it and I found this in StackOverflow.
It seems it's a bug caused by Python version 3.11. And I checked your environment.yml and install.md, you suggest Python 3.7+ .
But following the environment.yml, the latest Python version will be installed and the bug will arise.
I suggest you change python to python==3.x((eg, 3.9, which I check is OK) in environment.yml.
In case others meet this bug. Thank you!
The text was updated successfully, but these errors were encountered: