bmusegan
Code for “Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation”
Science Score: 64.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.6%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Code for “Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation”
Basic Info
- Host: GitHub
- Owner: salu133445
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://salu133445.github.io/bmusegan/
- Size: 29 MB
Statistics
- Stars: 59
- Watchers: 5
- Forks: 13
- Open Issues: 4
- Releases: 0
Topics
Metadata Files
README.md
BinaryMuseGAN
BinaryMuseGAN is a follow-up project of the MuseGAN project. In this project, we first investigate how the real-valued piano-rolls generated by the generator may lead to difficulties in training the discriminator for CNN-based models. To overcome the binarization issue, we propose to append to the generator an additional refiner network, which try to refine the real-valued predictions generated by the pretrained generator to binary-valued ones. The proposed model is able to directly generate binary-valued piano-rolls at test time.
We trained the network with training data collected from Lakh Pianoroll Dataset. We used the model to generate four-bar musical phrases consisting of eight tracks: Drums, Piano, Guitar, Bass, Ensemble, Reed, Synth Lead and Synth Pad. Audio samples are available here.
Run the code
Configuration
Modify config.py for configuration.
- Quick setup
Change the values in the dictionary SETUP for a quick setup. Documentation
is provided right after each key.
- More configuration options
Four dictionaries EXP_CONFIG, DATA_CONFIG, MODEL_CONFIG and
TRAIN_CONFIG define experiment-, data-, model- and training-related
configuration variables, respectively.
The automatically-determined experiment name is based only on the values defined in the dictionary
SETUP, so remember to provide the experiment name manually (so that you won't overwrite a trained model).
Run
sh
python main.py
Training data
- Prepare your own data
The array will be reshaped to (-1, num_bar, num_timestep, num_pitch,
num_track). These variables are defined in config.py.
Citing
Please cite the following paper if you use the code provided in this repository.
Hao-Wen Dong and Yi-Hsuan Yang, "Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation," Proceedings of the 19th International Society for Music Information Retrieval Conference (ISMIR), 2018.
[homepage]
[video]
[paper]
[slides]
[slides (long)]
[poster]
[arXiv]
[code]
Owner
- Name: Hao-Wen (Herman) Dong 董皓文
- Login: salu133445
- Kind: user
- Location: USA/Taiwan
- Company: UC San Diego
- Website: hermandong.com
- Twitter: hermanhwdong
- Repositories: 26
- Profile: https://github.com/salu133445
Assistant Professor at University of Michigan | PhD from UC San Diego | Human-Centered Generative AI for Content Generation
Citation (CITATION.cff)
cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
authors:
- family-names: Dong
given-names: Hao-Wen
title: BinaryMuseGAN
preferred-citation:
type: article
authors:
- family-names: Dong
given-names: Hao-Wen
- family-names: Yang
given-names: Yi-Hsuan
title: "Convolutional Generative Adversarial Networks with Binary Neurons for Polyphonic Music Generation"
journal: Proceedings of the 19th International Society for Music Information Retrieval Conference (ISMIR)
year: 2018
date-released: 2018-04-18
license: MIT
url: "https://salu133445.github.io/bmusegan/"
repository-code: "https://github.com/salu133445/bmusegan"
GitHub Events
Total
Last Year
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| salu133445 | s****5@g****m | 97 |
| salu133445 | b****0@n****w | 6 |
| Hao-Wen Dong | s****5@c****w | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 10
- Total pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Total issue authors: 7
- Total pull request authors: 0
- Average comments per issue: 2.3
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ericosmic (4)
- cliffordkleinsr (1)
- avani-031 (1)
- VladJamir (1)
- nicholaschiang (1)
- AnthonyFang623 (1)
- Robrib (1)