Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Obtaining ModelArts Training Job Logs

Updated on 2024-06-12 GMT+08:00

Run the ma-cli ma-job get-log command to obtain ModelArts training job logs.

$ ma-cli ma-job get-log -h
Usage: ma-cli ma-job get-log [OPTIONS]

  Get job log details.

  Example:

  # Get job log by job id
  ma-cli ma-job get-log --job-id ${job_id}

Options:
  -i, --job-id TEXT       Get training job details by job id.  [required]
  -t, --task-id TEXT      Get training job details by task id (default "worker-0").
  -C, --config-file TEXT  Configure file path for authorization.
  -D, --debug             Debug Mode. Shows full stack trace when error occurs.
  -P, --profile TEXT      CLI connection profile to use. The default profile is "DEFAULT".
  -h, -H, --help          Show this message and exit.

Parameter

Type

Mandatory

Description

-i / --job-id

String

Yes

Obtain logs of a training job with a specified job ID.

-t / --task-id

String

No

Obtain logs of a specified task, which defaults to work-0.

Examples

Obtain logs of a training job with a specified job ID.

ma-cli ma-job get-log --job-id b63e90baxxx

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback