Wrong output shape in enhancement.py
PavelPanjaya opened this issue · comments
PavelPanjaya commented
The shape of the output tensor x_hat
is torch.Size([2, 758949])
which can't be written as audio file because of the first dimension.
Simon Welker commented
The model is designed for single-channel speech enhancement; you may be providing a stereo input file?
PavelPanjaya commented
Thanks for your response,
I've converted my audio to mono and it works now.
Thanks.
Simon Welker commented
Great! Closing this issue.