Pytorch implementation of the popular Improv RNN model ...
https://pythonawesome.com/pytorch-implementation-of-the-popular-improv...06.01.2022 · Overview. This code is a pytorch implementation of the popular Improv RNN model originally implemented by the Magenta team. The model is able to generate melodies conditioned on a given chord progression. a one-hot encoding of the chord root pitch class, e.g. [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0] for a D major (or minor, etc.) chord.