class CVATBackendConfig(foua.AnnotationBackendConfig): (source)
Constructor: CVATBackendConfig(name, label_schema, media_field, url, ...)
Class for configuring CVATBackend
instances.
Parameters | |
name | the name of the backend |
label | a dictionary containing the description of label fields, classes and attribute to annotate |
media | string field name containing the paths to media files on disk to upload |
url | the url of the CVAT server |
username | the CVAT username |
the CVAT email | |
password | the CVAT password |
headers | an optional dict of headers to add to all CVAT API requests |
task | an optional maximum number of images to upload per task. Videos are always uploaded one per task |
segment | maximum number of images per job. Not applicable to videos |
image | an int in [0, 100] determining the image quality to upload to CVAT |
use | whether to use a cache when uploading data. Using a cache reduces task creation time as data will be processed on-the-fly and stored in the cache when requested |
use | when annotating videos, whether to upload video frames in smaller chunks. Setting this option to False may result in reduced video quality in CVAT due to size limitations on ZIP files that can be uploaded to CVAT |
chunk | the number of frames to upload per ZIP chunk |
task | the username(s) to which the task(s) were assigned. This argument can be a list of usernames when annotating videos as each video is uploaded to a separate task |
job | a list of usernames to which jobs were assigned |
job | a list of usernames to which job reviews were assigned. Only available in CVAT v1 servers |
project | an optional project name to which to upload the created CVAT task. If a project with this name is found, it will be used, otherwise a new project with this name is created. By default, no project is used |
project | an optional ID of an existing CVAT project to which to upload the annotation tasks. By default, no project is used |
task | an optional task name to use for the created CVAT task |
occluded | an optional attribute name containing existing occluded values and/or in which to store downloaded occluded values for all objects in the annotation run |
group | an optional attribute name containing existing group ids and/or in which to store downloaded group ids for all objects in the annotation run |
issue | URL(s) of an issue tracker to link to the created task(s). This argument can be a list of URLs when annotating videos or when using task_size and generating multiple tasks |
organization | the name of the organization to use when sending requests to CVAT |
frame | nonnegative integer(s) defining the first frame of videos to upload when creating video tasks. Supported values are:
|
frame | nonnegative integer(s) defining the last frame of videos to upload when creating video tasks. Supported values are:
|
frame | positive integer(s) defining which frames to sample when creating video tasks. Supported values are:
Note that this argument cannot be provided when uploading existing tracks |
Method | __init__ |
Undocumented |
Method | email |
Undocumented |
Method | headers |
Undocumented |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config. |
Method | password |
Undocumented |
Method | username |
Undocumented |
Instance Variable | chunk |
Undocumented |
Instance Variable | frame |
Undocumented |
Instance Variable | frame |
Undocumented |
Instance Variable | frame |
Undocumented |
Instance Variable | group |
Undocumented |
Instance Variable | image |
Undocumented |
Instance Variable | issue |
Undocumented |
Instance Variable | job |
Undocumented |
Instance Variable | job |
Undocumented |
Instance Variable | occluded |
Undocumented |
Instance Variable | organization |
Undocumented |
Instance Variable | project |
Undocumented |
Instance Variable | project |
Undocumented |
Instance Variable | segment |
Undocumented |
Instance Variable | task |
Undocumented |
Instance Variable | task |
Undocumented |
Instance Variable | task |
Undocumented |
Instance Variable | url |
Undocumented |
Instance Variable | use |
Undocumented |
Instance Variable | use |
Undocumented |
Property | email |
Undocumented |
Property | headers |
Undocumented |
Property | password |
Undocumented |
Property | username |
Undocumented |
Instance Variable | _email |
Undocumented |
Instance Variable | _headers |
Undocumented |
Instance Variable | _password |
Undocumented |
Instance Variable | _username |
Undocumented |
Inherited from AnnotationBackendConfig
:
Method | serialize |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | name |
Undocumented |
Property | method |
The name of the annotation backend. |
Method | _load |
Undocumented |
Method | _sanitize |
Undocumented |
Inherited from AnnotationMethodConfig
(via AnnotationBackendConfig
):
Property | type |
The type of run. |
Inherited from BaseRunConfig
(via AnnotationBackendConfig
, AnnotationMethodConfig
):
Class Method | from |
Constructs a BaseRunConfig from a serialized JSON dict representation of it. |
Static Method | base |
Returns the config class for the given run type. |
Method | attributes |
Returns the list of class attributes that will be serialized by serialize . |
Method | build |
Builds the BaseRun instance associated with this config. |
Property | cls |
The fully-qualified name of this BaseRunConfig class. |
Property | run |
The BaseRun class associated with this config. |
Class Method | _virtual |
A list of attributes that are serialized but should not be treated as parameters when loading the config class from the database. |
Inherited from Config
(via AnnotationBackendConfig
, AnnotationMethodConfig
, BaseRunConfig
):
Method | __repr__ |
Undocumented |
Undocumented
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.
Parameters | |
url | Undocumented |
username | Undocumented |
password | Undocumented |
Undocumented | |
headers | Undocumented |
**kwargs | subclass-specific credentials |