C0untFloyd / bark-gui

🔊 Text-Prompted Generative Audio Model with Gradio
MIT License
676 stars 63 forks source link

Value Error - on linux when started webui. "python3 webui.py" #82

Open FoxyHowl opened 1 year ago

FoxyHowl commented 1 year ago

Error log:

~/Desktop/AI/Bark/bark-gui$ python3 webui.py Traceback (most recent call last): File "/home/b/Desktop/AI/Bark/bark-gui/webui.py", line 21, in from cloning.clonevoice import clone_voice File "/home/b/Desktop/AI/Bark/bark-gui/cloning/clonevoice.py", line 4, in from bark.hubert.pre_kmeans_hubert import CustomHubert File "/home/b/Desktop/AI/Bark/bark-gui/bark/hubert/pre_kmeans_hubert.py", line 16, in import fairseq File "/home/b/miniconda3/lib/python3.11/site-packages/fairseq/init.py", line 20, in from fairseq.distributed import utils as distributed_utils File "/home/b/miniconda3/lib/python3.11/site-packages/fairseq/distributed/init.py", line 7, in from .fully_sharded_data_parallel import ( File "/home/b/miniconda3/lib/python3.11/site-packages/fairseq/distributed/fully_sharded_data_parallel.py", line 10, in from fairseq.dataclass.configs import DistributedTrainingConfig File "/home/b/miniconda3/lib/python3.11/site-packages/fairseq/dataclass/init.py", line 6, in from .configs import FairseqDataclass File "/home/b/miniconda3/lib/python3.11/site-packages/fairseq/dataclass/configs.py", line 1104, in @dataclass ^^^^^^^^^ File "/home/b/miniconda3/lib/python3.11/dataclasses.py", line 1230, in dataclass return wrap(cls) ^^^^^^^^^ File "/home/b/miniconda3/lib/python3.11/dataclasses.py", line 1220, in wrap return _process_class(cls, init, repr, eq, order, unsafe_hash, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/b/miniconda3/lib/python3.11/dataclasses.py", line 958, in _process_class cls_fields.append(_get_field(cls, name, type, kw_only)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/b/miniconda3/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

manren commented 1 year ago

try python version python3.10