class documentation

Class for configuring LabelboxBackend instances.

Parameters
namethe name of the backend
label_schemaa dictionary containing the description of label fields, classes and attribute to annotate
media_fieldstring field name containing the paths to media files on disk to upload
urlthe url of the Labelbox server
api_keythe Labelbox API key
project_namea name for the Labelbox project that will be created. The default is "FiftyOne_<dataset_name>"
membersan 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_as_attrswhether 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_versionthe Labelbox export format and API version to use. Supported values are ("v1", "v2")
Method __init__ Undocumented
Method api_key.setter Undocumented
Method load_credentials Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.
Instance Variable classes_as_attrs Undocumented
Instance Variable export_version Undocumented
Instance Variable members Undocumented
Instance Variable project_name Undocumented
Instance Variable url Undocumented
Property api_key Undocumented
Instance Variable _api_key Undocumented
Property _experimental Undocumented

Inherited from AnnotationBackendConfig:

Method serialize Undocumented
Instance Variable label_schema Undocumented
Instance Variable name Undocumented
Property method The name of the annotation backend.
Method _load_parameters Undocumented
Method _sanitize_label_schema Undocumented

Inherited from AnnotationMethodConfig (via AnnotationBackendConfig):

Property type The type of run.

Inherited from BaseRunConfig (via AnnotationBackendConfig, AnnotationMethodConfig):

Class Method from_dict Constructs a BaseRunConfig from a serialized JSON dict representation of it.
Static Method base_config_cls 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_cls The BaseRun class associated with this config.
Class Method _virtual_attributes 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)
@api_key.setter
def api_key(self, value): (source)

Undocumented

def load_credentials(self, url=None, api_key=None): (source)

Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne config.

Parameters
urlUndocumented
api_keyUndocumented
**kwargssubclass-specific credentials
classes_as_attrs: True = (source)

Undocumented

export_version: "v2" = (source)

Undocumented

Undocumented

project_name: None = (source)

Undocumented

Undocumented

Undocumented

_api_key = (source)

Undocumented

@property
_experimental = (source)

Undocumented