Methodcompute_loss pred : [B, T, 20] target : [B, T, 7] or [B, T, 20] Only compute MSE on the first 7 dims.
src/lerobot/policies/xvla/action_hub.py:308
Methodcompute_loss Compute loss only on the first real_dim dimensions. pred: [B, T, max_dim] from the model target: [B, T, real_dim] or [B, T
src/lerobot/policies/xvla/action_hub.py:391
Methodcompute_loss pred: [B, T, 20] from the model target: [B, T, 12] or [B, T, 20] We pad target → 20 and compute loss only on the real dims.
src/lerobot/policies/xvla/action_hub.py:488