Giter VIP home page Giter VIP logo

marvin-models's Introduction

marvin-models

This repository contains all relevant code and project files for the Marvin project, a trigger word detector able to recognize the word "Marvin" from a stream of audio data. Here you can find the final model implementations, all code used for training and tuning, evaluation metrics with visualizations, in addition to an interactive demonstration of the final models.

Imgur

Link to video here.
Link to paper here.


Jupyter Notebooks

All interactive Jupyter Notebooks are created in Google Colaboratory. For certain notebooks we have used functionality exclusive to this platform, which implies that notebooks must be run on Google Colaboratory for proper execution. Notebooks also clone this Git repository into the remote virtual instance such that scripts and other utilities defined in this repository can be invoked.

Every notebook also includes colab-exclusive markdown functionality. We therefore highly recommend navigating individual notebooks using the links below for increased readability, as these notebooks do not render properly in the GitHub preview.

notebooks/
    analysis/
        dataframes.ipynb
        tensorboard.ipynb
    training/
        model_cnn.ipynb
        model_naive.ipynb
        model_rnn.ipynb
    demo.ipynb
    evaluation.ipynb
    preprocessing.ipynb


Repository structure

data/

This directory serves as a placeholder for the dataset, which is lazily loaded in parallel from this release by the notebooks prior to training or evaluation. All the different dataset formats are stored in a Google Cloud Storage Bucket, which can be found here.

logs/

Contains log files for the majority of tested model configurations. Exported models for all configurations can be found within the GCS bucket here.

models/

Contains all relevant information regarding the final models. We have also exported and converted the models to the following formats for easier deployment:

  • Python: SavedModel and Keras H5 format.
  • JavaScript: GraphModel and LayersModel format for easier client-side web integration.
notebooks/

Contains all interactive Jupyter Notebooks listed above.

results/

Contains metrics and figures from evaluation of the final models.

scripts/

Utility scripts which defines resampling strategy, custom model layers, preprocessing scripts used by the interactive notebooks.

visualization/

Various visualizations used in the paper or during analysis of model configurations.


TensorBoard Experiments

One of the tools we used for analyzing model configurations was TensorBoard. An extract of model configurations can be found here:

For the complete list of configurations, run the tensorboard.ipynb notebook as it fetches logs directly from remote cloud storage and launches TensorBoard.


Interactive demo

An interactive demonstration of the final models can be found here.

marvin-models's People

Contributors

patrikkj avatar

Watchers

 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.