Giter VIP home page Giter VIP logo

dancecomposer's Introduction

DanceComposer

1. Prerequisite

The environment prerequisites are as follows:

  • python 3.8

2. Dataset

The datasets utilized in our paper are as follows:

2.1 AIST

AIST Dance Video Database (AIST Dance DB) is a shared database containing original street dance videos with copyright-cleared dance music. The database is available here.

2.2 GTZAN

The GTZAN dataset is a collection of 1,000 audio files spanning 10 music genres, all having a length of 30 seconds. The audio files are available here.

2.3 GrooveMIDI

The Groove MIDI Dataset (GMD) is composed of 13.6 hours of aligned MIDI and (synthesized) audio of human-performed, tempo-aligned expressive drumming. The MIDI data is available in the documentation.

2.4 LPD

The Lakh Pianoroll Dataset (LPD) is a collection of 174,154 multitrack pianorolls derived from the Lakh MIDI Dataset (LMD). We use its subset lpd-5-cleansed that contains 21,425 five-track pianorolls.

3. Preparation

  • extract human skeleton keypoints using OpenPose
  • extract ground truth music beats
  • extract log mel-scaled spectrogram
  • convert drum track/multi-track MIDI into token sequence

4. Training

4.1 MBPN

To train the MBPN.

python ./src/MBPN/train_MBPN.py

4.2 SSM

To pre-train the Dance style embedding network on AIST.

python ./src/SSM/train_dance_network.py

To pre-train the Music style embedding network on GTZAN.

python ./src/SSM/train_music_network.py

To jointly train the Dance and music style embedding networks.

python ./src/SSM/train_joint.py

4.3 PCMG

To train the Drum Transformer on GrooveMIDI.

python ./src/PCMG/train_drum_Transformer.py

To train the Multi-track Transformer on LPD.

python ./src/PCMG/train_multi_Transformer.py

dancecomposer's People

Contributors

liangx66 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.