/aetros-cli

AETROS SDK. Python library to manage/monitor deep learning training in AETROS Trainer

Primary LanguagePythonMIT LicenseMIT

AETROS Python SDK / CLI

Build Status PyPI version

This package is a python application you need to use when you want to train simple models or if you want to integrate AETROS in your python model using the AETROS Python SDK.

Simple models

It basically retrieves all model information from AETROS, compiles and starts the training, attached with a special logger callback that sends all information to AETROS Trainer so you can monitor the whole training.

It also contains dataset provider (aetros.auto_dataset, with downloader, generator, in-memory iterator and augmentor) for image datasets which is used if you have a image dataset configured in AETROS Trainer.

Python models

Please see our documentation Python SDK: Getting started.

Installation

$ sudo pip install aetros

# update
$ sudo pip install aetros --upgrade

Requirement

For Simple models (where we generate the Keras code for you), you need to install Keras 1/2 and Python 2.7/3.

For Python models (where you integrate our Python SDK), you only need Python 2/3.

Installation development version

If you want to install current master (which is recommended during the closed-beta) you need to execute:

$ git clone https://github.com/aetros/aetros-cli.git
$ cd aetros-cli
$ make dev-install
$ aetros --help
$ # maybe you have to execute aetros-cli commands using python directly
$ python -m aetros --help

To debug issues, you can try to enable debug mode using DEBUG=1 environment variable in front of the command, example:

$ python -m aetros start owner/model-name/cd877e3f91e137394d644f4b61d97e6ab47fdfde
2017-09-04 17:18:52 osx.fritz.box aetros-job[11153] DEBUG Home config loaded from /Users/marc/.aetros.yml
...

You can alternatively to git clone download the zip at https://github.com/aetros/aetros-cli/archive/master.zip.