|
@@ -6,27 +6,6 @@ import typing as T
|
|
|
from collections import defaultdict
|
|
|
from cvdatasets.annotation.files import AnnotationFiles
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
class Hierarchy:
|
|
@@ -49,18 +28,6 @@ class Hierarchy:
|
|
|
for dimension, lab in enumerate(topo_sorted_orig_labels)
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
def label_transform(self, label):
|
|
|
func = self._label_transform
|
|
|
if func is None or not callable(func):
|