DatasetProps
Properties for defining a Dataset
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-dataset
Initializer
using AlibabaCloud.SDK.ROS.CDK.Pai;
new DatasetProps {
object DatasetName,
object DataSourceType,
object Property,
object Uri,
object WorkspaceId,
object Accessibility = null,
object DataType = null,
object Description = null,
object Options = null,
object SourceId = null,
object SourceType = null
};
Properties
Name | Type | Description |
---|---|---|
DatasetName |
object |
Property datasetName: The name of the dataset. |
DataSourceType |
object |
Property dataSourceType: The data source type. |
Property |
object |
Property property: The properties of the dataset. |
Uri |
object |
Property uri: The Uri configuration sample is as follows: - The data source type is OSS:'oss:\/\/ bucket.endpoint\/object' - The data source type is NAS: The general NAS format is: 'nas:\/\/ |
WorkspaceId |
object |
Property workspaceId: The ID of the workspace where the dataset is located. |
Accessibility |
object |
Property accessibility: Workspace visibility. |
DataType |
object |
Property dataType: The dataset type. |
Description |
object |
Property description: Custom descriptions of datasets to distinguish between different datasets. |
Options |
object |
Property options: The extended field, which is of the JsonString type. |
SourceId |
object |
Property sourceId: The data source ID. |
SourceType |
object |
Property sourceType: The data source type. |
DatasetName
Required
public object DatasetName { get; set; }
- Type: object
Property datasetName: The name of the dataset.
The naming rules are as follows:
- Start with a lowercase letter, uppercase letter, number, or Chinese.
- Can contain an underscore (_) or a dash (-).
- 1~127 characters in length.
DataSourceType
Required
public object DataSourceType { get; set; }
- Type: object
Property dataSourceType: The data source type.
The following values are supported:
- OSS: Alibaba Cloud Object Storage (OSS).
- NAS: Alibaba cloud file storage (NAS).
Property
Required
public object Property { get; set; }
- Type: object
Property property: The properties of the dataset.
The following values are supported:
- FILE: FILE.
- DIRECTORY: folder.
Uri
Required
public object Uri { get; set; }
- Type: object
Property uri: The Uri configuration sample is as follows: - The data source type is OSS:'oss:\/\/ bucket.endpoint\/object' - The data source type is NAS: The general NAS format is: 'nas:\/\/
WorkspaceId
Required
public object WorkspaceId { get; set; }
- Type: object
Property workspaceId: The ID of the workspace where the dataset is located.
For details about how to obtain the workspace ID, see ListWorkspaces. If this parameter is not configured, the default workspace is used. If the default workspace does not exist, an error is reported.
Accessibility
Optional
public object Accessibility { get; set; }
- Type: object
Property accessibility: Workspace visibility.
The following values are supported:
- PRIVATE (default): indicates that the workspace is visible to itself and the administrator.
- PUBLIC: The workspace is visible to all users.
DataType
Optional
public object DataType { get; set; }
- Type: object
Property dataType: The dataset type.
The default value is COMMON. The following values are supported:
- COMMON: COMMON.
- PIC: picture.
- TEXT: TEXT.
- VIDEO: VIDEO.
- AUDIO: AUDIO.
Description
Optional
public object Description { get; set; }
- Type: object
Property description: Custom descriptions of datasets to distinguish between different datasets.
Options
Optional
public object Options { get; set; }
- Type: object
Property options: The extended field, which is of the JsonString type.
When DLC uses a dataset, you can specify the default Mount path for the dataset by configuring the mountPath field.
SourceId
Optional
public object SourceId { get; set; }
- Type: object
Property sourceId: The data source ID.
- When the SourceType is USER, SourceId can be customized.
- When SourceType is ITAG, that is, when the iTAG module labels the data set generated by the result, SourceId is the task ID of ITAG.
- When SourceType is PAI_PUBLIC_DATASET, that is, a dataset created using PAI public datasets, SourceId is empty by default.
SourceType
Optional
public object SourceType { get; set; }
- Type: object
Property sourceType: The data source type.
The default value is USER. The following values are supported:
- PAI-PUBLIC-DATASET:PAI public dataset.
- ITAG: The dataset generated by the iTAG module annotation result.
- USER: The data set registered by the USER.