Closed zmolikova closed 4 years ago
Thank you for this issue I have opened a pull request #68 which will solve this problem and adds a test case testing the inverse for the stacked representation. It should be merged shortly.
Solution merged in #68
Thank you!
Hi, using
complex_representation='stacked'
for inverse STFT leads to an error:The problem starts already at https://github.com/fgnt/padertorch/blob/8eec9aae56a29aefb111f07a663d183236de19b8/padertorch/ops/_stft.py#L201 which leads to a different shape of
signal_real
andsignal_imag
than in theconcat
case.A quick fix is to unify the representation in the beginning
and then treat both representations as
concat
.