dataeval.data.selections.ClassFilter

class dataeval.data.selections.ClassFilter(classes, filter_detections=True)

Filter the dataset by class.

Parameters:
classes : Sequence[int]

The classes to filter by.

filter_detections : bool, default True

Whether to filter detections from targets for object detection and segmentation datasets.