modelarts_session
|
-Yes
+ | Yes
|
-Object
+ | Object
|
-Session object. For details about the initialization method, see Session Authentication.
+ | Session object. For details about the initialization method, see Session Authentication.
|
-train_instance_count
+ |
train_instance_count
|
-Yes
+ | Yes
|
-Long
+ | Long
|
-Number of compute nodes in a training job
+ | Number of compute nodes in a training job
|
-code_dir
+ |
code_dir
|
-No
+ | No
|
-String
+ | String
|
-Code directory of a training job, for example, /bucket/src/. Leave this parameter blank when model_name is set.
+ | Code directory of a training job, for example, /bucket/src/. Leave this parameter blank when model_name is set.
|
-boot_file
+ |
boot_file
|
-No
+ | No
|
-String
+ | String
|
-Boot file of a training job, which needs to be stored in the code directory. For example, /bucket/src/boot.py. Leave this parameter blank when model_name is set.
+ | Boot file of a training job, which needs to be stored in the code directory. For example, /bucket/src/boot.py. Leave this parameter blank when model_name is set.
|
-output_path
+ |
output_path
|
-Yes
+ | Yes
|
-String
+ | String
|
-Output path of a training job
+ | Output path of a training job
|
-hyperparameters
+ |
hyperparameters
|
-No
+ | No
|
-JSON Array
+ | JSON Array
|
-Running parameters of a training job. It is a collection of label-value pairs of the string type. This parameter is a container environment variable when a job uses a custom image. For details about hyperparameters if a built-in algorithm is used, see Algorithms and Their Running Parameters.
+ | Running parameters of a training job. It is a collection of label-value pairs of the string type. This parameter is a container environment variable when a job uses a custom image. For details about hyperparameters if a built-in algorithm is used, see Algorithms and Their Running Parameters.
|
-log_url
+ |
log_url
|
-No
+ | No
|
-String
+ | String
|
-OBS URL of the logs of a training job. By default, this parameter is left blank. Example value: /usr/log/
+ | OBS URL of the logs of a training job. By default, this parameter is left blank. Example value: /usr/log/
|
-train_instance_type
+ |
train_instance_type
|
-Yes
+ | Yes
|
-Long
+ | Long
|
-Resource flavor selected for a training job. If you choose to train on the training platform, obtain the value by calling the API described in Obtaining Resource Flavors.
+ | Resource flavor selected for a training job. If you choose to train on the training platform, obtain the value by calling the API described in Obtaining Resource Flavors.
|
-framework_type
+ |
framework_type
|
-No
+ | No
|
-String
+ | String
|
-Engine selected for a training job. Obtain the value by calling the API described in Obtaining Engine Types. Leave this parameter blank when model_name is set.
+ | Engine selected for a training job. Obtain the value by calling the API described in Obtaining Engine Types. Leave this parameter blank when model_name is set.
|
-framework_version
+ |
framework_version
|
-No
+ | No
|
-String
+ | String
|
-Engine version selected for a training job. Obtain the value by calling the API described in Obtaining Engine Types. Leave this parameter blank when model_name is set.
+ | Engine version selected for a training job. Obtain the value by calling the API described in Obtaining Engine Types. Leave this parameter blank when model_name is set.
|
-job_description
+ |
job_description
|
-No
+ | No
|
-String
+ | String
|
-Description of a training job
+ | Description of a training job
|
-user_image_url
+ |
user_image_url
|
-No
+ | No
|
-String
+ | String
|
-SWR URL of the custom image used by a training job. Example value: 100.125.5.235:20202/jobmng/custom-cpu-base:1.0
+ | SWR URL of the custom image used by a training job. Example value: 100.125.5.235:20202/jobmng/custom-cpu-base:1.0
|
-user_command
+ |
user_command
|
-No
+ | No
|
-String
+ | String
|
-Boot command used to start the container of the custom image of a training job. The format is bash /home/work/run_train.sh python /home/work/user-job-dir/app/train.py {python_file_parameter}.
+ | Boot command used to start the container of the custom image of a training job. The format is bash /home/work/run_train.sh python /home/work/user-job-dir/app/train.py {python_file_parameter}.
|