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
when I use command to start the web:python webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
it shows that:2025-01-08 09:30:04,416 - modelscope - INFO - PyTorch version 2.0.1 Found.
2025-01-08 09:30:04,426 - modelscope - INFO - Loading ast index from C:\Users\0177130.cache\modelscope\ast_indexer
2025-01-08 09:30:05,104 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 54acec5fcf574abd6d1c4ce42c811e89 and a total number of 980 components indexed
failed to import ttsfrd, use WeTextProcessing instead
Traceback (most recent call last):
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 343, in safeimport
module = import(path)
File "D:\CosyVoice\CosyVoice\cosyvoice\flow\flow_matching.py", line 16, in
from matcha.models.components.flow_matching import BASECFM
ModuleNotFoundError: No module named 'matcha'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "webui.py", line 187, in
cosyvoice = CosyVoice2(args.model_dir) if 'CosyVoice2' in args.model_dir else CosyVoice(args.model_dir)
File "D:\CosyVoice\CosyVoice\cosyvoice\cli\cosyvoice.py", line 35, in init
configs = load_hyperpyyaml(f)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 188, in load_hyperpyyaml
hparams = yaml.load(yaml_stream, Loader=loader)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\yaml_init_.py", line 81, in load
return loader.get_single_data()
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 116, in get_single_data
return self.construct_document(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 120, in construct_document
data = self.construct_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 633, in construct_yaml_map
value = self.construct_mapping(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 480, in _construct_object
args, kwargs = _load_node(loader, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 434, in _load_node
kwargs = loader.construct_mapping(node, deep=True)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 470, in construct_object
callable = pydoc.locate(callable_string)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 1626, in locate
nextmodule = safeimport('.'.join(parts[:n+1]), forceload)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 358, in safeimport
raise ErrorDuringImport(path, sys.exc_info())
pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ModuleNotFoundError: No module named 'matcha'
so how could i solve this problem
The text was updated successfully, but these errors were encountered:
when I use command to start the web:python webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
it shows that:2025-01-08 09:30:04,416 - modelscope - INFO - PyTorch version 2.0.1 Found.
2025-01-08 09:30:04,426 - modelscope - INFO - Loading ast index from C:\Users\0177130.cache\modelscope\ast_indexer
2025-01-08 09:30:05,104 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 54acec5fcf574abd6d1c4ce42c811e89 and a total number of 980 components indexed
failed to import ttsfrd, use WeTextProcessing instead
Traceback (most recent call last):
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 343, in safeimport
module = import(path)
File "D:\CosyVoice\CosyVoice\cosyvoice\flow\flow_matching.py", line 16, in
from matcha.models.components.flow_matching import BASECFM
ModuleNotFoundError: No module named 'matcha'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "webui.py", line 187, in
cosyvoice = CosyVoice2(args.model_dir) if 'CosyVoice2' in args.model_dir else CosyVoice(args.model_dir)
File "D:\CosyVoice\CosyVoice\cosyvoice\cli\cosyvoice.py", line 35, in init
configs = load_hyperpyyaml(f)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 188, in load_hyperpyyaml
hparams = yaml.load(yaml_stream, Loader=loader)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\yaml_init_.py", line 81, in load
return loader.get_single_data()
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 116, in get_single_data
return self.construct_document(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 120, in construct_document
data = self.construct_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 633, in construct_yaml_map
value = self.construct_mapping(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 480, in _construct_object
args, kwargs = _load_node(loader, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 434, in _load_node
kwargs = loader.construct_mapping(node, deep=True)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\site-packages\hyperpyyaml\core.py", line 470, in construct_object
callable = pydoc.locate(callable_string)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 1626, in locate
nextmodule = safeimport('.'.join(parts[:n+1]), forceload)
File "C:\Users\0177130.conda\envs\cosyvoice\lib\pydoc.py", line 358, in safeimport
raise ErrorDuringImport(path, sys.exc_info())
pydoc.ErrorDuringImport: problem in cosyvoice.flow.flow_matching - ModuleNotFoundError: No module named 'matcha'
so how could i solve this problem
The text was updated successfully, but these errors were encountered: