检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
It is recommended that new users store their training data in OBS buckets. Data path Click Data path and select the storage path to the training input data from an OBS bucket.
Create at least one empty folder in OBS for storing training outputs. Make sure your account is not in arrears, as training jobs consume resources. Make sure your OBS directory and ModelArts are in the same region.
Code Directory Select the path where the training code folder is stored in the OBS bucket, for example, obs://test-modelarts/code/.
Code Directory Select the training code path from your OBS bucket, for example, obs://test-modelarts/code/.
How Do I Upload Data to OBS? What Do I Do If the System Displays a Message Indicating that the AK/SK Pair Is Unavailable? What Do I Do If a Message Indicating Insufficient Permissions Is Displayed When I Use ModelArts?
Options: If type is set to OBS, source is an OBS path. If type is set to DATASET, source is a dataset ID. type No String Type of a working path. Options: OBS: OBS path DATASET: dataset version_id No String Version of a dataset. version_name No String Name of a dataset version.
Enums: dataset: The data input is a dataset. obs: The data input is an OBS path. remote_constraint Array of remote_constraint objects Data input constraint Table 21 InputDataInfo Parameter Type Description dataset dataset object Dataset as the data input. obs obs object OBS in which
OBS: Select OBS if the training code is stored in an OBS bucket. SFS: Select SFS if the training code is stored in an SFS file system. Code Directory This parameter is available only when Code Source is set to OBS. Select the OBS directory where the training code file is stored.
File If MoXing Is Used to Adapt to an OBS Path Error Message "Please upgrade numpy to >= xxx to use this pandas version" Is Displayed in Logs Reinstalled CUDA Version Does Not Match the One in the Target Image Error ModelArts.2763 Occurred During Training Job Creation Error Message
Model Package Specifications The model package must be stored in the OBS folder named model. Model files and the model inference code file are stored in the model folder. The model inference code file is mandatory. The file name must be customize_service.py.
Model Package Specifications The model package must be stored in the OBS folder named model. Model files and the model inference code file are stored in the model folder. The model inference code file is mandatory. The file name must be customize_service.py.
Model Package Specifications The model package must be stored in the OBS folder named model. Model files and the model inference code file are stored in the model folder. The model inference code file is mandatory. The file name must be customize_service.py.
Object Storage Service (OBS) Assign permissions to IAM users for using OBS. ModelArts data management, development environments, training jobs, and model deployment require OBS for forwarding data.
Additionally, clear the data stored in EVS disks for running notebook instances and data stored in OBS to stop billing. You can enable balance alerts on the Overview page of the Billing Center.
Specifically, you have created an available dataset in ModelArts, or you have uploaded the dataset used for training to the OBS directory. Prepare the training script and upload it to the OBS directory.
When creating a sound classification project, you can select local data or synchronize data in OBS as the training data. Add Audio: You can quickly add sound files on a local PC to ModelArts and synchronize the files to the OBS path specified during project creation.
Data Source > Data path Select the training data from your OBS bucket. On the right of the Data path text box, click Select. In the dialog box that is displayed, select an OBS folder for storing data.
The value can be obs or dataset. obs and dataset cannot be used at the same time. data_url No String OBS bucket path. This parameter cannot be used together with dataset_id or dataset_version.
Table 6 OBSPath Parameter Description Mandatory Data Type obs_path OBS path Yes str, Storage Example: example = OBSPath(obs_path = "**") # Obtain the OBS path from Object Storage Service.
When creating a training job, if the volume of data is greater than 500 MB, upload the data to OBS and then to EVS. Upload the training script and dataset to the OBS directory. Submit a training job. Submit a training job in the local IDE. Use ModelArts SDKs.