Coder Social home page Coder Social logo

lstm_music_generator's Introduction

A Machine Learning LSTM Music Generator with RTTTL

Using lstm_generator_wrapper: https://github.com/cosimoiaia/lstm_generator_wrapper

RTTTL Specification: https://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language

Trained Model: https://www.dropbox.com/s/vw2l1g9ydeervdj/model.tfl?dl=0

~/git/lstm_generator_wrapper$ ./lstm.py --dataset ringtones_raw.txt --hidden_layer_size 2 --max_sequence_lenght 32
MaxLen =  32
Vectorizing text...
Text total length: 2203411
Distinct chars: 107
Total sequences: 734460
Training model...
---------------------------------
Run id: ringtones_raw.txt
Log directory: /tmp/tflearn_logs/
---------------------------------
Training samples: 661014
Validation samples: 73446
--
Training Step: 5164  | total loss: 1.222461.27880
| Adam | epoch: 000 | loss: 1.22246 -- iter: 660992/661014
Training Step: 5165  | total loss: 1.23827
| Adam | epoch: 001 | loss: 1.23827 | val_loss: 1.21472 -- iter: 661014/661014
--
Saving trained model to file  model.tfl
-- Test with temperature of %f -- 1.0
bb1rci:8f5,8f5,e5,e5,g5,e5,f5,p,8a5,8a5,f5,a5,8c,8a5,f5,8e,8c.5,d#5
~/git/lstm_generator_wrapper$

First training with a very dirty dataset and a quite short Sequence lenght, however it took only 4h on a AMD FX(tm)-4350 Quad-Core and even with an high temperature, the generated results are not bad at all. LSTMs are really powerfull!

lstm_music_generator's People

Contributors

cosimoiaia avatar

Stargazers

 avatar

Watchers

 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.