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

Update audio data augmentation tutorial #2388

Closed

Conversation

mthrok
Copy link
Collaborator

@mthrok mthrok commented May 12, 2022

  • Adopt torchaudio.utils.download_asset to simplify asset management.
  • Break down the first section about helper functions.
  • Reduce the number of helper functions

https://output.circle-artifacts.com/output/job/d7dd1b93-6dfe-46da-a080-109bfdc63881/artifacts/0/docs/tutorials/audio_data_augmentation_tutorial.html

@mthrok mthrok marked this pull request as ready for review May 16, 2022 04:22
@facebook-github-bot
Copy link
Contributor

@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

# 1. Preparation
# --------------
#
# Firstly, we import the modules and download the audio assets we use in this tutorial.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Firstly, we import the modules and download the audio assets we use in this tutorial.
# First, we import the modules and download the audio assets we use in this tutorial.

######################################################################
# Original:
# ~~~~~~~~~
# ---------
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer the original section organization with the subsections (left) over this updated version (right). imo the lack of indentation makes it look cluttered and harder to navigate, thoughts?

Screen Shot 2022-05-16 at 10 05 24 AM

@mthrok mthrok added this to the v0.12 milestone May 24, 2022
- Adopt `torchaudio.utils.download_asset` to simplify asset management.
- Break down the first section about helper functions.
- Reduce the number of helper functions
- Add section number
@mthrok mthrok force-pushed the update-audio-augmentation-tutorial branch from a8c10ba to dcdaa33 Compare June 2, 2022 04:05
Co-authored-by: Caroline Chen <carolinechen@fb.com>
@facebook-github-bot
Copy link
Contributor

@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Hey @mthrok.
You merged this PR, but labels were not properly added. Please add a primary and secondary label (See https://github.com/pytorch/audio/blob/main/.github/process_commit.py)

@mthrok mthrok deleted the update-audio-augmentation-tutorial branch June 3, 2022 22:52
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.

3 participants