Bachbot
Use deep learning to generate and harmonize music in the style of Bach
Install / Use
/learn @feynmanliang/BachbotREADME
BachBot
BachBot is a research project utilizing long short term memory (LSTMs) to generate Bach compositions.
Installation
Docker container images are hosted on DockerHub.
CPU-only
docker pull fliang/bachbot:base
CUDA-7.5
docker pull fliang/bachbot:CUDA-7.5
Getting Started
Set up environment
source scripts/activate
Prepare polyphonic Bach chorale corpus and train torch-rnn LSTM.
bachbot chorales prepare_poly && \
bachbot concatenate_corpus scratch/*.utf && \
bachbot make_h5 && \
bachbot train
Sample the trained LSTM and decode output to musicXML.
bachbot sample <path_to_checkpoint> -t <temperature> && \
bachbot decode decode_chord_constant_t_utf scratch/utf_to_txt.json scratch/sampled_<temperature>.utf
Workflow
source ./scripts/activate.zshto set up the working environment- Pro-tip: Add
source ~/bachbot/scripts/activateto your.{bash|zsh}rc
- Pro-tip: Add
- To develop on the scripts
Thecd ./scripts pip install --editable .bachbotshell command will use the entry point defined inside./scripts/setup.py. - To generate
ctagswhich include system Python librariesctags -R -f ./tags `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`<CR>
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
