检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Examples of Custom Scripts To create a model in ModelArts by importing a model file from OBS, the model file package needs to comply with the ModelArts model package specifications.
How to Edit the Dependency Parameter in the Model Configuration File During Model Import Symptom When importing a model from OBS or a container image, edit a model configuration file.
Using ModelArts SDK Notebook instances allow you to use ModelArts SDK to manage OBS, training jobs, models, and real-time services. Your notebook instances have automatically obtained your AK/SK for authentication and the region.
Uploading data to OBS A common OBS bucket has been created. For details, see Creating a Bucket. obsutil has been installed. For details, see Installing and Configuring the OBS CLI.
Data files cannot be stored in the root directory of an OBS bucket, but in a folder in the OBS bucket, for example, /obs-xxx/data/input.csv. Use newline characters (\n or LF) to separate lines and commas (,) to separate columns in the file content.
For example, ModelArts must access OBS to read your data for training. In such cases, ModelArts accesses other cloud services on behalf of you. To ensure security, ModelArts requires your authorization before accessing any cloud services, which is the agency process.
Assigning Permissions to Individual Users for Using ModelArts Certain ModelArts functions require access to Object Storage Service (OBS), Software Repository for Container (SWR), and Intelligent EdgeFabric (IEF).
The error details are as follows: InternalError (see above for traceback): Unable to connect to endpoint Possible Cause When OBS connections are unstable, the following error may occur: Unable to connect to endpoint Solution Add code to solve the problem of unstable OBS connections
None Operation Guide How Do I Upload Data to OBS 01:34 How Do I Upload Data to OBS Uploading Files to JupyterLab 02:21 Uploading Files to JupyterLab
If the summary file is stored in OBS, OBS storage will be billed separately. After a job is complete, stop the notebook instance and clear OBS data to stop billing.
If the summary file is stored in OBS, you will be charged for the storage. After a job is complete, stop the notebook instance and clear OBS data to stop billing.
", "obs:object:DeleteObject", "obs:object:PutObject", "obs:bucket:CreateBucket", "obs:object:GetObject", "obs:bucket:GetBucketLocation", "obs:object:GetObjectVersionAcl",
"obs:bucket:ListBucket", "obs:bucket:GetBucketLocation", "obs:object:GetObject", "obs:object:GetObjectVersion", "obs:object:PutObject", "obs:object:DeleteObject", "obs:object:DeleteObjectVersion
"obs:bucket:ListBucket", "obs:bucket:GetBucketLocation", "obs:object:GetObject", "obs:object:GetObjectVersion", "obs:object:PutObject", "obs:object:DeleteObject", "obs:object:DeleteObjectVersion
--data-url TEXT OBS path for training data. --log-url TEXT OBS path for training log. --code-dir TEXT OBS path for source code. --output TEXT Training output parameter with OBS path.
If the summary file is stored in OBS, OBS storage will be billed separately. After a job is complete, stop the notebook instance and clear OBS data to stop billing.
Method 1: Enter a valid OBS path in the text box and click OK. Figure 7 Configuring an OBS path Method 2: Select an OBS path in OBS File Browser and click OK. Figure 8 OBS File Browser Method 3: Use the default path.
The possible causes of other symptoms are as follows: OBS access is not authorized. You do not have the permission to access the OBS bucket or file. The OBS bucket has been deleted. Solution Check agency authorization.
If the OBS bucket and notebook instance are in different regions, the access to OBS is denied. Ensure that the notebook account has the permission to read data in the OBS bucket. For details, see Incorrect OBS Path on ModelArts.
"obs:object:ListMultipartUploadParts", "obs:object:AbortMultipartUpload", "obs:object:GetObjectAcl", "obs:object:GetObjectVersionAcl", "obs:bucket:PutBucketAcl", "obs:object:PutObjectAcl" ]