wangtianrui / DCCRN

implementation of "DCCRN-Deep Complex Convolution Recurrent Network for Phase-Aware Speech Enhancement" by pytorch
49 stars 16 forks source link

Question or Bug #7

Closed shanhaidexiamo closed 3 years ago

shanhaidexiamo commented 3 years ago

This line should be times rather than plus? https://github.com/wangtianrui/DCCRN/blob/bcfccf45e2261b9b2fb13093937e6617bbe1e266/model.py#L165

wangtianrui commented 3 years ago

Multiplication of phases will be converted to the addition of exponents:

|S| \cdot |S|_{mask} \cdot ( e^j{\theta} \cdot e^j{\theta_{mask}} )  ->  |S| \cdot |S|_{mask} \cdot e^j{\theta +\theta_{mask}} 

Details can be found in the original DCCRN paper.

shanhaidexiamo commented 3 years ago

Oops! I got it. thank you very much.

wangtianrui commented 3 years ago

You're welcome. Have a nice day!