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

[FEATURE]: Integrate UrbanSoundDataset for Audio Trainspace #1156

Open
codingwithsurya opened this issue Apr 6, 2024 · 2 comments · May be fixed by #1179
Open

[FEATURE]: Integrate UrbanSoundDataset for Audio Trainspace #1156

codingwithsurya opened this issue Apr 6, 2024 · 2 comments · May be fixed by #1179
Assignees
Labels
enhancement New feature or request

Comments

@codingwithsurya
Copy link
Contributor

codingwithsurya commented Apr 6, 2024

Feature Name

As part of our initiative to extend the Deep Learning Playground's capabilities to include audio data processing, we need to integrate the UrbanSoundDataset into our system.

Your Name

Surya Subramanian

Description

Description

This task involves enhancing the training/core/dataset.py module to support audio data, specifically focusing on the UrbanSound8K dataset. The goal is to create a seamless pipeline for data ingestion, preprocessing, and loading, tailored for audio files.

Objectives

Take inspiration from the other classes in dataset.py and develop dataCreator, train_loader, and test_loader methods to facilitate the loading of preprocessed audio data into the model for training and testing. Ensure that data loading is efficient and integrates well with PyTorch's DataLoader mechanism. Essentially, the code in this class will be used to create train and test datasets.

Implementation Details

Your best bet is to take inspiration from ImageDefaultDatasetCreator and "recreate" that but for the UrbanSoundDataset. It should be seamless for us to call the createTrainDataset() and createTestDataset() methods from other files (like how it is being used called in training/training/routes/image/image.py.

So in summary,

  • The UrbanSoundDataset class should be added to training/core/dataset.py, encapsulating all functionalities related to the UrbanSound8K dataset.
  • Ensure that the dataset loader is compatible with our existing training pipeline, allowing for smooth integration with models and training routines.
  • UPDATE: schemas.py will be handled here. Here's a high level overview of what we are thinking:
# no layer params

# hardcode non tunable params in

# class AudioParams(Schema):
#     name: str
#     problem_type: Literal["CLASSIFICATION"]
#     default: Urban Sound Dataset
#     criterion: negative log likelihood loss
#     optimizer_name: Adam 
#     shuffle: bool
#     epochs: int
#     test_size: float
#     batch_size: int
#     user_arch: arch we are using 

Feel free to play around with this!

Copy link
Contributor

github-actions bot commented Apr 6, 2024

Hello @codingwithsurya! Thank you for submitting the Feature Request Form. We appreciate your contribution. 👋

We will look into it and provide a response as soon as possible.

To work on this feature request, you can follow these branch setup instructions:

  1. Checkout the main branch:
```
 git checkout nextjs
```
  1. Pull the latest changes from the remote main branch:
```
 git pull origin nextjs
```
  1. Create a new branch specific to this feature request using the issue number:
```
 git checkout -b feature-1156
```

Feel free to make the necessary changes in this branch and submit a pull request when you're ready.

Best regards,
Deep Learning Playground (DLP) Team

@noah-iversen
Copy link
Contributor

@arsbw2802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

4 participants