diff --git a/cvat/apps/annotation/cvat.py b/cvat/apps/annotation/cvat.py index ab249304..ec687812 100644 --- a/cvat/apps/annotation/cvat.py +++ b/cvat/apps/annotation/cvat.py @@ -398,7 +398,8 @@ def load(file_object, annotations): shape['points'].extend(map(float, pair.split(','))) if track is not None: - track.shapes.append(annotations.TrackedShape(**shape)) + if shape["keyframe"]: + track.shapes.append(annotations.TrackedShape(**shape)) else: annotations.add_shape(annotations.LabeledShape(**shape)) shape = None