Closed AdityaNG closed 2 years ago
I can work on this
Got some basic merged iterator functionality running
https://github.com/PW22-SBN-01/dataset_pipeline/commit/bd08f323d01a54033744648509934580aa379f14
Made the MergedIterator
take and instance of PandaDatasetIterator
and an instance of AndroidDatasetIterator
as argument. It computes the intersection and IOU of the two and allows the user to iteratre over the intersection
Create a class
MergedDatasetIterator
which takesAndroidDatasetIterator
,PandaDatasetIterator
(and eventually aDVRDatasetIterator
) as arguments and produces an object that allows access to the intersection of all the datasets.Precompute things like valid start time, end time, duration, avg frame rate, etc. Raise warnings when there are large gaps in the data (>1 second)
https://github.com/PW22-SBN-01/dataset_pipeline/blob/26c31afd799bc6823ed68191da66b3f379c99528/dataset_helper/dataset_iterators.py#L234-L295