Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EGalahad/vla-scratch
/ functions
Functions
336 in github.com/EGalahad/vla-scratch
⨍
Functions
336
◇
Types & classes
74
Method
compute
(self, sample: Dict)
vla_scratch/datasets/libero_global/transforms.py:146
Method
compute
(self, sample: Dict)
vla_scratch/datasets/libero_global/transforms.py:181
Method
compute_loss
( self, data_sample: "DataSample", )
vla_scratch/policies/pi/policy.py:317
Function
convert_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
Function
convert_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
Function
euler_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
Method
finalize
(self)
vla_scratch/helpers/training.py:617
Method
forward
(self, x)
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:45
Method
forward
( self, x: torch.Tensor )
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:67
Method
forward
( self, position_ids: torch.LongTensor, *, dtype: torch.dtype )
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:114
Method
forward
( self, hidden_states: HiddenState, *, position_embeddings: PositionEmbs | Non
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:216
Method
forward
( self, hidden_states: HiddenState, adarms_cond: AdarmsCond, *, positi
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:305
Method
forward
( self, inputs_embeds: HiddenState, position_ids: PositionIds, adarms_cond: Ad
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:401
Method
get_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/smolvlm/bridge.py:72
Method
get_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/paligemma/bridge.py:72
Method
get_text_dims
(self)
vla_scratch/policies/modules/vlm_bridge/qwen/bridge.py:80
Method
hidden_size
(self)
vla_scratch/policies/modules/vlm_bridge/base.py:33
Method
initialize_weights
(self)
vla_scratch/policies/modules/action_expert/cross_attention_dit.py:383
Method
initialize_weights
(self)
vla_scratch/policies/pi/policy.py:169
Method
instantiate
(self)
vla_scratch/policies/config.py:16
Function
is_paligemma_forward_replaced
()
vla_scratch/policies/modules/vlm_bridge/paligemma/utils.py:167
Function
is_smolvlm_forward_replaced
()
vla_scratch/policies/modules/vlm_bridge/smolvlm/utils.py:220
Function
load_bbox_jsonl
Load bbox jsonl into memory; intended for debugging/benchmark scripts.
vla_scratch/datasets/bbox_cotrain/dataset.py:135
Function
load_image
Load and preprocess image.
examples/bbox_cotrain/visualize_attention.py:699
Function
matrix_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
Method
predict_suffix
Predict action flow / displacement loss for the diffusion objective.
vla_scratch/policies/base.py:28
Function
quat_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
Function
quat_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
Function
quat_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
Function
quat_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
Function
replace_context
Context manager to temporarily swap in the optimized forward methods.
vla_scratch/policies/modules/vlm_bridge/smolvlm/utils.py:224
Function
replace_context
Context manager to replace Qwen3VL forward methods with optimized versions.
vla_scratch/policies/modules/vlm_bridge/qwen/utils.py:401
Method
reset
(self)
vla_scratch/utils/serving/zmq_policy_client.py:61
Function
restore_paligemma_forward
()
vla_scratch/policies/modules/vlm_bridge/paligemma/utils.py:158
Method
sample_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
Function
yaw_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
← previous
301–336 of 336, ranked by callers