Code accompanying ML4MD paper titled "Latent Space Regularization for Explicit Control of Musical Attributes"