- In your terminal, cd to the location where this folder is located.
- You can then run any config file in the configs folder into the model by doing:
python main.py config_{specify which config file}.pyin the terminal. - After you run a model, a plot of the training and validation losses get saved in a plots folder, and checkpoints of the model will be saved in the checkpoints folder.
- To generate music for a given model without training, set the path of the checkpoint model in the config file, and also set the evaluation mode to true in the config. This will save the generated song as a .txt file.
- To generate a heatmap for a given neuron, set the generate heatmap config to true, and set the neuron number in the generate.py file. Running main with evaluation mode will generate a heatmap for the specified path model, and save the heatmap as a png file.
jackljk/Character-Level-Music-Generator
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|