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)
Release files for enniolearning 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| enniolearning-0.2.0.tar.gz | 27.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| enniolearning-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.2 kB
Release files / enniolearning-0.2.0.tar.gz
| Download URL | enniolearning-0.2.0.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57f0cb68e37863510947c4ad113bd7ccb3504bd8706de7c6039ac4c417de6daf
|
|
BLAKE2b-256 checksum How to use checksums |
992ee6b1ef7eb5794003edbf3fc158ca7180d65f0f82f7a54167af37d008370b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / enniolearning-0.2.0-py3-none-any.whl
| Download URL | enniolearning-0.2.0-py3-none-any.whl |
|---|---|
| Size | 33.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d1ac9eb2d810dcc65b2918acb9ba6422004d937e7c8cdfc6c37c6c96e3b8ddd
|
|
BLAKE2b-256 checksum How to use checksums |
2c86e07d97edb638714c7038ffc8e2a165fd44888bbd891257d175913d1a1f57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|