8000 how to write the mask layer in keras ? · Issue #50 · andabi/music-source-separation · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

how to write the mask layer in keras ? #50

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

Open
ucasiggcas opened this issue Oct 8, 2019 · 0 comments
Open

how to write the mask layer in keras ? #50

ucasiggcas opened this issue Oct 8, 2019 · 0 comments
698F

Comments

@ucasiggcas
Copy link

hi,
I just want to use keras instead of tf to write the model,
but I can't when I find that it's not easy to write the easy Ops in tf
that is,
I can't translate the codes into keras
# time-freq masking layer y_tilde_src1 = y_hat_src1 / (y_hat_src1 + y_hat_src2 + np.finfo(float).eps) * self.x_mixed y_tilde_src2 = y_hat_src2 / (y_hat_src1 + y_hat_src2 + np.finfo(float).eps) * self.x_mixed

any one could help me ?

I know the x_mixed is the inputs, shape =(None,None,513)
if I set the second None as 5,and the first is the batch,

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
0