seungwonpark / melgan

MelGAN vocoder (compatible with NVIDIA/tacotron2)
http://swpark.me/melgan/
BSD 3-Clause "New" or "Revised" License
633 stars 116 forks source link

NotImplementedError #72

Open xjsdn opened 1 year ago

xjsdn commented 1 year ago

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