Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bycob/midipic
Midi to Image translation for ML datasets
https://github.com/bycob/midipic
dataset generative-ai generative-art image machine-learning midi music
Last synced: about 19 hours ago
JSON representation
Midi to Image translation for ML datasets
- Host: GitHub
- URL: https://github.com/bycob/midipic
- Owner: Bycob
- Created: 2024-02-24T14:19:02.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-03-26T13:48:44.000Z (8 months ago)
- Last Synced: 2024-03-26T14:52:33.459Z (8 months ago)
- Topics: dataset, generative-ai, generative-art, image, machine-learning, midi, music
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MidiPic: Midi to Image translation for ML datasets
This software converts Midi to image snippets and back, and creates datasets to train image generation models on music.
To train a model you can use [JoliGEN](https://github.com/jolibrain/joligen). Tutorial coming soon!
## Install
```bash
pip install -r requirements.txt
```## Usage
```bash
# Create an image dataset from example.mid
python create_dataset.py example.mid --output_dir images --overlap_count 2 -v
```It creates an image like this:
![midi converted to an image](example.png)