Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

real_to_complex, 矩阵维度不一致 #58

Open
QianYing1996 opened this issue Jun 14, 2020 · 0 comments
Open

real_to_complex, 矩阵维度不一致 #58

QianYing1996 opened this issue Jun 14, 2020 · 0 comments

Comments

@QianYing1996
Copy link

在spectrom_to_wav.py中,real_to_complex函数的两个输入矩阵的维度不一样,导致无法相乘?
real_to_complex(pd_abs_x, gt_x):
We want args:
pd_abs_x: 2d array, (n_time, n_freq)
gt_x: 2d complex array, (n_time, n_freq)

但实际输出它们的shape:
pd_abs_x: (114, 257)
gt_x: (120, 257)

请问如何解决这一问题呢?
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant