Code Monkey home page Code Monkey logo

l3net's Introduction

Keras implementation of Look, Listen and Learn (Arandjelović et al., 2017).

The architecture consists of an audio and visual subnetwork. The outputs from each of the subnetworks is concatenated and passed through two dense layers to predict whether the input audio and image correspond or not.


Requirements

  • Python 3
  • Keras
  • Pandas
  • Numpy
  • Scipy
  • Pydub
  • FFmpeg
  • Matplotlib
  • Sklearn
  • Opencv


Dataset

Navigate to the 'dataset' folder.

Download the list of URLs from http://data.csail.mit.edu/soundnet/urls_public.txt. To download the videos, run:

>>bash download.sh

This downloads the videos upto a maximum length of 20 seconds (We use only the first 10s of data). Note that several of the links do not work.

To create the dataset, run:

>>bash run.sh


Running the Code

To train the model, run:

>>python train.py

The model is saved in an h5 file as 'model.h5' at the end of every epoch.


References

Arandjelovic, R., & Zisserman, A. (2017, October). Look, listen and learn. In 2017 IEEE International Conference on Computer Vision (ICCV) (pp. 609-617). IEEE.

l3net's People

Contributors

anshul-gupta24 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.