Giter Site home page Giter Site logo

ace19-dev / tensorflow-speech-recognition-challenge Goto Github PK

View Code? Open in Web Editor NEW
25.0 7.0 10.0 18.01 MB

Kaggle Competitions: TensorFlow Speech Recognition Challenge

Python 84.54% C++ 15.46%
tensorflow kaggle-competition speech-recognition speech-commands audio

tensorflow-speech-recognition-challenge's Introduction

Kaggle Competitions

TensorFlow Speech Recognition Challenge

Data

  • The dataset is designed to let you build basic but useful voice interfaces for applications, with common words like “Yes”, “No”, digits, and directions included.

Data File Descriptions

  • train.7z - Contains a few informational files and a folder of audio files. The audio folder contains subfolders with 1 second clips of voice commands, with the folder name being the label of the audio clip. There are more labels that should be predicted. The labels you will need to predict in Test are yes, no, up, down, left, right, on, off, stop, go. Everything else should be considered either unknown or silence. The folder background_noise contains longer clips of "silence" that you can break up and use as training input.
    • The files contained in the training audio are not uniquely named across labels, but they are unique if you include the label folder. For example, 00f0204f_nohash_0.wav is found in 14 folders, but that file is a different speech command in each folder.
    • The files are named so the first element is the subject id of the person who gave the voice command, and the last element indicated repeated commands. Repeated commands are when the subject repeats the same word multiple times. Subject id is not provided for the test data, and you can assume that the majority of commands in the test data were from subjects not seen in train.
    • You can expect some inconsistencies in the properties of the training data (e.g., length of the audio).
  • test.7z - Contains an audio folder with 150,000+ files in the format clip_000044442.wav. The task is to predict the correct label. Not all of the files are evaluated for the leaderboard score.
  • sample_submission.csv - A sample submission file in the correct format.
  • link_to_gcp_credits_form.txt - Provides the URL to request $500 in GCP credits, provided to the first 500 requestors.

Evaluation

  • Submissions are evaluated on Multiclass Accuracy, which is simply the average number of observations with the correct label.
    • There are only 12 possible labels for the Test set: yes, no, up, down, left, right, on, off, stop, go, silence, unknown.
    • The unknown label should be used for a command that is not one one of the first 10 labels or that is not silence.
  • For audio clip in the test set, you must predict the correct label
  • The submission file should contain a header and have the following format:

Prerequisite

Question

  • How can we classify voice data?
  • If you use CNN, a typical network, how can you preprocess voice data? (main idea: Wave -> spectrogram)
  • Is it better to use the RNN network because it contains data with time axis?
  • What else is there? (WaveNet)
  • How can we effectively reduce learning data without loss?
  • How can I extract voice only from real life data?

Solutions

  • Customize Small ConvNet Models
  • Data pre-processing (Prepare a best spectrogram image for learning)
    • wav volume normalization
    • find the section of the word based on volume dB level efficiently
    • create the spectrogram png using by wav_to_spectrogram
    • each spectrogram png size change to same size
    • data augmentation

Result

Quick Start

  • It's simple.
    • set your own parameter
    • python new_train.py

Additional work

After reaching a satisfactory level, we might try other resolutions

tensorflow-speech-recognition-challenge's People

Contributors

ace19-dev avatar hongym7 avatar kim-sungil avatar ziippy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.