maum-ai/phaseaug

Missing variable in forward_sync

yzmyyff opened this issue · 2 comments

I got an exception from forward_sync:

...
  File "/usr/local/lib/python3.8/dist-packages/phaseaug/phaseaug.py", line 117, in forward_sync
    phi = self.sample_phi(self, X.shape[0] // 2) #[2B, nfft//2+1]
NameError: name 'X' is not defined

X is the result of stft and is removed in version 1.0.0

Thank you for pointing out my mistakes!
I fixed it and released as version 1.0.1

Thanks a lot.
Version 1.0.1 worked.