Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"no such entity as torchaudio.functional.compute_kaldi_pitch" in cosyvoice2 with python 3.10 #758

Open
GrahamHuang3 opened this issue Dec 19, 2024 · 0 comments

Comments

@GrahamHuang3
Copy link

Traceback (most recent call last):
File "/mnt/d/work/CosyVoice2/examples/libritts/cosyvoice/../../../cosyvoice/bin/train.py", line 170, in
main()
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 347, in wrapper
return f(*args, **kwargs)
File "/mnt/d/work/CosyVoice2/examples/libritts/cosyvoice/../../../cosyvoice/bin/train.py", line 101, in main
configs = load_hyperpyyaml(f, overrides=override_dict)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/hyperpyyaml/core.py", line 188, in load_hyperpyyaml
hparams = yaml.load(yaml_stream, Loader=loader)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/yaml/init.py", line 81, in load
return loader.get_single_data()
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 116, in get_single_data
return self.construct_document(node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 120, in construct_document
data = self.construct_object(node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 633, in construct_yaml_map
value = self.construct_mapping(node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
File "/home/huangxu/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/hyperpyyaml/core.py", line 491, in _construct_name
raise ImportError("There is no such entity as %s" % callable_string)
ImportError: There is no such entity as torchaudio.functional.compute_kaldi_pitch

Anyone meeting the same problem? How to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant