ExportFormat

class oci.data_labeling_service.models.ExportFormat(**kwargs)

Bases: object

Specifies the export format to be used for exporting snapshot.

Attributes

NAME_COCO A constant which can be used with the name property of a ExportFormat.
NAME_CONLL A constant which can be used with the name property of a ExportFormat.
NAME_JSONL A constant which can be used with the name property of a ExportFormat.
NAME_JSONL_COMPACT_PLUS_CONTENT A constant which can be used with the name property of a ExportFormat.
NAME_JSONL_CONSOLIDATED A constant which can be used with the name property of a ExportFormat.
NAME_PASCAL_VOC A constant which can be used with the name property of a ExportFormat.
NAME_SPACY A constant which can be used with the name property of a ExportFormat.
NAME_YOLO A constant which can be used with the name property of a ExportFormat.
VERSION_V2003 A constant which can be used with the version property of a ExportFormat.
VERSION_V5 A constant which can be used with the version property of a ExportFormat.
name Gets the name of this ExportFormat.
version Gets the version of this ExportFormat.

Methods

__init__(**kwargs) Initializes a new ExportFormat object with values from keyword arguments.
NAME_COCO = 'COCO'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “COCO”

NAME_CONLL = 'CONLL'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “CONLL”

NAME_JSONL = 'JSONL'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “JSONL”

NAME_JSONL_COMPACT_PLUS_CONTENT = 'JSONL_COMPACT_PLUS_CONTENT'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “JSONL_COMPACT_PLUS_CONTENT”

NAME_JSONL_CONSOLIDATED = 'JSONL_CONSOLIDATED'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “JSONL_CONSOLIDATED”

NAME_PASCAL_VOC = 'PASCAL_VOC'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “PASCAL_VOC”

NAME_SPACY = 'SPACY'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “SPACY”

NAME_YOLO = 'YOLO'

A constant which can be used with the name property of a ExportFormat. This constant has a value of “YOLO”

VERSION_V2003 = 'V2003'

A constant which can be used with the version property of a ExportFormat. This constant has a value of “V2003”

VERSION_V5 = 'V5'

A constant which can be used with the version property of a ExportFormat. This constant has a value of “V5”

__init__(**kwargs)

Initializes a new ExportFormat object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ExportFormat. Allowed values for this property are: “JSONL”, “JSONL_CONSOLIDATED”, “CONLL”, “SPACY”, “COCO”, “YOLO”, “PASCAL_VOC”, “JSONL_COMPACT_PLUS_CONTENT”
  • version (str) – The value to assign to the version property of this ExportFormat. Allowed values for this property are: “V2003”, “V5”
name

Gets the name of this ExportFormat. Name of export format.

Allowed values for this property are: “JSONL”, “JSONL_CONSOLIDATED”, “CONLL”, “SPACY”, “COCO”, “YOLO”, “PASCAL_VOC”, “JSONL_COMPACT_PLUS_CONTENT”

Returns:The name of this ExportFormat.
Return type:str
version

Gets the version of this ExportFormat. Version of export format.

Allowed values for this property are: “V2003”, “V5”

Returns:The version of this ExportFormat.
Return type:str