GithubHelp home page GithubHelp logo

carlb15 / jazz_improvisation_with_lstm Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 14.3 MB

Generating a Jazz Music Sample with a LSTM

License: MIT License

Jupyter Notebook 43.53% Python 56.47%
long-short-term-memory-models lstm keras

jazz_improvisation_with_lstm's Introduction

NOTE: Implementation hidden due to Coursera Terms of Service.

Jazz Improvisation with LSTM

Generating Jazz music with a Long-Short-Term-Memory (LSTM) using Keras.

Implementation

Music has been pre-processed to render into musical values. The RNN model will train on the dataset to generate a sequence of musical values that are post-processed into midi music. The post-processing ensures the same sound isn't repeated too many times, two notes aren't far part in pitch, etc.

Lessons Learned

  1. A sequence model can be used to generate musical values, which are then post-processed into midi music.
  2. Fairly similar models can be used to generate dinosaur names or to generate music, with the major difference being the input fed to the model.
  3. In Keras, sequence generation involves defining layers with shared weights, which are then repeated for the different time steps 1, ..., T_x.

Credit:

Sequence Models Course for Deep Learning Specialization

jazz_improvisation_with_lstm's People

Contributors

carlb15 avatar

Watchers

 avatar  avatar

Forkers

syncshan yiqianzh

jazz_improvisation_with_lstm's Issues

NOne type iterable

your main file has an error that is
`TypeError Traceback (most recent call last)
in
----> 1 model = djmodel(Tx = 30 , n_a = 64, n_values = 78)

in djmodel(Tx, n_a, n_values)
35 x = None
36 # Step 2.C: Perform one step of the LSTM_cell
---> 37 a, _, c = None
38 # Step 2.D: Apply densor to the hidden state output of LSTM_Cell
39 out = None

TypeError: 'NoneType' object is not iterable
`

see to it

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.