ImportFormat

class oci.data_labeling_service_dataplane.models.ImportFormat(**kwargs)

Bases: object

File format details used for importing dataset

Attributes

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

Methods

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

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

NAME_CONLL = 'CONLL'

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

NAME_JSONL_COMPACT_PLUS_CONTENT = 'JSONL_COMPACT_PLUS_CONTENT'

A constant which can be used with the name property of a ImportFormat. 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 ImportFormat. 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 ImportFormat. This constant has a value of “PASCAL_VOC”

NAME_SPACY = 'SPACY'

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

NAME_YOLO = 'YOLO'

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

VERSION_V2003 = 'V2003'

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

VERSION_V5 = 'V5'

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

__init__(**kwargs)

Initializes a new ImportFormat 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 ImportFormat. Allowed values for this property are: “JSONL_CONSOLIDATED”, “JSONL_COMPACT_PLUS_CONTENT”, “CONLL”, “SPACY”, “COCO”, “YOLO”, “PASCAL_VOC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • version (str) – The value to assign to the version property of this ImportFormat. Allowed values for this property are: “V2003”, “V5”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
name

[Required] Gets the name of this ImportFormat. Name of import format

Allowed values for this property are: “JSONL_CONSOLIDATED”, “JSONL_COMPACT_PLUS_CONTENT”, “CONLL”, “SPACY”, “COCO”, “YOLO”, “PASCAL_VOC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

Gets the version of this ImportFormat. Version of import format

Allowed values for this property are: “V2003”, “V5”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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