class documentation
class LabelboxBackendConfig(foua.AnnotationBackendConfig): (source)
Constructor: LabelboxBackendConfig(name, label_schema, media_field, url, ...)
Class for configuring LabelboxBackend
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 Labelbox server |
api | the Labelbox API key |
project | a name for the Labelbox project that will be created. The default is "FiftyOne_<dataset_name>" |
members | an optional list of (email, role) tuples specifying the email addresses and roles of users to add to the project. If a user is not a member of the project's organization, an email invitation will be sent to them. The supported roles are ["LABELER", "REVIEWER", "TEAM_MANAGER", "ADMIN"] |
classes | whether to show every object class at the top level of the editor (False) or whether to show the label field at the top level and annotate the class as a required attribute of each object (True) |
export | the Labelbox export format and API version to use. Supported values are ("v1", "v2") |
Method | __init__ |
Undocumented |
Method | api |
Undocumented |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config. |
Instance Variable | classes |
Undocumented |
Instance Variable | export |
Undocumented |
Instance Variable | members |
Undocumented |
Instance Variable | project |
Undocumented |
Instance Variable | url |
Undocumented |
Property | api |
Undocumented |
Instance Variable | _api |
Undocumented |
Property | _experimental |
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 |
def __init__(self, name, label_schema, media_field='filepath', url=None, api_key=None, project_name=None, members=None, classes_as_attrs=True, export_version=LabelboxExportVersion.V2, **kwargs):
(source)
¶
Undocumented