↓ 2 callersMethod_preprocess_imagesPreprocess images for the model. Images from LeRobot are typically in [B, C, H, W] format and normalized to [0, 1]. PaliGemma expects
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1037
↓ 2 callersMethod_preprocess_imagesPreprocess images for the model. Images from LeRobot are typically in [B, C, H, W] format and normalized to [0, 1]. PaliGemma expects
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:1142
↓ 2 callersFunction_resize_2d_tensor(
tensor: torch.Tensor,
target_shape: Tuple[int, int],
*,
copy_rows: bool,
)
experiments/olmo/train/checkpoint_loading.py:565