检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
path to the training job output file log_url String OBS URL of the logs of a training job.
path is /obs/name/.
To quickly obtain the latest data in the OBS bucket, click Synchronize Data Source on the Unlabeled tab page of the dataset details page to add the data uploaded using OBS to the dataset.
Synchronize New Data: You can upload images to the OBS directory specified during project creation and click Synchronize New Data to quickly add the images in the OBS directory to ModelArts.
Ensure that you have the permission to access OBS and that the OBS path is valid. 400 ModelArts.4315 Invalid OBS path. The OBS path is invalid. Ensure the data URL does not contain //. 400 ModelArts.4316 OBS buckets are not supported. OBS buckets are not supported.
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.
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.
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.
Exporting Data Introduction to Exporting Data Exporting Data to a New Dataset Exporting Data to OBS
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.
The OBS paths in the debugging code should be replaced with your OBS paths. PyTorch is used to write debugging code in this document. The process is the same for different AI frameworks. You only need to modify some parameters.
If the OBS path to the boot script is obs://bucket-name/app/code/train.py, set the code directory to /bucket-name/app/code/ when creating a job.
Table 1 Required OBS folders Folder Usage obs://test-modelarts/mpi/demo-code/ Stores the MPI boot script and training script file. obs://test-modelarts/mpi/log/ Stores training log files.
You must upload the training data to another OBS path rather than the code directory and parse data_url to download the training data to the /cache directory. Ensure that you have the read permission to the OBS bucket.