aiexperiments-ai-duet/server/magenta/models/README.md
Yotam Mann ff837cec16 server
2016-11-11 13:53:51 -05:00

1.1 KiB

Models

This directory contains the various Magenta models.

Generators

All generators for NoteSequence-based models should expose their generator functionality by implementing the BaseSequenceGenerator abstract class defined in lib/sequence_generator.py. This allows all generators to communicate with a standard protocol (defined in protobuf/genator.proto) and will make it easier for various interfaces (e.g., MIDI controllers) to communicate with any model.

Note that the Melody models share a common implementation of the BaseSequenceGenerator interface in MelodyRnnSequenceGenerator, which they then invoke using the generate scripts in each model's directory (e.g., attention_rnn_generate.py).