Giter Site home page Giter Site logo

sarthak268 / audio_classification_using_lstm Goto Github PK

View Code? Open in Web Editor NEW
70.0 3.0 18.0 1.65 MB

Classification of Urban Sound Audio Dataset using LSTM-based model.

License: MIT License

Python 100.00%
audio-classification audio audio-processing lstm-neural-networks lstm rnn-pytorch pytorch urban-sound-classification urban-sound urban-sound-8k

audio_classification_using_lstm's Introduction

Audio Classification using LSTM

Classification of Urban Sound Audio Dataset using LSTM-based model.

Requirements

- pytorch==1.0.1
- scipy==1.2.0
- torchvision==0.2.1
- pandas==0.24.1
- numpy==1.14.3
- torchaudio==0.2
- librosa==0.6.3
- pydub==0.23.1

Steps to follow for testing on your Test Data

  • Create a folder named data/test in the current directory which will contain all the '.wav' files that are to be tested.

  • Download 'bestModel.pt' from this Link and place in the current directory.

  • Run the following commands:

python preprocess.py
python eval.py
  • A csv file named 'test_predictions.csv' will be generated in the current directory containing all the test files along with their corresponding predicted labels.

Citation

In case you find any of this useful, consider citing:

@misc{audio-classification-using-LSTM,
  author = {Shagun Uppal, Anish Madan, Sarthak Bhagat},
  title = {sarthak268/Audio_Classification_using_LSTM},
  url = {https://github.com/sarthak268/Audio_Classification_using_LSTM},
  year = {2019}
}

Team

  • Anish Madan
  • Sarthak Bhagat
  • Shagun Uppal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.