Skip to content

Commit 4b9696b

Browse files
committed
Update comment
1 parent 43a2305 commit 4b9696b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/datumaro/plugins/configurable_validator.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ class SegStatsData(StatsData):
7070
@dataclass
7171
class TblStatsData:
7272
categories: Dict[str, Dict[str, Set[str]]]
73-
empty_label: Set[Tuple[str, str]]
74-
empty_caption: Set[Tuple[str, str]]
73+
empty_label: Set[Tuple[str, str]] # item_id, item_subset
74+
empty_caption: Set[Tuple[str, str]] # item_id, item_subset
7575
missing_annotations: Set[Tuple[str, str]] # item_id, item_subset
76-
broken_annotations: Set[Tuple[str, str]]
76+
broken_annotations: Set[Tuple[str, str]] # item_id, item_subset
7777

7878

7979
class _BaseAnnStats:
@@ -847,8 +847,8 @@ def __init__(
847847
for cat, type_ in self.tabular_categories:
848848
self.stats.categories[cat] = {
849849
"cnt": 0,
850-
"type": type_,
851-
"ann_type": set(),
850+
"type": type_, # Column dtype
851+
"ann_type": set(), # AnnotationType
852852
"caption": [], # (id, subset, ann_id, caption)
853853
}
854854

0 commit comments

Comments
 (0)