Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conchylicultor/musicgenerator
Experiment diverse Deep learning models for music generation with TensorFlow
https://github.com/conchylicultor/musicgenerator
deep-learning music-generation rnn tensorflow
Last synced: 13 days ago
JSON representation
Experiment diverse Deep learning models for music generation with TensorFlow
- Host: GitHub
- URL: https://github.com/conchylicultor/musicgenerator
- Owner: Conchylicultor
- License: apache-2.0
- Created: 2016-08-29T15:16:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T14:48:40.000Z (over 7 years ago)
- Last Synced: 2024-10-22T19:51:50.729Z (22 days ago)
- Topics: deep-learning, music-generation, rnn, tensorflow
- Language: Python
- Size: 257 KB
- Stars: 324
- Watchers: 35
- Forks: 80
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MusicGenerator
## Presentation
Experiment diverse Deep learning models for music generation with TensorFlow
## Results
The different models and experiments are explained [here](docs/models.md).
## Installation
The program requires the following dependencies (easy to install using pip):
* Python 3
* TensorFlow (tested with v0.10.0rc0. Won't work with previous versions)
* CUDA (for using gpu, see TensorFlow [installation page](https://www.tensorflow.org/versions/master/get_started/os_setup.html#optional-install-cuda-gpus-on-linux) for more details)
* Numpy (should be installed with TensorFlow)
* Mido (midi library)
* Tqdm (for the nice progression bars)
* OpenCv (Sorry, there is no simple way to install it with python 3. It's primarily used as visualisation tool to print the piano roll so is quite optional. All OpenCv calls are contained inside the imgconnector file so if you want to use test the program without OpenCv, you can try removing the functions inside the file)## Running
To train the model, simply run `main.py`. Once trained, you can generate the results with `main.py --test --sample_length 500`. For more help and options, use `python main.py -h`.
To visualize the computational graph and the cost with TensorBoard, run `tensorboard --logdir save/`.