rishikksh20 / FastSpeech2

PyTorch Implementation of FastSpeech 2 : Fast and High-Quality End-to-End Text to Speech
Apache License 2.0
223 stars 51 forks source link

Calculated padded input size per channel: (8). Kernel size: (9). Kernel size can't be greater than actual input size #28

Open atkisonb opened 3 years ago

atkisonb commented 3 years ago

When I try to run inference using a checkpoint I created: python .\inference.py -c .\config\default.yaml -p .\checkpoints\output\output_fastspeech_d7ef3cf_1k_steps.pyt --out output --text "ModuleList can be indexed like a regular Python list but modules it contains are properly registered."

I get the following error: RuntimeError: Calculated padded input size per channel: (8). Kernel size: (9). Kernel size can't be greater than actual input size

I trained using the following setting in the Default.yaml file: positionwise_conv_kernel_size : 9

When I attempt to train with positionwise_conv_kernel_size : 8 instead of 9, I get a training error. Any help would be appreciated.

zhouzhiyang95 commented 3 years ago

@atkisonb I get the same error... Have you solved this problem yet?