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

Fix GPU spectrogram when window_length != nfft #1999

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

mzient
Copy link
Contributor

@mzient mzient commented Jun 5, 2020

Remove excessive check from GPU spectrogram kernel.
Extend tests to window_length != nfft.

Signed-off-by: Michał Zientkiewicz mzient@gmail.com

Why we need this PR?

Pick one, remove the rest

  • It fixes a bug: Assertion raised when window_length != nfft

What happened in this PR?

Fill relevant points, put NA otherwise. Replace anything inside []

  • What solution was applied:
    • Excessive assertion removed
    • Tests extended to cover the case
  • Affected modules and functionalities:
    • Spectrogram GPU kernel
    • spectrogram operator tests
  • Key points relevant for the review:
    • Check if there's a remote possibility of breaking something?
  • Validation and testing:
    • Pythone end-to-end tests
  • Documentation (including examples):
    • N/A

JIRA TASK: DALI-1456

Extend tests to `win_length != nfft`.

Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
@mzient mzient requested a review from a team June 5, 2020 10:01
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1373126]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1373184]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1373126]: BUILD PASSED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1373184]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1373184]: BUILD PASSED

@mzient mzient merged commit 1799110 into NVIDIA:master Jun 5, 2020
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

Successfully merging this pull request may close these issues.

None yet

4 participants