更新时间:2023-05-05 GMT+08:00
分享

查询ModelArts训练作业日志

执行ma-cli ma-job get-log命令查询ModelArts训练作业日志。

$ 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.

参数名

参数类型

是否必选

参数说明

-i / --job-id

String

查询指定训练任务ID的任务日志。

-t / --task-id

String

查询指定task的日志,默认是work-0。

示例

查询指定训练任务ID的作业日志。

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

分享:

    相关文档

    相关产品