Skip to content

Commit 4b7a848

Browse files
authored
Update base_custom_evaluator.py
1 parent 32acb8b commit 4b7a848

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/accuracy_checker/accuracy_checker/evaluators/custom_evaluators/base_custom_evaluator.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,6 @@ def process_dataset(self, subset=None, num_images=None, check_progress=False, da
100100
if _progress_reporter:
101101
_progress_reporter.finish()
102102

103-
def _dump_first_annotation_data(self, dump_infer_data):
104-
_, batch_annotations, _, batch_identifiers = self.dataset[0]
105-
data_annotations = detach_representation(batch_annotations[0])
106-
data_to_store = {'annotations': data_annotations, 'identifiers': batch_identifiers[0]}
107-
print("Storing first infer annotation data to {}".format(dump_infer_data))
108-
with open(dump_infer_data, 'wb') as content:
109-
pickle.dump(data_to_store, content)
110-
111103
def _prepare_dataset(self, dataset_tag=''):
112104
if self.dataset is None or (dataset_tag and self.dataset.tag != dataset_tag):
113105
self.select_dataset(dataset_tag)

0 commit comments

Comments
 (0)