• Stars
    star
    159
  • Rank 234,579 (Top 5 %)
  • Language
    Python
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A convolutional neural network that classifies sounds

sound-cnn

A convolutional neural network that classifies sounds. This is accomplished by taking raw audio information and converting it into spectogram information. Each spectogram is a "picture" of the sound, which the CNN learns to classify in the same way that traditional image recognition paradigms work.

For more info on how this was accomplished, and how it compares to other methods, read the following Medium post.

###Setup pip install -r requirements.txt

Training

The model can be trained with the following arguments:

$ python train.py 'bpm' 'sampling rate' 'audio path' 'iterations' 'batch size'

bpm is dependent on the sound files being classified

sampling rate is most often set to 44100.

audio path is the directory where the audio files are located. The program will read each file in the directory as a separate sound class, for example: if the directory has two files file1.wav and file2.wav, then there will be two classes that the CNN will attempt to learn to identify.

iterations should vary depending on the difficulty of the classification. 1000 ~ 5000 may be ideal for most situations.

batch size is most often set to 100 ~ 200.

####Example python train.py 240 44100 audio/ 1000 150

More Repositories

1

DeepRL-Agents

A set of Deep Reinforcement Learning Agents implemented in Tensorflow.
Jupyter Notebook
2,231
star
2

TF-Tutorials

A collection of deep learning tutorials using Tensorflow and Python
Jupyter Notebook
523
star
3

Meta-RL

Implementation of Meta-RL A3C algorithm
Jupyter Notebook
401
star
4

oreilly-rl-tutorial

Contains Jupyter notebooks associated with the "Deep Reinforcement Learning Tutorial" tutorial given at the O'Reilly 2017 NYC AI Conference.
Jupyter Notebook
273
star
5

neuro-nav

A library for neuroscience-inspired navigation and decision making research.
Jupyter Notebook
197
star
6

dfp

Reinforcement Learning with Goals
Jupyter Notebook
170
star
7

Pix2Pix-Film

An implementation of Pix2Pix in Tensorflow for use with frames from films
Jupyter Notebook
165
star
8

pytorch-diffusion

A basic PyTorch implementation of 'Denoising Diffusion Probabilistic Models'
Python
161
star
9

3D-TSNE

A Unity project for visualizing t-SNE data in 3D.
C#
73
star
10

RL-CC

Web-based Reinforcement Learning Control Center
Jupyter Notebook
64
star
11

successor_examples

Tutorials on learning and using successor representations.
Jupyter Notebook
49
star
12

ML-Tools

Variety of machine learning algorithms written in python
Python
42
star
13

DNN-Sentiment

Convolutional and recurrent deep neural networks for text sentiment analysis.
Python
32
star
14

NeuralDreamVideos

A deep learning model for creating video sequences
Jupyter Notebook
24
star
15

cognition-course

Slides used in Cognitive Psychology course taught during summer 2015 at the University of Oregon
6
star
16

synescape

Sound visualization app for musicians and music fans.
C#
5
star
17

interaction-grounded-learning

A simple PyTorch implementation of the ideas presented in the paper Interaction Grounded Learning (IGL) from Xie et al., 2021.
Jupyter Notebook
4
star
18

serotonin-ebm

Python
1
star