TrajectoryResamplingΒΆ
- class standard_e2e.dataset_utils.augmentation.TrajectoryResampling(history_target_timestamps=None, future_target_timestamps=None, target_frame_names=None)[source]ΒΆ
Bases:
FrameAugmentationResample past/future/preference trajectories onto target timestamps.
- Parameters:
- ALLOWED_REGIMES = ['train', 'val', 'test']ΒΆ
- augment(frames, regime)ΒΆ
Apply augmentation to the given frame data.
- Parameters:
frames (
dict[str,TransformedFrameData]) β The frame data to augment.regime (
str) β The regime for which the augmentation is applied.
- Returns:
The augmented frame data.
- Return type: