This topic provides answers to some frequently asked questions about iTAG.
What do I do If I am prompted that I do not have permissions to use iTAG?
What do I do if the dataset format fails to be parsed when I create a labeling task?
What do I do if the system fails to load content in iTAG?
If the system fails to load resources during the labeling process in iTAG, you must enable Cross-Origin Resource Sharing (CORS) for the Object Storage Service (OSS) buckets that are used as data sources. The following section describes how to enable CORS for an OSS bucket.
Go to the details page of a bucket.
Log on to the OSS console.
In the left-side navigation pane, click Buckets.
On the Buckets page, find the OSS bucket that you want to manage and click the bucket name.
On the details page of the bucket, choose Content Security > Cross-Origin Resource Sharing (CORS) in the left-side navigation pane.
Click Create Rule. In the Create Rule panel, configure the parameters described in the following table.
Parameter
Required
Description
Sources
Yes
The sources of cross-region requests that you want to allow. Use the following address for this parameter:
https://*.console.aliyun.com
Allowed Methods
Yes
The methods that cross-origin requests are allowed to use. Select the following methods:
GET POST PUT
Allowed Headers
Yes
The response headers for the allowed cross-region requests. Use the following header for this parameter:
*
Exposed Headers
Yes
The response headers that are exposed to your applications. Use the following headers for this parameter:
etag x-oss-request-id
Cache Timeout (Seconds)
No
The timeout period of the response that is cached by the browser for an OPTIONS preflight request destined for specific resources.
Vary: Origin
Yes
You must select the check box next to Vary: Origin to return the Vary: Origin header.
If both CORS and non-CORS requests are sent at the same time, or if the Origin header has multiple possible values, you can select Vary: Origin to prevent errors in the local cache.
Click OK.
What do I do If I am prompted that I do not have permissions to use iTAG?
You can add a Resource Access Management (RAM) user as a member of your workspace, and then grant the required permissions to the RAM user on the Users tab of the iTAG page. For more information, see Grant the permissions that are required to use iTAG.
What do I do if the dataset format fails to be parsed when I create a labeling task?
If the The format of the dataset fails to be parsed. Select a dataset with a valid format error message is returned when you select a registered dataset for creating a labeling task on the iTAG page, perform one of the following steps:
Create a dataset in a valid format. Only datasets that match the formats of the labeled data of iTAG are supported. For more information, see Create a dataset for a labeling job.
Check whether the format of the registered dataset is valid. For more information, see Overview.