Track-ID Refactor
The track table didn't always exist, and a track used to just be a "track_id": str
as part of an annoation dict. This means there are lots of kwcoco files out there that have track name as its internal "id". This makes the SQL view difficult to use. We want all internal ids to be integers for efficiency.
We need a tool to convert old-track styles to the new style where there is a track dictionary with a {"id": int, "name": str}
, and each annotation has "track_id": int
. If it was quick to check we could run it on demand.
After we are sure that we can assume the old-style track-id can't get into critical sections of code, we need to remove workarounds that have been added to aid in the migration, or at least the ones with significant overhead.