Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MidiMeConfig

An interface for providing configurable properties to the MidiMe model.

param

The size of the VAE input. Since the inputs to this VAE are actually latent vectors from MusicVAE, then this number should be equal to the number of latent variables used by MusicVAE (zDims). The default is 256.

param

The size of the model's latent vector. The default is 4.

param

The shape of the layers in the Encoder network. The default is [1024, 256, 64].

param

The shape of the layers in the Decoder network. The default is [64, 256, 1024].

param

Weight of the variational loss in the total VAE loss. Default is 1.

param

Number of epochs to train for. Default is 10.

Hierarchy

  • MidiMeConfig

Index

Properties

Optional beta

beta: number

Optional decoder_layers

decoder_layers: number[]

Optional encoder_layers

encoder_layers: number[]

Optional epochs

epochs: number

Optional input_size

input_size: number

Optional latent_size

latent_size: number

Generated using TypeDoc