describe-versions

説明

Describe training definition versions information.

概要

$ abeja training describe-versions [OPTIONS]

Options:
  -j, --job_definition_name, --job-definition-name TEXT
                                  Training job definition name
  --include-archived              Includes archived training versions.
  --help                          Show this message and exit.

Argument

Gets the training-definition name from the training configuration file (training.yaml) . If job-definition-name option is given, the option has priotiry.

Option

-j, --job_definition_name, --job-definition-name

Specify the ID of the job-definition name which the training definition versions you want to get information belongs to.

--include-archived

Includes archived training job definition versions when listing training job definition versions. Archived training job definition versions are excluded when this option is not given.

Example

How to describe training job definition versions information

Describe training job definition versions information in this example

Training configuration File (training.yaml) :

name: training1
handler: train:handler
image: abeja-inc/all-gpu:19.04
datasets:
  "mnist": "1111111111111"

コマンド:

$ abeja training describe-versions

Output:

{
  "entries": [
    {
      "job_definition_id": "xxxxx",
      "job_definition_version": 3,
      "handler": "train:handler",
      "image": "abeja-inc/all-cpu:19.04",
      "user_parameters": {},
      "environment": {},
      "datasets": {},
      "description": null,
      "archived": false,
      "created_at": "2020-02-25T00:06:00.875125Z",
      "modified_at": "2020-02-25T00:06:00.968775Z"
    },
    {
      "job_definition_id": "xxxxx",
      "job_definition_version": 1,
      "handler": "train:handler",
      "image": "abeja-inc/all-cpu:19.04",
      "user_parameters": {},
      "environment": {},
      "datasets": {},
      "description": null,
      "archived": false,
      "created_at": "2020-02-21T04:37:18.418371Z",
      "modified_at": "2020-02-21T04:37:18.584583Z"
    }
  ]
}