babysor / babysor/MockingBird

在运行工具箱合成声音时出现了这个提示是怎么回事呀

Open
#450 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\flask\app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\flask_restx\api.py", line 672, in error_router
return original_handler(e)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\flask\app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "D:\PythonProject\Pytorch\MockingBird_main\web\__init__.py", line 108, in synthesize
specs = current_synt.synthesize_spectrograms(texts, embeds)
File "D:\PythonProject\Pytorch\MockingBird_main\synthesizer\inference.py", line 128, in synthesize_spectrograms
_, mels, alignments = self._model.generate(chars, speaker_embeddings, style_idx=style_idx, min_stop_token=min_stop_token, steps=steps)
File "D:\PythonProject\Pytorch\MockingBird_main\synthesizer\models\tacotron.py", line 448, in generate
encoder_seq = self.encoder(x, speaker_embedding)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "D:\PythonProject\Pytorch\MockingBird_main\synthesizer\models\tacotron.py", line 41, in forward
x = self.cbhg(x)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "D:\PythonProject\Pytorch\MockingBird_main\synthesizer\models\tacotron.py", line 138, in forward
c = conv(x) # Convolution
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "D:\PythonProject\Pytorch\MockingBird_main\synthesizer\models\tacotron.py", line 84, in forward
x = self.conv(x)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\conv.py", line 301, in forward
return self._conv_forward(input, self.weight, self.bias)
File "D:\ProgramData\Anaconda3\envs\Pytorch\lib\site-packages\torch\nn\modules\conv.py", line 298, in _conv_forward
self.padding, self.dilation, self.groups)
RuntimeError: Unable to find a valid cuDNN algorithm to run convolution

直接用的大佬的模型

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the traceback entry point in web/__init__.py at line 108, then follow synthesizer/inference.py and synthesizer/models/tacotron.py to the failing convolution. Reproduce the synthesis attempt and inspect the reported PyTorch cuDNN failure with the environment details; done means identifying a confirmed cause and a reproducible resolution or clear setup guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python, pytorch
Domain
backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.