腾讯云TI-ONE训练平台使用数据集_AI解决方案_同尘科技

TI-ONE 训练平台 1年前 (2023-08-02) 浏览 42
create_image_dataset(self, dataset_name, storage_data_path, storage_label_path, dataset_tags=None, with_annotation=False, annotation_type=None, annotation_format=None)    创建图片数据集
:param dataset_name: 数据集名称 :type dataset_name: str :param storage_data_path: 数据源cos路径。格式:// :type storage_data_path: str :param storage_label_path: 数据集标签cos存储路径。格式:// :type storage_label_path: str :param dataset_tags: 数据集标签 :type dataset_tags: list of tencentcloud.tione.v20211111.models.Tag :param with_annotation: 是否已经标注 :type with_annotation: bool :param annotation_type: 标注类型。可选值如下: ANNOTATION_TYPE_CLASSIFICATION: 图片分类 ANNOTATION_TYPE_DETECTION: 目标检测 ANNOTATION_TYPE_SEGMENTATION: 图片分割 ANNOTATION_TYPE_TRACKING: 目标跟踪 ANNOTATION_TYPE_OCR: OCR识别 :type annotation_type: str :param annotation_format: 标注格式。可选值如下: ANNOTATION_FORMAT_TI: TI平台格式 ANNOTATION_FORMAT_PASCAL: Pascal Voc ANNOTATION_FORMAT_COCO: COCO ANNOTATION_FORMAT_FILE: 文件目录结构 :type annotation_format: str :rtype: :class:`tencentcloud.tione.v20211111.models.CreateDatasetResponse`
create_table_dataset(self, dataset_name, storage_data_path, storage_label_path, dataset_tags=None, is_schema_existed=None, schema_info_dict=None) 创建表格数据集
:param dataset_name: 数据集名称 :type dataset_name: str :param storage_data_path: 数据源cos路径。格式:// :type storage_data_path: str :param storage_label_path: 数据集标签cos存储路径。格式:// :type storage_label_path: str :param dataset_tags: 数据集标签 :type dataset_tags: list of tencentcloud.tione.v20211111.models.Tag :param is_schema_existed: 数据是否存在表头。 若数据文件包含表头,则请您严格按照表格列名配置Schema信息,否则校验不通过会造成导入数据集失败; 若数据文件不包含表头,则平台会根据您定义的Schema信息依次为您解析表格数据 :type is_schema_existed: bool :param schema_info_dict: 表头信息。格式: 字段名称 -> 数据类型。字段的数据类型包括: TYPE_INT: 整型 TYPE_STRING: 字符串 TYPE_BOOL: 布尔型 TYPE_FLOAT: 浮点型 :type dict :rtype: :class:`tencentcloud.tione.v20211111.models.CreateDatasetResponse`
create_text_dataset(self, dataset_name, storage_data_path, storage_label_path, dataset_tags=None) 创建文本数据集
:param dataset_name: 数据集名称 :type dataset_name: str :param storage_data_path: 数据源cos路径。格式:// :type storage_data_path: str :param storage_label_path: 数据集标签cos存储路径。格式:// :type storage_label_path: str :param dataset_tags: 数据集标签 :type dataset_tags: list of tencentcloud.tione.v20211111.models.Tag :rtype: :class:`tencentcloud.tione.v20211111.models.CreateDatasetResponse`
create_other_dataset(self, dataset_name, storage_data_path, storage_label_path, dataset_tags=None) 创建其他类型的数据集
:param dataset_name: 数据集名称 :type dataset_name: str :param storage_data_path: 数据源cos路径。格式:// :type storage_data_path: str :param storage_label_path: 数据集标签cos存储路径。格式:// :type storage_label_path: str :param dataset_tags: 数据集标签 :type dataset_tags: list of tencentcloud.tione.v20211111.models.Tag :rtype: :class:`tencentcloud.tione.v20211111.models.CreateDatasetResponse`
describe_datasets(self, dataset_ids=None, filters=None, tag_filters=None, order=None, order_field=None, offset=None, limit=None) 查看数据集列表
:param dataset_ids: 数据集id列表 :type dataset_ids: list of str :param filters: 字段过滤条件 :type filters: list of Filter :param tag_filters: 标签过滤条件 :type tag_filters: list of TagFilter :param order: 排序值 Asc Desc :type order: str :param order_field: 排序字段 :type order_field: str :param offset: 偏移值 :type offset: int :param limit: 返回数据个数 :type limit: int :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeDatasetsResponse`
delete_dataset(self, dataset_id, delete_label_enable=False) 删除某个数据集
:param dataset_id: 数据集id :type dataset_id: str :param delete_label_enable: 是否删除cos标签文件 :type delete_label_enable: bool :rtype: :class:`tencentcloud.tione.v20211111.models.DeleteDatasetResponse`

describe_dataset_detail_structured(self, dataset_id, offset=None, limit=None) 查看结构化数据集的内容
:param dataset_id: 数据集ID :type dataset_id: str :param offset: 偏移值 :type offset: int :param limit: 返回数据条数 :type limit: int :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeDatasetDetailStructuredResponse`
describe_dataset_detail_unstructured(self, dataset_id, offset=None, limit=None, label_list=[], annotation_status='STATUS_ALL') 查看非结构化数据集的内容
:param dataset_id: 数据集ID :type dataset_id: str :param offset: 偏移值 :type offset: int :param limit: 返回数据条数 :type limit: int :param label_list: 标签过滤参数 :type label_list: list of str :param annotation_status: 标注状态过滤参数。 STATUS_ANNOTATED: 已标注 STATUS_NON_ANNOTATED: 未标注 STATUS_ALL: 全部 :type annotation_status: str :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeDatasetDetailUnstructuredResponse`



对解决方案有疑惑?想了解解决方案收费? 联系解决方案专家

腾讯云限时活动1折起,即将结束: 马上收藏

同尘科技为腾讯云授权服务中心,购买腾讯云享受折上折,更有现金返利:同意关联,立享优惠

阿里云解决方案也看看?: 点击对比阿里云的解决方案

- 0人点赞 -

发表点评 (0条)

not found

暂无评论,你要说点什么吗?