create-job-definition

Description

Create a training definition. Pass the name from the training configuration file (training.yaml) as an argument.

Synopsis

$ abeja training create-job-definition [--help]
Usage: abeja training create-job-definition [OPTIONS]

  Create training job definition

Options:
  --help  Show this message and exit.

Example

To create a training definition

Create a training definition for this example

Training configuration file (training.yaml) :

name: training1
# handler: train:handler
# image: abeja-inc/all-gpu:19.04
# params:
#   param1: value1
#   parma2: value2
# datasets:
#   dataset_name1: value1
#   dataset_name2: value2

Command:

$ abeja training create-job-definition

Output:

{
    "created_at": "2018-02-21T09:56:35.430008Z",
    "job_definition_id": "1368416720943",
    "modified_at": "2018-02-21T09:56:35.430162Z",
    "name": "training1",
    "organization_id": "1102940376065",
    "version_count": 0,
    "versions": []
}