We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f4b72 commit e1d1026Copy full SHA for e1d1026
labelbox/data/annotation_types/label.py
@@ -55,13 +55,13 @@ def _get_annotations_by_type(self, annotation_type):
55
]
56
57
def frame_annotations(
58
- self
+ self
59
) -> Dict[str, Union[VideoObjectAnnotation, VideoClassificationAnnotation]]:
60
frame_dict = defaultdict(list)
61
for annotation in self.annotations:
62
if isinstance(
63
annotation,
64
- (VideoObjectAnnotation, VideoClassificationAnnotation)):
+ (VideoObjectAnnotation, VideoClassificationAnnotation)):
65
frame_dict[annotation.frame].append(annotation)
66
return frame_dict
67
0 commit comments