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

Removed check_length from validate_input_file() #1312

Merged
merged 1 commit into from Feb 24, 2021

Conversation

prabhat00155
Copy link
Contributor

@prabhat00155 prabhat00155 commented Feb 24, 2021

Some audio formats like gsm does not have valid frame numbers when opened. But libsox can properly handle these audios, so checking if length > 0 is not necessary and too strict.

Copy link
Collaborator

@mthrok mthrok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

follow-up - add load test for GSM.

@prabhat00155
Copy link
Contributor Author

LGTM.

follow-up - add load test for GSM.

Shall I create a different PR for this?

@mthrok
Copy link
Collaborator

mthrok commented Feb 24, 2021

LGTM.
follow-up - add load test for GSM.

Shall I create a different PR for this?

If you have time and would like to, go for it.

@mthrok mthrok merged commit 086467a into pytorch:master Feb 24, 2021
@prabhat00155 prabhat00155 deleted the prabhat00155/fix_gsm branch February 24, 2021 20:45
prabhat00155 added a commit to prabhat00155/audio that referenced this pull request Feb 24, 2021
Some audio formats like `gsm` does not have valid frame numbers when opened. But `libsox` can properly handle these audios, so checking if `length > 0` is not necessary and too strict.

(cherry picked from commit 086467a)
mthrok pushed a commit to mthrok/audio that referenced this pull request Feb 26, 2021
…ytorch#1312)

* [quant] Guide on using FX Graph Mode Quantization and symbolic trace

* [quant] Guide on using FX Graph Mode Quantization and symbolic trace

* Update user guide title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants