class documentation

Class that stores all relevant information needed to monitor the progress of an annotation run sent to Labelbox and download the results.

Method __init__ Undocumented
Method cleanup Deletes the project associated with this annotation run from the Labelbox server.
Method get_status Gets the status of the annotation run.
Method launch_editor Launches the Labelbox editor and loads the project for this annotation run.
Method print_status Prints the status of the annotation run.
Instance Variable frame_id_map Undocumented
Instance Variable project_id Undocumented
Class Method _from_dict Builds an AnnotationResults from a JSON dict representation of it.
Method _get_status Undocumented

Inherited from AnnotationResults:

Method __enter__ Undocumented
Method __exit__ Undocumented
Method connect_to_api Returns an API instance connected to the annotation backend.
Method use_api Registers an API instance to use for subsequent operations.
Instance Variable id_map Undocumented
Method _finalize_id_map Internal method that is (only) called prior to saving annotation results for the first time.
Method _format_label_ids Undocumented
Method _sample_ids_to_clip_ids Undocumented
Method _to_sample_annos Undocumented
Method _to_sample_ids Undocumented
Method _update_id_map Adds the given label IDs into this object's id_map.
Property _is_clips Whether this annotation run was perfromed on a clips view.
Property _is_frames Whether this annotation run was perfromed on a frames view.

Inherited from BaseRunResults (via AnnotationResults, AnnotationResults):

Class Method from_dict Builds a BaseRunResults from a JSON dict representation of it.
Static Method base_results_cls Returns the results class for the given run type.
Method attributes Returns the list of class attributes that will be serialized by serialize.
Method save Saves the results to the database.
Method save_config Saves these results config to the database.
Property cls The fully-qualified name of this BaseRunResults class.
Property config The BaseRunConfig for these results.
Property key The run key for these results.
Property samples The fiftyone.core.collections.SampleCollection associated with these results.
Instance Variable _backend Undocumented
Instance Variable _config Undocumented
Instance Variable _key Undocumented
Instance Variable _samples Undocumented
def __init__(self, samples, config, anno_key, id_map, project_id, frame_id_map, backend=None): (source)
def cleanup(self): (source)

Deletes the project associated with this annotation run from the Labelbox server.

def get_status(self): (source)

Gets the status of the annotation run.

Returns
a dict of status information
def launch_editor(self): (source)

Launches the Labelbox editor and loads the project for this annotation run.

def print_status(self): (source)

Prints the status of the annotation run.

frame_id_map = (source)

Undocumented

project_id = (source)

Undocumented

@classmethod
def _from_dict(cls, d, samples, config, anno_key): (source)

Builds an AnnotationResults from a JSON dict representation of it.

Parameters
da JSON dict
samplesthe fiftyone.core.collections.SampleCollection for the run
configthe AnnotationBackendConfig for the run
anno_keythe annotation key
Returns
an AnnotationResults
def _get_status(self, log=False): (source)

Undocumented