class documentation
class LabelboxAnnotationResults(foua.AnnotationResults): (source)
Constructor: LabelboxAnnotationResults(samples, config, anno_key, id_map, ...)
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 |
Gets the status of the annotation run. |
Method | launch |
Launches the Labelbox editor and loads the project for this annotation run. |
Method | print |
Prints the status of the annotation run. |
Instance Variable | frame |
Undocumented |
Instance Variable | project |
Undocumented |
Class Method | _from |
Builds an AnnotationResults from a JSON dict representation of it. |
Method | _get |
Undocumented |
Inherited from AnnotationResults
:
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | connect |
Returns an API instance connected to the annotation backend. |
Method | use |
Registers an API instance to use for subsequent operations. |
Instance Variable | id |
Undocumented |
Method | _finalize |
Internal method that is (only) called prior to saving annotation results for the first time. |
Method | _format |
Undocumented |
Method | _sample |
Undocumented |
Method | _to |
Undocumented |
Method | _to |
Undocumented |
Method | _update |
Adds the given label IDs into this object's id_map . |
Property | _is |
Whether this annotation run was perfromed on a clips view. |
Property | _is |
Whether this annotation run was perfromed on a frames view. |
Inherited from BaseRunResults
(via AnnotationResults
, AnnotationResults
):
Class Method | from |
Builds a BaseRunResults from a JSON dict representation of it. |
Static Method | base |
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 |
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)
¶
Undocumented
Builds an AnnotationResults
from a JSON dict representation
of it.
Parameters | |
d | a JSON dict |
samples | the fiftyone.core.collections.SampleCollection
for the run |
config | the AnnotationBackendConfig for the run |
anno | the annotation key |
Returns | |
an AnnotationResults |