sergioburdisso / recurrently-happy-rnn

"Having Fun with Recurrent Neural Networks (RNNs)" - Tutorial for PyData 2017 - TensorFlow - Text [and songs] Generation

Home Page:https://pydata.org/sanluis2017/schedule/presentation/3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having Fun with Recurrent Neural Networks (RNNs)

(This repo contains all the files you need to replicate the Tutorial I've given on the PyData 2017 conference =D)

Description: https://pydata.org/sanluis2017/schedule/presentation/3/

Static Slides: http://tworld.io/extra/pydata/recurrently-happy-rnn.slides.html


First things first

Make sure you have installed the following before opening the notebook.

~$ pip install RISE
~$ jupyter-nbextension install rise --py --sys-prefix
~$ jupyter-nbextension enable rise --py --sys-prefix
  • ABC player: to be able to play ABC songs, we'll use abcmidi and timidity commands. Try to install them on ubuntu by:
~$ sudo apt install abcmidi
~$ sudo apt-get install timidity timidity-interfaces-extra
  • Finally, you should download the needed files:
  1. Download the dataset from here: dataset.zip
  2. Download the pretrained models from here: trained_models.zip
  3. Extract those .zip files inside the notebook directory, so that you end up with something like this:
recurrently-happy-rnn
    ├──dataset/
    ├──trained_models/
    ├──images/
    ├──recurrently-happy-rnn.ipynb
    ...
  1. Run the Jupyter notebook inside this directory (otherwise, images won't be displayed).

And that's it. Enjoy, have fun and happy hacking! :D

About

"Having Fun with Recurrent Neural Networks (RNNs)" - Tutorial for PyData 2017 - TensorFlow - Text [and songs] Generation

https://pydata.org/sanluis2017/schedule/presentation/3/


Languages

Language:Jupyter Notebook 85.1%Language:Python 14.7%Language:Shell 0.2%