|
self._class_ids = sorted(list(set(anno.values()))) |
the line of code helps each class id appear only once in _class_ids,so what is the meaning of the following line of code?is there a problem with the code?
|
id2counts = Counter(self._class_ids) |
thank you in advance
SPT/lib/datasets.py
Line 147 in e385f67
the line of code helps each class id appear only once in _class_ids,so what is the meaning of the following line of code?is there a problem with the code?
SPT/lib/datasets.py
Line 179 in e385f67
thank you in advance