running error
Closed this issue · 1 comments
do you know why? @janvainer
layers.py", line 105, in forward
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: return x + self.blocks(x)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 493, in call
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: result = self.forward(*input, **kwargs)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 92, in forward
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: input = module(input)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 493, in call
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: result = self.forward(*input, **kwargs)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 92, in forward
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: input = module(input)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 493, in call
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: result = self.forward(*input, **kwargs)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File Layers.py", line 56, in forward
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: return super().forward(x.transpose(2,1)).transpose(2,1)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 196, in forward
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]: self.padding, self.dilation, self.groups)
2020-10-22T14:30:04.000Z /container_e14_1601000345436_6390_02_000002: [1,0]:RuntimeError: Calculated padded input size per channel: (8). Kernel size: (13). Kernel size can't be greater than actual input size
Hi, this error usually occurs when the input is too short. When did you encounter this error? What were your inputs? Did this occur in the Teacher model or in the student model (SpeedySpeech)?