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

NotImplementedError #72

Open
xjsdn opened this issue Nov 4, 2022 · 0 comments
Open

NotImplementedError #72

xjsdn opened this issue Nov 4, 2022 · 0 comments

Comments

@xjsdn
Copy link

xjsdn commented Nov 4, 2022

tensor([[ -6.0881, -6.2532, -6.2991, ..., -11.5129, -11.5129, -11.5129],
[ -6.9093, -5.9843, -5.8405, ..., -11.5129, -11.5129, -11.5129],
[ -6.8329, -6.0982, -6.6101, ..., -11.5129, -11.5129, -11.5129],
...,
[ -8.3635, -8.1427, -8.2876, ..., -11.5129, -11.5129, -11.5129],
[ -8.0431, -7.8149, -8.1762, ..., -11.5129, -11.5129, -11.5129],
[ -7.9314, -8.1326, -8.2959, ..., -11.5129, -11.5129, -11.5129]])
2022-11-05 01:33:22,792 - INFO - Starting new training run.
Validation loop: 0%| | 0/710 [00:00<?, ?it/s]
2022-11-05 01:33:22,799 - INFO - Exiting due to exception: Only 3D, 4D, 5D padding with non-constant padding are supported for now
Traceback (most recent call last):
File "E:\ai_ai\melgan-master\utils\train.py", line 60, in train
validate(hp, args, model_g, model_d, valloader, writer, step)
File "E:\ai_ai\melgan-master\utils\validation.py", line 23, in validate
fake_audio = generator(mel)
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "E:\ai_ai\melgan-master\model\generator.py", line 48, in forward
return self.generator(mel)
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\modules\container.py", line 119, in forward
input = module(input)
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\modules\padding.py", line 173, in forward
return F.pad(input, self.padding, 'reflect')
File "E:\ai_ai\melgan-master\venv\lib\site-packages\torch\nn\functional.py", line 4036, in _pad
raise NotImplementedError("Only 3D, 4D, 5D padding with non-constant padding are supported for now")
NotImplementedError: Only 3D, 4D, 5D padding with non-constant padding are supported for now

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