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
Traceback (most recent call last):
File "/home/ubuntu/parler-tts/helpers/model_init_scripts/init_model_600M.py", line 21, in<module>
encodec = AutoModel.from_pretrained(encodec_version)
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1041, in from_pretrained
return config_class.from_dict(config_dict, **unused_kwargs)
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/configuration_utils.py", line 718, in from_dict
config = cls(**config_dict)
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/models/dac/configuration_dac.py", line 106, in __init__
super().__init__(**kwargs)
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/configuration_utils.py", line 318, in __init__
raise err
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/configuration_utils.py", line 315, in __init__
setattr(self, key, value)
File "/home/ubuntu/parler-tts/.venv/lib/python3.10/site-packages/transformers/configuration_utils.py", line 200, in __setattr__
super().__setattr__(key, value)
AttributeError: can't set attribute 'frame_rate'
The text was updated successfully, but these errors were encountered:
After this hotfix (ignore the "frame_rate" ) I can now initialize a model.
# Additional attributes without default valuesforkey, valueinkwargs.items():
try:
ifkey=="frame_rate":
continuesetattr(self, key, value)
exceptAttributeErroraserr:
logger.error(f"Can't set {key} with value {value} for {self}")
raiseerr
Running:
I get the following trace:
The text was updated successfully, but these errors were encountered: