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

how to correctly normalize outputs #3

Open
MultiTrickFox opened this issue Mar 29, 2023 · 0 comments
Open

how to correctly normalize outputs #3

MultiTrickFox opened this issue Mar 29, 2023 · 0 comments

Comments

@MultiTrickFox
Copy link

given the basic conversion:
cqt = CQT_nsgt(numocts, binsoct, mode="matrix_complete", fs=fs, audio_len=Ls, device="cpu", dtype=torch.float32)
coeffs = cqt.fwd(data)
data_ = cqt.bwd(coeffs)

checking the coeffs array seems its not normalized;
print(coeffs.real.min(), coeffs.real.max())

tensor(-101.7243) tensor(140.4326)

Is there a way to quickly and correctly fix this, including being used in bwd() later on too..

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