class documentation

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

Method __init__ Undocumented
Method cleanup Deletes all tasks and created projects associated with this run.
Method delete_tasks Deletes the given tasks from both the CVAT server and this run.
Method get_status Gets the status of the assigned tasks and jobs.
Method launch_editor Launches the CVAT editor and loads the first task for this annotation run.
Method print_status Prints the status of the assigned tasks and jobs.
Instance Variable frame_id_map Undocumented
Instance Variable id_map Undocumented
Instance Variable job_ids Undocumented
Instance Variable labels_task_map Undocumented
Instance Variable project_ids Undocumented
Instance Variable server_id_map Undocumented
Instance Variable task_ids Undocumented
Class Method _from_dict Builds an AnnotationResults from a JSON dict representation of it.
Method _forget_tasks Undocumented
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.
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, server_id_map, project_ids, task_ids, job_ids, frame_id_map, labels_task_map, backend=None): (source)
def cleanup(self): (source)

Deletes all tasks and created projects associated with this run.

def delete_tasks(self, task_ids): (source)

Deletes the given tasks from both the CVAT server and this run.

Parameters
task_idsan iterable of task IDs
def get_status(self): (source)

Gets the status of the assigned tasks and jobs.

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

Launches the CVAT editor and loads the first task for this annotation run.

def print_status(self): (source)

Prints the status of the assigned tasks and jobs.

frame_id_map: dict = (source)

Undocumented

Undocumented

labels_task_map = (source)

Undocumented

project_ids: list = (source)

Undocumented

server_id_map = (source)

Undocumented

task_ids = (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 _forget_tasks(self, task_ids): (source)

Undocumented

def _get_status(self, log=False): (source)

Undocumented