def reset(self):
    self.fp_list_by_classes = [[] for _ in range(self._n_classes)]
    self.tp_list_by_classes = [[] for _ in range(self._n_classes)]
    self.score_list_by_classes = [[] for _ in range(self._n_classes)]
    self.num_annotations_by_classes = [0 for _ in range(self._n_classes)]
def reset(self):
    self.fp_list_by_classes = [[] for _ in range(self._n_classes)]
    self.tp_list_by_classes = [[] for _ in range(self._n_classes)]
    self.score_list_by_classes = [[] for _ in range(self._n_classes)]
    self.num_annotations_by_classes = [0 for _ in range(self._n_classes)]