aiexperiments-ai-duet/server/magenta/models
Yotam Mann ff837cec16 server
2016-11-11 13:53:51 -05:00
..
attention_rnn server 2016-11-11 13:53:51 -05:00
basic_rnn server 2016-11-11 13:53:51 -05:00
lookback_rnn server 2016-11-11 13:53:51 -05:00
shared server 2016-11-11 13:53:51 -05:00
__init__.py server 2016-11-11 13:53:51 -05:00
README.md server 2016-11-11 13:53:51 -05:00

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).