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

Drop support for kaldi-io #4042

Merged
merged 2 commits into from
Apr 22, 2022
Merged

Drop support for kaldi-io #4042

merged 2 commits into from
Apr 22, 2022

Conversation

titu1994
Copy link
Collaborator

Signed-off-by: smajumdar titu1994@gmail.com

What does this PR do ?

Remove all support for kaldi-io.
Reason - very old library that has poor logging format and is very rarely used.

Collection: [ASR]

Changelog

  • Remove any support for kaldi-io

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Signed-off-by: smajumdar <titu1994@gmail.com>
VahidooX
VahidooX previously approved these changes Apr 22, 2022
Copy link
Collaborator

@VahidooX VahidooX left a comment

Choose a reason for hiding this comment

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

Just a minor comment.

@@ -183,7 +171,7 @@ def from_file(
logging.error(f"Loading {audio_file} via pydub raised CouldntDecodeError: `{err}`.")

if samples is None:
libs = "soundfile, kaldiio, and pydub" if HAVE_KALDI_PYDUB else "soundfile"
libs = "soundfile, kaldiio, and pydub" if HAVE_PYDUB else "soundfile"
Copy link
Collaborator

Choose a reason for hiding this comment

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

"soundfile, kaldiio, and pydub" -> "soundfile, and pydub"
Need to drop kaldio here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

Signed-off-by: smajumdar <titu1994@gmail.com>
@titu1994 titu1994 merged commit 431c561 into NVIDIA:main Apr 22, 2022
@titu1994 titu1994 deleted the remove_kaldi_io branch April 22, 2022 07:43
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

2 participants