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

[Tutorial][ASR][Fix] Data paths in ASR with NeMo tutorial #4845

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

anteju
Copy link
Collaborator

@anteju anteju commented Aug 31, 2022

What does this PR do ?

This PR aims to fix a few small issues in the ASR with NeMo tutorial.

Collection: ASR

Changelog

  • check if data_dir exists and create if necessary
  • prepend data_dir to paths2audio_files
  • check if the expected config file exists and download if necessary

Usage

n/a

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

n/a

@anteju anteju requested a review from titu1994 August 31, 2022 00:46
Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

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

Lgtm

@@ -56,10 +56,6 @@
"BRANCH = 'main'\n",
"!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[all]\n",
"\n",
"## Grab the config we'll use in this example\n",
"!mkdir configs\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this being moved ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just convenience. The first cell is mostly about setting up environment in Colab, so I'd usually skip/comment it. However, this bit is necessary anyway, so I moved it to the spot where conf is actually used.
I don't have a strong preference, and we can revert if prefered.

@titu1994 titu1994 merged commit dd6e95e into NVIDIA:main Aug 31, 2022
Jorjeous pushed a commit that referenced this pull request Sep 8, 2022
Signed-off-by: Ante Jukić <[email protected]>

Signed-off-by: Ante Jukić <[email protected]>
Co-authored-by: Ante Jukić <[email protected]>
Signed-off-by: George Zelenfroind <[email protected]>
jubick1337 pushed a commit to jubick1337/NeMo that referenced this pull request Oct 3, 2022
Signed-off-by: Ante Jukić <[email protected]>

Signed-off-by: Ante Jukić <[email protected]>
Co-authored-by: Ante Jukić <[email protected]>
Signed-off-by: Matvei Novikov <[email protected]>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 29, 2022
Signed-off-by: Ante Jukić <[email protected]>

Signed-off-by: Ante Jukić <[email protected]>
Co-authored-by: Ante Jukić <[email protected]>
Signed-off-by: Hainan Xu <[email protected]>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 29, 2022
Signed-off-by: Ante Jukić <[email protected]>

Signed-off-by: Ante Jukić <[email protected]>
Co-authored-by: Ante Jukić <[email protected]>
Signed-off-by: Hainan Xu <[email protected]>
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.

2 participants