您好!我在运行您的代码的时候发生这个错误:
File "/qwork4/twu/miniconda/envs/tts/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/qdell3data/qwork/txw94/qdell3/TTS/FastDiff-main/egs/datasets/audio/lj/pre_align.py", line 1, in
from data_gen.tts.vocoder_pre_align import VocoderPreAlign
File "/home/twu/.pycharm_helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, *kwargs)
File "/qdell3data/qwork/txw94/qdell3/TTS/FastDiff-main/data_gen/tts/vocoder_pre_align.py", line 17, in
from utils.rnnoise import rnnoise
File "/home/twu/.pycharm_helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, args, **kwargs)
ModuleNotFoundError: No module named 'utils.rnnoise'
您好!我在运行您的代码的时候发生这个错误: File "/qwork4/twu/miniconda/envs/tts/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/qdell3data/qwork/txw94/qdell3/TTS/FastDiff-main/egs/datasets/audio/lj/pre_align.py", line 1, in
from data_gen.tts.vocoder_pre_align import VocoderPreAlign
File "/home/twu/.pycharm_helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, *kwargs)
File "/qdell3data/qwork/txw94/qdell3/TTS/FastDiff-main/data_gen/tts/vocoder_pre_align.py", line 17, in
from utils.rnnoise import rnnoise
File "/home/twu/.pycharm_helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, args, **kwargs)
ModuleNotFoundError: No module named 'utils.rnnoise'
您的utils里面是不是少了一个rnnoise