AI开发平台ModelArts-查询训练作业参数详情:响应示例

时间:2025-01-26 10:45:13

响应示例

  • 成功响应示例
    {    "spec_code": "modelarts.vm.gpu.v100",    "user_image_url": "100.125.5.235:20202/jobmng/custom-cpu-base:1.0",    "user_command": "bash -x /home/work/run_train.sh python /home/work/user-job-dir/app/mnist/mnist_softmax.py --data_url /home/work/user-job-dir/app/mnist_data",    "gpu_type": "nvidia-v100",    "dataset_version_id": "2ff0d6ba-c480-45ae-be41-09a8369bfc90",    "engine_name": "TensorFlow",    "is_success": true,    "nas_mount_path": "/home/work/nas",    "worker_server_num": 1,    "nas_share_addr": "192.168.8.150:/",    "train_url": "/test/minst/train_out/out1/",    "nas_type": "nfs",    "spec_id": 4,    "parameter": [        {            "label": "learning_rate",            "value": 0.01        }    ],    "log_url": "/usr/log/",    "config_name": "config123",    "app_url": "/usr/app/",    "create_time": 1559045426000,    "dataset_id": "38277e62-9e59-48f4-8d89-c8cf41622c24",    "volumes": [        {            "nfs": {                "id": "43b37236-9afa-4855-8174-32254b9562e7",                "src_path": "192.168.8.150:/",                "dest_path": "/home/work/nas",                "read_only": false            }        },        {            "host_path": {                "src_path": "/root/work",                "dest_path": "/home/mind",                "read_only": false            }        }    ],    "cpu": "64",    "model_id": 4,    "boot_file_url": "/usr/app/boot.py",    "dataset_name": "dataset-test",    "pool_id": "pool9928813f",    "config_desc": "This is a config desc test",    "gpu_num": 1,    "data_source": [        {            "type": "obs",            "data_url": "/test/minst/data/"        }    ],    "pool_name": "pnt1",    "dataset_version_name": "dataset-version-test",    "core": "8",    "engine_type": 1,    "engine_id": 3,    "engine_version": "TF-1.8.0-python2.7",    "data_url": "/test/minst/data/"}
  • 失败响应示例
    {    "is_success": false,    "error_message": "Error string",    "error_code": "ModelArts.0105"}
support.huaweicloud.com/api-modelarts/modelarts_03_0062.html