MCPcopy Create free account

hub / github.com/EGalahad/vla-scratch / functions

Functions336 in github.com/EGalahad/vla-scratch

Methodcompute
(self, sample: Dict)
vla_scratch/datasets/libero_global/transforms.py:146
Methodcompute
(self, sample: Dict)
vla_scratch/datasets/libero_global/transforms.py:181
Methodcompute_loss
( self, data_sample: "DataSample", )
vla_scratch/policies/pi/policy.py:317
Functionconvert_lerobot_image_to_numpy
Convert LeRobotDataset image tensor to numpy array. Args: img_tensor: Image tensor from LeRobotDataset, shape (C, H, W) or (H, W, C)
examples/bbox_cotrain/visualize_attention.py:769
Functionconvert_quat
Converts quaternion from one convention to another. The convention to convert TO is specified as an optional argument. If to == 'xyzw', then
vla_scratch/utils/math.py:171
Functioneuler_xyz_from_quat
Convert rotations given as quaternions to Euler angles in radians. Note: The euler angles are assumed in XYZ extrinsic convention. A
vla_scratch/utils/math.py:431
Methodfinalize
(self)
vla_scratch/helpers/training.py:617
Methodforward
(self, x)
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:45
Methodforward
( self, x: torch.Tensor )
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:67
Methodforward
( self, position_ids: torch.LongTensor, *, dtype: torch.dtype )
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:114
Methodforward
( self, hidden_states: HiddenState, *, position_embeddings: PositionEmbs | Non
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:216
Methodforward
( self, hidden_states: HiddenState, adarms_cond: AdarmsCond, *, positi
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:305
Methodforward
( self, inputs_embeds: HiddenState, position_ids: PositionIds, adarms_cond: Ad
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:401
Methodget_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/smolvlm/bridge.py:72
Methodget_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/paligemma/bridge.py:72
Methodget_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/qwen/bridge.py:80
Methodhidden_size
(self)
vla_scratch/policies/modules/vlm_bridge/base.py:33
Methodinitialize_weights
(self)
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:383
Methodinitialize_weights
(self)
vla_scratch/policies/pi/policy.py:169
Methodinstantiate
(self)
vla_scratch/policies/config.py:16
Functionis_paligemma_forward_replaced
()
vla_scratch/policies/modules/vlm_bridge/paligemma/utils.py:167
Functionis_smolvlm_forward_replaced
()
vla_scratch/policies/modules/vlm_bridge/smolvlm/utils.py:220
Functionload_bbox_jsonl
Load bbox jsonl into memory; intended for debugging/benchmark scripts.
vla_scratch/datasets/bbox_cotrain/dataset.py:135
Functionload_image
Load and preprocess image.
examples/bbox_cotrain/visualize_attention.py:699
Functionmatrix_from_euler
Convert rotations given as Euler angles (intrinsic) in radians to rotation matrices. Args: euler_angles: Euler angles in radians. Sh
vla_scratch/utils/math.py:395
Methodpredict_suffix
Predict action flow / displacement loss for the diffusion objective.
vla_scratch/policies/base.py:28
Functionquat_box_minus
The box-minus operator (quaternion difference) between two quaternions. Args: q1: The first quaternion in (w, x, y, z). Shape is (N, 4).
vla_scratch/utils/math.py:598
Functionquat_box_plus
The box-plus operator (quaternion update) to apply an increment to a quaternion. Args: q: The initial quaternion in (w, x, y, z). Shape i
vla_scratch/utils/math.py:616
Functionquat_from_euler_xyz
Convert rotations given as Euler angles in radians to Quaternions. Note: The euler angles are assumed in XYZ convention. Args:
vla_scratch/utils/math.py:249
Functionquat_inv
Computes the inverse of a quaternion. Args: q: The quaternion orientation in (w, x, y, z). Shape is (N, 4). eps: A small value to
vla_scratch/utils/math.py:235
Functionreplace_context
Context manager to temporarily swap in the optimized forward methods.
vla_scratch/policies/modules/vlm_bridge/smolvlm/utils.py:224
Functionreplace_context
Context manager to replace Qwen3VL forward methods with optimized versions.
vla_scratch/policies/modules/vlm_bridge/qwen/utils.py:401
Methodreset
(self)
vla_scratch/utils/serving/zmq_policy_client.py:61
Functionrestore_paligemma_forward
()
vla_scratch/policies/modules/vlm_bridge/paligemma/utils.py:158
Methodsample_actions
Do a full inference forward and compute the action (batch_size x num_steps x num_motors)
vla_scratch/policies/pi/policy.py:377
Functionyaw_quat
Extract the yaw component of a quaternion. Args: quat: The orientation in (w, x, y, z). Shape is (..., 4) Returns: A quatern
vla_scratch/utils/math.py:574
← previous301–336 of 336, ranked by callers