class documentation
class ActivityNetEvaluationConfig(DetectionEvaluationConfig): (source)
Constructor: ActivityNetEvaluationConfig(pred_field, gt_field, iou, classwise, ...)
ActivityNet-style evaluation config.
Parameters | |
pred | the name of the field containing the predicted
fiftyone.core.labels.TemporalDetection instances |
gt | the name of the field containing the ground truth
fiftyone.core.labels.TemporalDetection instances |
iou | the IoU threshold to use to determine matches |
classwise | whether to only match segments with the same class label (True) or allow matches between classes (False) |
compute_m | whether to perform the necessary computations so that mAP and PR curves can be generated |
iou | a list of IoU thresholds to use when computing mAP and PR curves. Only applicable when compute_mAP is True |
custom | an optional list of custom metrics to compute or dict mapping metric names to kwargs dicts |
Method | __init__ |
Undocumented |
Instance Variable | compute_m |
Undocumented |
Instance Variable | iou |
Undocumented |
Property | method |
The name of the method. |
Inherited from DetectionEvaluationConfig
:
Instance Variable | gt |
Undocumented |
Instance Variable | pred |
Undocumented |
Property | requires |
Whether fields besides pred_field and gt_field are required in order to perform evaluation. |
Property | type |
The type of run. |
Inherited from BaseRunConfig
(via DetectionEvaluationConfig
, BaseEvaluationMethodConfig
, EvaluationMethodConfig
):
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. |
Method | load |
Loads any necessary credentials from the given keyword arguments or the relevant FiftyOne 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 DetectionEvaluationConfig
, BaseEvaluationMethodConfig
, EvaluationMethodConfig
, BaseRunConfig
):
Method | __repr__ |
Undocumented |