class AnnotationBackendConfig(foa.AnnotationMethodConfig): (source)
Known subclasses: fiftyone.utils.cvat.CVATBackendConfig
, fiftyone.utils.labelbox.LabelboxBackendConfig
, fiftyone.utils.labelstudio.LabelStudioBackendConfig
Constructor: AnnotationBackendConfig(name, label_schema, media_field, **kwargs)
Base class for configuring an AnnotationBackend
instances.
Subclasses are free to define additional keyword arguments if they desire.
Parameters | |
name | the name of the backend |
label | a dictionary containing the description of label fields, classes and attributes to annotate |
media | string field name containing the paths to media files on disk to upload |
**kwargs | any leftover keyword arguments after subclasses have done their parsing |
Method | __init__ |
Undocumented |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config. |
Method | serialize |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | media |
Undocumented |
Instance Variable | name |
Undocumented |
Property | method |
The name of the annotation backend. |
Method | _load |
Undocumented |
Method | _sanitize |
Undocumented |
Inherited from AnnotationMethodConfig
:
Property | type |
The type of run. |
Inherited from BaseRunConfig
(via 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 AnnotationMethodConfig
, BaseRunConfig
):
Method | __repr__ |
Undocumented |
fiftyone.utils.cvat.CVATBackendConfig
, fiftyone.utils.labelbox.LabelboxBackendConfig
, fiftyone.utils.labelstudio.LabelStudioBackendConfig
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.
Parameters | |
**kwargs | subclass-specific credentials |