Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 9.82 KB

README.md

File metadata and controls

75 lines (63 loc) · 9.82 KB

Hosted Checkpoints

Short link: https://goo.gl/magenta/js-checkpoints

You can load the pre-trained checkpoints below in your app directly from our server with the links provided. If you would like to download the checkpoint to use locally or host yourself, pass the link to our checkpoint downloader script.

For example, to download the basic_rnn checkpoint, you would run:

python ./scripts/checkpoint_downloader https://storage.googleapis.com/magentadata/js/checkpoints/music_rnn/basic_rnn ./my-checkpoints/

JSON Index

A JSON index of available checkpoints is at https://goo.gl/magenta/js-checkpoints-json, formatted as a list of entries with the following interface:

interface Checkpoint {
  id: string;  // A unique id for this checkpoint.
  model: 'MusicRNN'|'MusicVAE';  // The model class.
  sizeMb: number;  // The size of the weights in megabytes.
  description: string;  // A short human-readable description of the trained model.
  url: string;  // Path to the checkpoint directory.
}

While we do not plan to remove any of the current checkpoints, we will be adding more in the future.

If your application has a high QPS, you must mirror these files on your own server.

Table

ID Model Description Size MB URL
drums_2bar_lokl_small MusicVAE A 2-bar, 9-class onehot drum model with a strong prior (low KL divergence), which is better for sampling. Less accurate, but smaller in size than full model. 18.5 Right Click to Copy
drums_2bar_hikl_small MusicVAE A 2-bar, 9-class onehot drum model with a weak prior (higher KL divergence), which is better for reconstructions and interpolations. Less accurate, but smaller in size than full model. 18.5 Right Click to Copy
drums_2bar_nade_9_q2 MusicVAE A 2-bar, 9-class multilabel drum model with a NADE decoder. Quantized to 2-byte weights. 27.6 Right Click to Copy
drums_4bar_med_q2 MusicVAE A medium-sized 2-bar, 9-class onehot drum model with a weak prior (higher KL divergence), which is better for reconstructions and interpolations. Quantized to 2-byte weights. 68.2 Right Click to Copy
drums_4bar_med_lokl_q2 MusicVAE A medium-sized 2-bar, 9-class onehot drum model with a strong prior (lower KL divergence), which is better for sampling. Quantized to 2-byte weights. 68.2 Right Click to Copy
mel_2bar_small MusicVAE A 2-bar, 90-class onehot melody model. Less accurate, but smaller in size than full model. 17.7 Right Click to Copy
mel_4bar_med_q2 MusicVAE A medium-sized 4-bar, 90-class onehot melody model. Quantized to 2-byte weights. 65.4 Right Click to Copy
mel_4bar_med_lokl_q2 MusicVAE A medium-sized 4-bar, 90-class onehot melody model. Trained with a strong prior (low KL divergence), which is better for sampling. Quantized to 2-byte weights. 65.4 Right Click to Copy
mel_4bar_small_q2 MusicVAE A 4-bar, 90-class onehot melody model. Less accurate, but smaller in size than full model. Quantized to 2-byte weights. 26.5 Right Click to Copy
mel_chords MusicVAE A 2-bar, 90-class onehot melody model with chord conditioning. Quantized to 2-byte weights. 17.6 Right Click to Copy
mel_16bar_small_q2 MusicVAE A 16-bar, 90-class onehot melody model with a 16-step conductor level. Less accurate, but smaller in size than full model. Quantized to 2-byte weights. 23.5 Right Click to Copy
trio_4bar_lokl_small_q1 MusicVAE A 4-bar, 'trio' model for melody, bass, and drums, with a 4-step conductor level. Trained with a strong prior (low KL divergence), which is better for sampling. Less accurate, but smaller in size than full model. Quantized to 1-byte weights. 17.6 Right Click to Copy
trio_16bar_xl MusicVAE A 16-bar, 'trio' model for melody, bass, and drums, with a 4-step conductor level. This is a very large model that should be good for both accurate reconstruction and good sampling. Because of its size, we recommend only using this checkpoint locally (i.e. on a Node server), and not on the client size. 1710 (1.71 GB) Right Click to Copy
multitrack MusicVAE A 1-bar multitrack model, trained with 64 free bits. Quantized to 1-byte weights. 26.4 Right Click to Copy
multitrack_med MusicVAE A larger 1-bar multitrack model, trained with 64 free bits. Quantized to 1-byte weights. 95.9 Right Click to Copy
multitrack_med_fb256 MusicVAE A larger 1-bar multitrack model, trained with 256 free bits. Quantized to 1-byte weights. 95.9 Right Click to Copy
multitrack_chords MusicVAE A 1-bar chord-conditioned multitrack model, trained with 64 free bits. Quantized to 1-byte weights. 26.9 Right Click to Copy
multitrack_med_chords MusicVAE A larger 1-bar chord-conditioned multitrack model, trained with 64 free bits. Quantized to 1-byte weights. 96.9 Right Click to Copy
multitrack_med_chords_fb256 MusicVAE A larger 1-bar chord-conditioned multitrack model, trained with 256 free bits. Quantized to 1-byte weights. 96.9 Right Click to Copy
groovae_2bar_humanize MusicVAE A 2-bar GrooVAE model that converts a quantized, constant-velocity drum pattern into a 'humanized' groove. 15.8 Right Click to Copy
tap2drum_1bar MusicVAE A 1-bar GrooVAE model that converts a constant-velocity single-drum 'tap' pattern into a groove. 15.6 Right Click to Copy
tap2drum_2bar MusicVAE A 2-bar GrooVAE model that converts a constant-velocity single-drum 'tap' pattern into a groove. 15.6 Right Click to Copy
tap2drum_3bar MusicVAE A 3-bar GrooVAE model that converts a constant-velocity single-drum 'tap' pattern into a groove. 15.6 Right Click to Copy
tap2drum_4bar MusicVAE A 4-bar GrooVAE model that converts a constant-velocity single-drum 'tap' pattern into a groove. 15.6 Right Click to Copy
groovae_4bar MusicVAE A 4-bar GrooVAE autoencoder. 15.8 Right Click to Copy
basic_rnn MusicRNN A 36-class onehot MelodyRNN model. Converted from http://download.magenta.tensorflow.org/models/basic_rnn.mag. 13.0 Right Click to Copy
melody_rnn MusicRNN A 128-class onehot MelodyRNN model. 13.4 Right Click to Copy
drum_kit_rnn MusicRNN A 9-class onehot DrumsRNN model. Converted from http://download.magenta.tensorflow.org/models/drum_kit_rnn.mag. 11.9 Right Click to Copy
chord_pitches_improv MusicRNN A 36-class onehot melody ImprovRNN model conditioned on chords as described at https://github.com/tensorflow/magenta/tree/master/magenta/models/improv_rnn#chord-pitches-improv. Converted from http://download.magenta.tensorflow.org/models/chord_pitches_improv.mag. 5.6 Right Click to Copy
onsets_frames_uni OnsetsAndFrames A unidirectional piano transcription model. 60 Right Click to Copy
onsets_frames_uni_q2 OnsetsAndFrames A unidirectional piano transcription model. Quantized to 2-byte weights. 30 Right Click to Copy
ddsp_flute DDSPFlute A flute model for use with DDSP. 3.9 Right Click to Copy
ddsp_tenor_saxophone DDSPTenorSaxophone A tenor saxophone model for use with DDSP. 3.9 Right Click to Copy
ddsp_trumpet DDSPTrumpet A trumpet model for use with DDSP. 3.9 Right Click to Copy
ddsp_violin DDSPViolin A violin model for use with DDSP. 3.9 Right Click to Copy