Skip to main content

A Machine Learning engine for MID music files, based on PyTorch framework.

Project description

Ennio-Learning

Ennio is a machine learning program. It takes musics in MID format to learn a theme. Themes are collections of datasets (collection of MID files) having common features, for example :

  • Heroic fantasy
  • Thriller
  • Horror
  • Suspense
  • Classic
  • Manga
  • etc.

Once learning (training) for one theme is done, the model (network weights) is serialized and can be reused for later music generation. Such models are used for instance in Ennio app project.

Training features

Ennio Learning handles Jordan features during training and model evaluation. As these are long processes, Jordan app gives remote access to logs (and ETA), and some control over loops. For example, one may skip a training task if it is not going to be efficient (loss is not decreasing).

Logging

A default logger exists, at level logging.INFO. You may adjust this level by calling

import logging
from enniolearning.utils import set_default_logger_level

set_default_logger_level(logging.DEBUG)

You can also provide your own logger (defined from logging library) by passing logger argument. For example :

import logging, logging.config
logging.config.fileConfig('logging.yml')
logger_from_config = logging.getLogger('simpleExample')

from ennio_training import train
train(logger=logger_from_config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enniolearning-0.2.0.tar.gz (27.0 kB view hashes)

Uploaded Source

Built Distribution

enniolearning-0.2.0-py3-none-any.whl (33.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page