检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Only the IAM users of the account can register and use the SWR images when the image type is Private. Other users can register and use SWR images when the image type is Public. Log in to the ModelArts management console.
member Workforce deleteWorker Deleting labeling team members in batches Workforce batchDeleteWorker Creating a labeling team Workforce createWorkforce Updating a labeling team Workforce updateWorkforce Deleting a labeling team Workforce deleteWorkforce Automatically creating an IAM
Training Job Permissions Table 1 Fine-grained permissions for training jobs (new version) Permission API Action Related Action IAM Project Enterprise Project Creating a training job POST /v2/{project_id}/training-jobs modelarts:trainJob:create swr:repository:listTags swr:repository
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Grant the required basic permissions to the IAM user. ModelArts needs to access other dependent services. Create an agency for ModelArts. Purchase Lite Server resources on the ModelArts console.
Figure 2 Tenant ID and IAM ID Collect the logs and upload the script. Modify the GpuLogCollection parameter in the script below and replace ak, sk, and obs_dir with the values obtained in the previous steps.
If an IAM user needs to start a notebook instance of another user's, change the key pair. Log in to the ModelArts console. In the navigation pane on the left, choose Development Workspace > Notebook. Click the target notebook instance.
Range: N/A Default Value: N/A Request Parameters Table 2 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token.
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Figure 1 Authorization content Go to the IAM console. In the navigation pane on the left, choose Agencies. Locate the obtained agency and click Modify in the Operation column. Figure 2 IAM agency Click the Permissions tab.
This allows the IAM user to use these cloud services. Log in to the IAM console. In the navigation pane on the left, choose User Groups and click Create User Group in the upper right corner. Enter a group name and click OK.
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token. The value of X-Subject-Token in the response header is the user token.
Administrators can isolate permissions on resources within workspaces for IAM users. You can move resources to the corresponding workspace by referring to Migrating Standard Dedicated Resource Pools and Networks to Other Workspaces.
In the navigation pane on the left, choose Permissions > Bucket Policy, and check whether the current OBS bucket can be accessed by IAM users. Check the code directory and boot file of a training job.
-*- import requests import json import time import requests.packages.urllib3.exceptions from urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) class ServerOperation(object): ################################ IAM
X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token. The value of X-Subject-Token in the response header is the user token.
This allows the IAM user to use these cloud services. Log in to the IAM console. In the navigation pane on the left, choose User Groups and click Create User Group in the upper right corner. Enter a group name and click OK.
Range: N/A Default Value: N/A Request Parameters Table 3 Request header parameters Parameter Mandatory Type Description X-Auth-Token Yes String User token, which can be obtained by calling the IAM API that is used for obtaining a user token.
It can be obtained by calling the IAM API that is used to obtain a user token. The value of X-Subject-Token in the response header is the user token.