Skip to content

View components

Use these view:name targets in configuration _target_ fields. Add the defining module to _imports_ to register a component explicitly. Method components and benchmark probes require these imports.

Target Description
view:babycl_ms_aug The augmentation BabyCL EFFECTIVELY applies to visual-segment frames, 1:1 with
view:center_crop No description.
view:clip_center_crop No description.
view:clip_rrc Random resized crop + horizontal flip, temporally consistent -- the
view:clip_simclr SimCLR-style clip augmentation; random parameters are drawn once per
view:cvcl_aug CVCL/BabyCL multimodal-frame augmentation, 1:1 with the original:
view:imagenet_center_crop Bilinear resize to 256/224 of size, then crop for ImageNet linear decoding.
view:mae Bicubic random resized crop, horizontal flip, and ImageNet normalization.
view:resize Squash the whole frame to size x size (aspect-distorting), no crop --
view:simclr_strong Standard SimCLR strong augmentation applied to the RAW frame (usually
view:streammae No description.

view:babycl_ms_aug

The augmentation BabyCL EFFECTIVELY applies to visual-segment frames, 1:1 with

Defining module / _imports_: egolearn.methods.babycl.data.

babycl_ms_aug(size: int = 224, view_idx: int = 0, scale_min: float = 0.2, scale_max: float = 1.0, blur_impl: str = "separable")

view:center_crop

No description.

Defining module / _imports_: egolearn.data.views.

center_crop(size: int = 224, vertical_flip: bool = False)

view:clip_center_crop

No description.

Defining module / _imports_: egolearn.data.views.

clip_center_crop(size: int = 224)

view:clip_rrc

Random resized crop + horizontal flip, temporally consistent -- the

Defining module / _imports_: egolearn.data.views.

clip_rrc(size: int = 224, scale_min: float = 0.3, scale_max: float = 1.0, ratio_min: float = 0.75, ratio_max: float = 1.35)

view:clip_simclr

SimCLR-style clip augmentation; random parameters are drawn once per

Defining module / _imports_: egolearn.data.views.

clip_simclr(size: int = 224, view_idx: int = 0, scale_min: float = 0.2, scale_max: float = 1.0)

view:cvcl_aug

CVCL/BabyCL multimodal-frame augmentation, 1:1 with the original:

Defining module / _imports_: egolearn.methods.babycl.data.

cvcl_aug(size: int = 224)

view:imagenet_center_crop

Bilinear resize to 256/224 of size, then crop for ImageNet linear decoding.

Defining module / _imports_: egolearn.data.views.

imagenet_center_crop(size: int = 224)

view:mae

Bicubic random resized crop, horizontal flip, and ImageNet normalization.

Defining module / _imports_: egolearn.methods.mae.views.

mae(size: int = 224, scale_min: float = 0.2, vertical_flip: bool = False, uint8: bool = False, jitter_probability: float = 0.0)

view:resize

Squash the whole frame to size x size (aspect-distorting), no crop --

Defining module / _imports_: egolearn.data.views.

resize(size: int = 224, vertical_flip: bool = False)

view:simclr_strong

Standard SimCLR strong augmentation applied to the RAW frame (usually

Defining module / _imports_: egolearn.data.views.

simclr_strong(size: int = 224, view_idx: int = 0, scale_min: float = 0.2, scale_max: float = 1.0, vertical_flip: bool = False, blur_impl: str = "separable")

view:streammae

No description.

Defining module / _imports_: egolearn.methods.streammae.views.

StreamMAEView(size: int = 224, scale_min: float = 0.2, uint8: bool = False, frame_size = None, patch_size: int = 16, crop_size = None, crop_fraction: tuple[float, float] = (336 / 720, 592 / 1280), crop_probability: float = 0.5, motion_candidates: int = 4, jitter_probability: float = 0.5)