MCPcopy Create free account

hub / github.com/OpenGalaxea/GalaxeaVLA / functions

Functions1,956 in github.com/OpenGalaxea/GalaxeaVLA

↓ 5 callersMethod_is_multi_source_meta
(meta: Dict[str, Any])
src/g05/data/base_lerobot_dataset.py:437
↓ 5 callersFunction_meta_raw_dim
(meta: Dict[str, Any])
experiments/robotwin/galaxeafm_policy/deploy_policy.py:40
↓ 5 callersMethod_slice_query_tensor
Select the positions belonging to one meta from a shared query tensor. Args: data: Tensor returned by `MultiLeRobotDatas
src/g05/data/base_lerobot_dataset.py:496
↓ 5 callersFunctionaggregate_stats
Aggregate stats from multiple compute_stats outputs into a single set of stats. The final stats will have the union of all data keys from each of
src/g05/data/lerobot/datasets/compute_stats.py:158
↓ 5 callersMethodbuild
Common build flow; subclasses do not need to override it.
src/g05/data_processor/processor/samples_builder.py:165
↓ 5 callersFunctionbuild_obs_dict
Build the processor.preprocess input from client raw observations. Data format is aligned with base_lerobot_dataset.py:304-323 __getitem__ output
scripts/serve_policy.py:262
↓ 5 callersMethodcheck_invariants
(self, where: str = "")
src/g05/models/g05/g05_policy.py:63
↓ 5 callersMethodclear_chunk
(self, idx: int)
scripts/utils/policy_ws_client.py:132
↓ 5 callersMethodembed
Input projection. VLM: input_ids [B,S] → [B,S,d] (Embedding, NO sqrt scaling for Qwen3.5) AE: psi_t [B,H,D] → [B,H,d] (Linear, flo
src/g05/models/g05/qwen35/mixture_qwen35.py:496
↓ 5 callersFunctionensure_libero_config
()
experiments/libero/libero_eval_utils.py:38
↓ 5 callersMethodget_dataset_stats
Compute dataset statistics for normalization. Args: processor: MixtureProcessor containing per-embodiment processors
src/g05/data/mixture_lerobot_dataset.py:446
↓ 5 callersFunctionget_safe_default_codec
()
src/g05/data/lerobot/datasets/video_utils.py:34
↓ 5 callersMethodget_task_index
Given a task in natural language, returns its task_index if the task already exists in the dataset, otherwise return None.
src/g05/data/lerobot/lerobot_dataset.py:235
↓ 5 callersFunctiongripper_to_libero_command
(value: np.ndarray | float, *, obs: dict | None = None)
experiments/libero/libero_eval_utils.py:236
↓ 5 callersFunctioninstantiate_dataset
Instantiate dataset from cfg.data, stripping processors first. cfg.data may contain a ``processors`` key that is consumed by :func:`build_pro
src/g05/utils/data/processor_utils.py:154
↓ 5 callersMethodis_rule_based_key
(self, key: str)
src/g05/tokenizer/models/actioncodec2_v2/wrapper.py:200
↓ 5 callersMethodis_valid
Return True iff *sequence* is a valid binary sequence under this tokenizer's constraints.
src/g05/tokenizer/models/binary_sequence/constrained_tokenizer.py:187
↓ 5 callersFunctionload_episodes
(local_dir: Path)
src/g05/data/lerobot/datasets/util_v3.py:497
↓ 5 callersFunctionmatrix_to_quaternion
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
src/g05/utils/data/rotation.py:99
↓ 5 callersMethodpostprocess
Postprocess the data for the policy model. Args: data: Dict[str, Any], lerobot sample in raw mcap Returns:
src/g05/data_processor/processor/base_processor.py:409
↓ 5 callersMethodpreprocess
Preprocess input data. Args: training: whether this is training mode; affects action corruption and alignment.
src/g05/models/g05/io/input_preprocessor.py:313
↓ 5 callersMethodreset_from_obs
(self, obs: dict)
experiments/libero/libero_eval_utils.py:212
↓ 5 callersFunctionresolve_hf_model_path
Resolve a local directory or HF model repo id to a local directory path. Existing local directories are returned unchanged. HF model repo ids are
src/g05/utils/hf.py:35
↓ 5 callersMethodset_processor
Set processor instance from external initialization.
src/g05/data/base_lerobot_dataset.py:1030
↓ 5 callersMethodset_training
(self, training: bool)
src/g05/data_processor/processor/samples_builder.py:882
↓ 5 callersMethodtrain
Override to silently ignore train(True) after configure_eval().
src/g05/tokenizer/models/base_wrapper.py:72
↓ 5 callersFunctiontruncate_datasets
Truncate dataset_dirs to at most *max_datasets* entries (debug mode). Supports both mixture configs (embodiment_datasets → dataset_groups → datas
src/g05/utils/eval/eval_utils.py:49
↓ 4 callersMethod__init__
(self, padding, fill=0, padding_mode="constant")
src/g05/data_processor/transforms/image.py:144
↓ 4 callersMethod_append_offsets_for_meta
( self, query_offsets_by_key: Dict[str, List[float]], lerobot_key, offsets: Li
src/g05/data/base_lerobot_dataset.py:478
↓ 4 callersMethod_backward_one
Split flat tensor back to per-embodiment raw key dict.
src/g05/data_processor/transforms/action_state_merger.py:765
↓ 4 callersFunction_bar
Text progress bar.
tests/show_vla_label.py:84
↓ 4 callersFunction_cfg_get
(cfg, path: str, default=None)
experiments/libero/eval_libero_parallel.py:50
↓ 4 callersFunction_compute_frame_ep_end
Precompute per-frame episode end index for sliding window operations. Args: ep_indices: Episode index per frame, shape (N,)
src/g05/data/base_lerobot_datasetV3.py:173
↓ 4 callersMethod_concat_aligned_dict
Concatenate aligned dict into a single tensor following max_shape_meta key order. Args: aligned_dict: Aligned data dict
src/g05/data_processor/transforms/action_state_merger.py:456
↓ 4 callersFunction_flatten
Flatten nested dict: {"a": {"b": tensor}} -> {"a.b": tensor}.
tests/test_serve_vs_dataset.py:70
↓ 4 callersFunction_fmt_threshold
Format threshold value for display. Uses scientific notation for values < 0.1, otherwise decimal.
scripts/utils/preflight.py:48
↓ 4 callersMethod_forward_one
Align raw keys, apply merge_spec grouping, concat to flat tensor.
src/g05/data_processor/transforms/action_state_merger.py:721
↓ 4 callersMethod_get_meta_source_data
(container: Dict[str, Any], meta: Dict[str, Any])
src/g05/data/base_lerobot_dataset.py:489
↓ 4 callersMethod_get_pad_mask
Extract the pad mask corresponding to one state/action query. Args: meta: State or action meta with resolved query infor
src/g05/data/base_lerobot_dataset.py:563
↓ 4 callersFunction_parse_optional_int
(value: Any)
experiments/robotwin/galaxeafm_policy/deploy_policy.py:114
↓ 4 callersMethod_pose_to_matrix
(pose: torch.Tensor)
src/g05/data_processor/transforms/relative_action.py:153
↓ 4 callersMethod_recv_all
(self, timeout=None)
experiments/libero/libero_vector_env.py:129
↓ 4 callersFunction_resolve_path
(path_str: str, *, base: Path)
experiments/robotwin/eval_robotwin_single.py:47
↓ 4 callersMethod_restore_dict
Restore to original keys and dimensions, discard padding and virtual keys
src/g05/data_processor/transforms/action_state_merger.py:445
↓ 4 callersFunction_shift_indices_with_episode_boundary
( indices: torch.Tensor, offset: int, frame_ep_start: torch.Tensor, frame_ep_end: torch.Tensor
src/g05/data/base_lerobot_datasetV3.py:204
↓ 4 callersMethod_split_aligned_dict
Split concatenated tensor back to aligned dict following max_shape_meta key order. Args: concatenated_tensor: Concatenat
src/g05/data_processor/transforms/action_state_merger.py:503
↓ 4 callersFunction_sync_if_cuda_available
()
src/g05/models/g05/inferencer.py:22
↓ 4 callersFunction_to_jsonable
(value: float | None)
experiments/robotwin/run_robotwin_manager.py:119
↓ 4 callersFunction_write_to_file
Append text to the log file if one has been configured.
src/g05/utils/logging/log_box.py:41
↓ 4 callersMethodaction_state_transform
(self, batch)
src/g05/data_processor/processor/base_processor.py:278
↓ 4 callersFunctionappend_jsonlines
(data: dict, fpath: Path)
src/g05/data/lerobot/datasets/utils.py:186
↓ 4 callersMethodapply_fp32_params
Cast parameters matching fp32_param_patterns to float32.
src/g05/models/base_policy.py:36
↓ 4 callersMethodconvert_tokens_to_ids
(self, token: str)
src/g05/models/g05/qwen35/processing.py:191
↓ 4 callersMethodcreate_episode_buffer
(self, episode_index: int | None = None)
src/g05/data/lerobot/lerobot_dataset.py:867
↓ 4 callersFunctioncreate_inference_engine
(config: Dict[str, Any])
experiments/r1lite/core/inference/factory.py:8
↓ 4 callersMethodencode
Encode a binary sequence to a list of ``num_tokens`` token integers. Parameters ---------- sequence: A b
src/g05/tokenizer/models/binary_sequence/constrained_tokenizer.py:211
↓ 4 callersMethodestimate_flops
Estimate FLOPs for one sample through this Mixture (forward + backward). Uses the standard 6*N*S formula for linear projections (fwd+bwd), pl
src/g05/models/g05/qwen35/mixture_qwen35.py:469
↓ 4 callersFunctionfinish_episode
(env_idx: int, success: bool)
experiments/libero/eval_libero_parallel.py:143
↓ 4 callersMethodfor_model
Build a complete manager for a given VLM backbone. Registers bos/eos/pad/image from *tokenizer* and fills chat format tokens accordin
src/g05/utils/common/special_tokens.py:53
↓ 4 callersMethodforward
(self, x: torch.Tensor)
src/g05/data_processor/transforms/image.py:151
↓ 4 callersMethodget_data_file_path
(self, ep_index: int)
src/g05/data/lerobot/lerobot_dataset.py:145
↓ 4 callersFunctionget_file_size_in_mb
Get file size on disk in megabytes. Args: file_path (Path): Path to the file.
src/g05/data/lerobot/datasets/util_v3.py:234
↓ 4 callersFunctionget_global_monitor
()
src/g05/utils/training/train_utils.py:642
↓ 4 callersMethodget_state
(self)
experiments/so100/so100_policy_client.py:400
↓ 4 callersMethodget_video_file_path
(self, ep_index: int, vid_key: str)
src/g05/data/lerobot/lerobot_dataset.py:150
↓ 4 callersMethodinfer
AR inference: last_hidden -> sample -> decode loop. The caller must run vlm_prefill() first to provide past_key_values and last_hidde
src/g05/models/g05/helpers/ar_helper.py:326
↓ 4 callersMethodinfer
( self, raw_obs: dict[str, Any], current_step: int | None = None )
scripts/utils/policy_ws_client.py:38
↓ 4 callersFunctionl2norm
(x: torch.FloatTensor, dim: int = -1, eps: float = 1e-6)
src/g05/models/g05/qwen35/gated_deltanet.py:34
↓ 4 callersFunctionlibero_gripper_state_to_command
(obs: dict)
experiments/libero/libero_eval_utils.py:192
↓ 4 callersFunctionload_jsonlines
(fpath: Path)
src/g05/data/lerobot/datasets/utils.py:173
↓ 4 callersFunctionload_model_from_checkpoint
Load a model and apply checkpoint weights, optionally using meta-device acceleration. Compared with the old three-step path (instantiate -> torch
src/g05/utils/checkpoint/checkpoint_utils.py:562
↓ 4 callersMethodpopleft
(self)
experiments/r1lite/core/communication/message_queue.py:22
↓ 4 callersMethodpreprocess
(self, obs_dict: dict)
tests/test_serve_policy_dynamic_batching.py:14
↓ 4 callersMethodrelease
(self)
experiments/so100/so100_policy_client.py:497
↓ 4 callersFunctionrepeat_kv
(hidden_states: torch.Tensor, n_rep: int)
src/g05/models/g05/model/utils.py:37
↓ 4 callersMethodreset_connection
(self, idx: int)
scripts/utils/policy_ws_client.py:202
↓ 4 callersMethodsubmit
(self, raw_obs: dict)
scripts/serve_policy_batched.py:136
↓ 4 callersMethodtrain_step
Single AR training step. Args: model: G05Model vlm_hidden: [B, S, d_vlm] labels: [B, S] Returns:
src/g05/models/g05/helpers/ar_helper.py:305
↓ 3 callersMethod__init__
(self, config)
src/g05/models/g05/qwen35/mixture_qwen35.py:66
↓ 3 callersMethod_align_dict
Align dict keys and dimensions to max_shape_meta. Processing logic: 1. key exists + insufficient dimension → pad to target_d
src/g05/data_processor/transforms/action_state_merger.py:335
↓ 3 callersMethod_assign_token_index
Map generated token IDs -> TOKEN_INDEX for attention_mask growth. Aligned with legacy GalaxeaARMixin.assign_position_ids_by_ranges. W
src/g05/models/g05/helpers/ar_helper.py:146
↓ 3 callersMethod_clean_special_tokens
Remove block-wise AR markers and control tokens from decoded string.
src/g05/models/g05/io/input_preprocessor.py:1186
↓ 3 callersMethod_clear_inner_overfit
(dataset: BaseLerobotDataset)
src/g05/data/mixture_lerobot_dataset.py:291
↓ 3 callersMethod_concat
Concatenate tensors in dict according to meta order. Supports both 2D (T, D) for action and 1D (D,) for action_op_mask.
src/g05/data_processor/transforms/action_state_merger.py:120
↓ 3 callersMethod_crop
Crop padding portion, keep dimensions defined by meta. Supports 3D (B, T, D) for action and 2D (B, D) for action_op_mask.
src/g05/data_processor/transforms/action_state_merger.py:106
↓ 3 callersFunction_describe
One-line description of a value.
tests/test_serve_vs_dataset.py:82
↓ 3 callersMethod_dummy_image
(meta: Dict[str, Any])
src/g05/data/so100_canonical_dataset.py:377
↓ 3 callersMethod_encode_tensor
Encode a single padded tensor through the full pipeline up to RVQ. Args: x: (B, T, max_component_dim) —
src/g05/tokenizer/models/actioncodec2_v2/modeling_actioncodec2v2.py:331
↓ 3 callersMethod_flush_metadata_buffer
Write all buffered episode metadata to parquet file.
src/g05/data/lerobot/lerobot_dataset_v3.py:106
↓ 3 callersMethod_get_hf_dataset_for_reads
(self)
src/g05/data/lerobot/lerobot_dataset.py:674
↓ 3 callersMethod_get_image_file_path
(self, episode_index: int, image_key: str, frame_index: int)
src/g05/data/lerobot/lerobot_dataset.py:877
↓ 3 callersFunction_get_quantile_spec
Return standard quantile specification list.
src/g05/data/base_lerobot_datasetV3.py:694
↓ 3 callersFunction_get_samples
Extract 'samples' sub-dict from preprocess output.
tests/test_train_eval_serve_consistency.py:166
↓ 3 callersMethod_init_flat_tokens
Register flat action tokens (no group markers).
src/g05/tokenizer/interface/vq_base.py:185
↓ 3 callersFunction_lerp
(a: float, b: float, t: float)
src/g05/tokenizer/models/actioncodec2_v2/consistency.py:41
↓ 3 callersFunction_make_chunk_trace
Create a semi-transparent merged-chunk trace for a single action dimension. Args: chunks_1d: ``(episode_size, chunk_size)`` — one dim sli
src/g05/utils/eval/visualize.py:61
↓ 3 callersFunction_make_obs
(idx: int, tokens: list[int])
tests/test_serve_policy_dynamic_batching.py:45
↓ 3 callersMethod_normalize_param
(self, name: str, value: Any)
src/g05/data_processor/transforms/misc.py:117
↓ 3 callersMethod_pad
Pad right to specified dimension, returns padded tensor and padding mask. Supports both 2D (T, D) for action and 1D (D,) for action_op_mask.
src/g05/data_processor/transforms/action_state_merger.py:86
↓ 3 callersMethod_pad_or_clip
Pad or clip the last dimension to ``max_d``.
src/g05/tokenizer/models/actioncodec2_v2/modeling_actioncodec2v2.py:299
← previousnext →101–200 of 1,956, ranked by callers