v7labs / darwin-py

Library and commandline tool for managing datasets on darwin.v7labs.com
MIT License
115 stars 42 forks source link

[PLA-595] Don't create sub-annotation keyframe for every keyframe when importing annotations #779

Closed saurbhc closed 8 months ago

saurbhc commented 8 months ago

Problem

As of now, when importing annotations, we automatically make every keyframe a "sub-annotation keyframe" by marking that the sub-annotation has changed.

Solution

during import, between D-Py and backend we still use this format which include both annotation and sub-annotation data at the same time, for each "keyframe". It would be kinda-possible to drop sub-annotation data from the request whenever we know it didn't change since last one, which likely wouldn't create on backend side sub-annotation keyframe.

Changelog

Don't create sub-annotation keyframe for every keyframe when importing annotations

linear[bot] commented 8 months ago

PLA-595 Request: Don't create sub-annotation keyframe for every keyframe when importing annotations