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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file enniolearning-0.2.0.tar.gz.

File metadata

  • Download URL: enniolearning-0.2.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10

File hashes

Hashes for enniolearning-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57f0cb68e37863510947c4ad113bd7ccb3504bd8706de7c6039ac4c417de6daf
MD5 ecdbf10a29fc69c13e19a8392a9123da
BLAKE2b-256 992ee6b1ef7eb5794003edbf3fc158ca7180d65f0f82f7a54167af37d008370b

See more details on using hashes here.

File details

Details for the file enniolearning-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: enniolearning-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.10

File hashes

Hashes for enniolearning-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d1ac9eb2d810dcc65b2918acb9ba6422004d937e7c8cdfc6c37c6c96e3b8ddd
MD5 9b90ae41a10eaf264d1ada37e30f54b6
BLAKE2b-256 2c86e07d97edb638714c7038ffc8e2a165fd44888bbd891257d175913d1a1f57

See more details on using hashes here.

Supported by

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