Traceback (most recent call last):
File "/notebooks/kohya_ss/venv/bin/accelerate", line 5, in
from accelerate.commands.accelerate_cli import main
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 21, in
from accelerate.commands.estimate import estimate_command_parser
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/accelerate/commands/estimate.py", line 35, in
import timm
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/init.py", line 2, in
from .models import create_model, list_models, is_model, list_modules, model_entrypoint, \
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/models/init.py", line 28, in
from .maxxvit import *
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/models/maxxvit.py", line 225, in
@dataclass
^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 958, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory
Traceback (most recent call last): File "/notebooks/kohya_ss/venv/bin/accelerate", line 5, in
from accelerate.commands.accelerate_cli import main
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 21, in
from accelerate.commands.estimate import estimate_command_parser
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/accelerate/commands/estimate.py", line 35, in
import timm
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/init.py", line 2, in
from .models import create_model, list_models, is_model, list_modules, model_entrypoint, \
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/models/init.py", line 28, in
from .maxxvit import *
File "/notebooks/kohya_ss/venv/lib/python3.11/site-packages/timm/models/maxxvit.py", line 225, in
@dataclass
^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 1230, in dataclass
return wrap(cls)
^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 1220, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 958, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'timm.models.maxxvit.MaxxVitConvCfg'> for field conv_cfg is not allowed: use default_factory