aiexperiments-ai-duet/server/magenta/models/shared
Yotam Mann ff837cec16 server
2016-11-11 13:53:51 -05:00
..
__init__.py server 2016-11-11 13:53:51 -05:00
BUILD server 2016-11-11 13:53:51 -05:00
melody_rnn_create_dataset_test.py server 2016-11-11 13:53:51 -05:00
melody_rnn_create_dataset.py server 2016-11-11 13:53:51 -05:00
melody_rnn_generate.py server 2016-11-11 13:53:51 -05:00
melody_rnn_graph_test.py server 2016-11-11 13:53:51 -05:00
melody_rnn_graph.py server 2016-11-11 13:53:51 -05:00
melody_rnn_sequence_generator.py server 2016-11-11 13:53:51 -05:00
melody_rnn_train.py server 2016-11-11 13:53:51 -05:00
primer.mid server 2016-11-11 13:53:51 -05:00
README.md server 2016-11-11 13:53:51 -05:00

This directory contains code and content that is shared by multiple models.

The primer.mid MIDI file is an original three bar long monophonic melody. It can be used as a priming melody when generating melodies with any of the melody RNN models. Example usage:

bazel build magenta/models/basic_rnn:basic_rnn_generate

./bazel-bin/magenta/models/basic_rnn/basic_rnn_generate \
--run_dir=/tmp/basic_rnn/logdir/run1 \
--output_dir=/tmp/basic_rnn/generated \
--num_outputs=10 \
--num_steps=128 \
--primer_midi=<absolute path to primer.mid>