-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
Description
Given a data dict, implement patch/frame sampling.
Interface:
- Patch duration
- None = full track
- Multi-annotation policy
- random sample for each patch (flatten the annotation index)
- all annotations
- Keys
- if None, return all
- else, filter to only sample
'{key}/*'from the data dict, for each selected key
- n_samples
Partial annotation policies?
- Only return slices where all annotations are annotated?
- does not scale / hard to make work with multiple annotations
- Dynamic masking
- BaseTaskTransformer should record the valid range (in frames) for the annotation, not the
mask. Empty annotations have a valid range of[0,0). - Whenever a patch is sampled, compute the overlap of the sample index with the valid range, and use a threshold to determine
mask.
- BaseTaskTransformer should record the valid range (in frames) for the annotation, not the