Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.3 KB

README.md

File metadata and controls

12 lines (9 loc) · 1.3 KB

Master's thesis - project

This is a project that was created as part of creating my master's thesis. It is a program that creates new songs using the capabilities of the LSTM network.

How to run?

  1. Please make sure you are using Python version 3.6. To run this project it is also required to configure the local environment so that Tensorflow can use the graphics card. Here you will find an article that will guide you step by step through the process of configuring your environment: link.
  2. Create a virtual development environment using the python3 -m venv .venv command.
  3. Activate the virtual environment using the source .venv/bin/activate command.
  4. Install dependencies that are in the requirements.txt file using the pip install -r requirements.txt command
  5. To run the neural network learning process, run the python3 -m src.train.py command. This step is required before performing the next step.
  6. The next step is to start the song generation based on the parameters determined in the previous step. To do this, run the python -m src.generate.py command. A file with the .mid extension will be generated, which should then be run in the appropriate program (e.g. LMMS on Ubuntu) for verification.