MCPcopy Create free account

hub / github.com/OpenGalaxea/GalaxeaVLA / functions

Functions1,956 in github.com/OpenGalaxea/GalaxeaVLA

↓ 704 callersMethodget
(self, layer_idx: int)
src/g05/models/kv_cache.py:66
↓ 551 callersMethodappend
(self, x)
experiments/r1lite/core/communication/message_queue.py:10
↓ 359 callersMethoditems
(self)
src/g05/data/lerobot/datasets/utils.py:774
↓ 269 callersMethodinfo
(self, name: str, detail: str)
tests/test_train_eval_serve_consistency.py:100
↓ 141 callersMethodto
Move all tensor values to device (HF BatchEncoding compat).
src/g05/models/g05/qwen35/processing.py:32
↓ 137 callersMethodkeys
(self)
src/g05/data/lerobot/datasets/utils.py:780
↓ 101 callersMethodvalues
(self)
src/g05/data/lerobot/datasets/utils.py:777
↓ 64 callersMethodpop
(self)
experiments/r1lite/core/communication/message_queue.py:18
↓ 52 callersMethoddetach
(self)
src/g05/models/kv_cache.py:103
↓ 49 callersMethodresolve
Try to resolve *raw_key* to a special-token string. Looks up ``raw_key`` in the registered ``tokens`` dict first, then tries ``<raw_k
src/g05/utils/common/special_tokens.py:165
↓ 48 callersMethodupdate
( self, key_states: torch.Tensor, value_states: torch.Tensor, layer_idx: int,
src/g05/models/kv_cache.py:69
↓ 41 callersMethodsize
(self)
experiments/r1lite/core/communication/message_queue.py:31
↓ 40 callersFunctionlog
(msg: str)
tools/export_checkpoint.py:35
↓ 36 callersMethodempty
(self)
experiments/r1lite/core/communication/message_queue.py:35
↓ 32 callersMethodcopy
(self)
experiments/r1lite/core/communication/message_queue.py:26
↓ 31 callersMethoddecode
( self, token_ids: Union[List[int], "torch.Tensor"], skip_special_tokens: bool = False )
src/g05/models/g05/qwen35/processing.py:173
↓ 28 callersMethodcreate
Create a LeRobot Dataset from scratch in order to record data.
src/g05/data/lerobot/lerobot_dataset.py:1121
↓ 26 callersFunctionpackb
(obj)
experiments/r1lite/tests/test_msgpack.py:11
↓ 23 callersFunction_append_override
(overrides: list[str], key: str, value: Any, *, skip_none: bool = True)
experiments/robotwin/eval_robotwin_single.py:165
↓ 23 callersFunctiondict_apply
( x: Dict[str, torch.Tensor], func: Callable[[torch.Tensor], torch.Tensor] )
src/g05/utils/common/pytorch_utils.py:89
↓ 22 callersFunction_stats_write
(message: str, color: Optional[str] = None)
src/g05/data/base_lerobot_datasetV3.py:43
↓ 20 callersMethodcan_handle
Additionally require non-empty bbox JSON; warning_lite batches may contain '{}'.
src/g05/data_processor/processor/samples_builder.py:399
↓ 20 callersMethodclose
(self)
scripts/serve_policy_batched.py:123
↓ 18 callersMethod_locate_sample
Map a global sample index back to its dataset directory and local index (O(log N) bisect).
src/g05/data/base_lerobot_dataset.py:801
↓ 18 callersMethodeval
(self)
src/g05/data_processor/processor/base_processor.py:217
↓ 17 callersFunctionlog_box
Emit a structured box with logger.info, prefixed by a blank visual spacer. Args: rows: terminal display rows, truncated by inner_width.
src/g05/utils/logging/log_box.py:114
↓ 16 callersMethodclear
Clear without returning, for exception paths or manual reset.
src/g05/utils/training/accuracy_accumulator.py:79
↓ 16 callersMethodforward
(self, batch)
src/g05/data_processor/processor/galaxea_action_processor.py:27
↓ 16 callersMethodok
(self, name: str, detail: str = "")
tests/test_train_eval_serve_consistency.py:91
↓ 16 callersMethodto
Move nn.Module attributes to device and call `.to(...)` on action_tokenizer if possible.
src/g05/tokenizer/interface/base_action_tokenizer.py:104
↓ 15 callersMethodbackward
(self, batch)
src/g05/data_processor/processor/galaxea_action_processor.py:59
↓ 15 callersMethodencode
(self, text: str, add_special_tokens: bool = True)
src/g05/models/g05/qwen35/processing.py:169
↓ 15 callersFunctionregister_default_resolvers
Register all resolvers commonly used across entrypoints. Safe to call multiple times.
src/g05/utils/config/config_resolvers.py:107
↓ 14 callersFunction_register
Idempotently register a resolver, replacing any existing one.
src/g05/utils/config/config_resolvers.py:8
↓ 14 callersMethodfail
(self, name: str, detail: str)
tests/test_train_eval_serve_consistency.py:94
↓ 13 callersMethodupdate
Returns False if user pressed 'q' (server may ignore).
scripts/utils/mem_live_viz.py:158
↓ 12 callersFunction_make_config
(**overrides)
experiments/r1lite/tests/test_instruction_manager.py:10
↓ 12 callersFunction_print_node
Print a single tree node: dim connector + bold key + description.
tests/test_dataloader_batch.py:179
↓ 12 callersMethodcan_handle_for_eval
Eval path: preserve non-empty bbox JSON check. Empty JSON '{}' is meaningless for inference. BBoxSubtaskCoTBuilder (eval_required_fie
src/g05/data_processor/processor/samples_builder.py:411
↓ 12 callersMethodencode
proprio tensor/ndarray/dict → "idx idx idx ..." string.
src/g05/tokenizer/interface/proprio_encoder.py:22
↓ 12 callersMethodnow
Return the current time in seconds.
experiments/r1lite/core/communication/ros2_bridge.py:240
↓ 11 callersMethod__init__
(self, block_size: int)
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:59
↓ 11 callersFunction_format_count
(value: int)
src/g05/data/base_lerobot_datasetV3.py:25
↓ 11 callersFunction_sync_if_cuda_available
()
src/g05/models/g05/g05_policy.py:104
↓ 11 callersFunctionformat_size
Bytes → human-readable string (KB / MB / GB).
tools/export_checkpoint.py:39
↓ 10 callersFunctionbuild_processors
Build processor(s) from Hydra config. Mixture case (cfg.data.processors exists): For each embodiment_type, merge per-type config with cfg
src/g05/utils/data/processor_utils.py:28
↓ 10 callersMethodget_instruction
Process instructions and update observation data. Args: obs: observation data dictionary, mutated in place.
experiments/r1lite/scheduler/instruction/instruction.py:32
↓ 10 callersFunctionget_logger
Drop-in replacement for accelerate.logging.get_logger: - No implicit barriers. - Only the main process emits log records by default.
src/g05/utils/logging/logging_config.py:90
↓ 10 callersFunctionload_dataset_stats_from_json
(file_path: str, try_convert_tensor: bool = True)
src/g05/utils/data/normalizer.py:507
↓ 10 callersMethodmerge
( self, nn_dict: Dict[str, torch.Tensor], *, action_dim_is_pad: Optional[torch
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:84
↓ 10 callersMethodrun
Main loop: gather obs → server → single action → publish → repeat. Uses a fixed-period timer so that the control frequency stays stable
experiments/r1lite/scheduler/scheduler.py:50
↓ 10 callersMethodset_normalizer_from_stats
(self, dataset_stats: Dict[str, Any] = None)
src/g05/data_processor/processor/base_processor.py:221
↓ 9 callersMethod_populate_extra_samples
(self, data, samples)
src/g05/data_processor/processor/samples_builder.py:466
↓ 9 callersFunctionlog
(msg: str)
experiments/robotwin/run_robotwin_manager.py:193
↓ 9 callersMethodpartition
( self, component_dict: Dict[str, torch.Tensor] )
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:61
↓ 8 callersFunction_make_obs
Minimal obs dict that InstructionManager expects.
experiments/r1lite/tests/test_instruction_manager.py:22
↓ 8 callersMethodclose
(self)
experiments/libero/libero_vector_env.py:110
↓ 8 callersFunctionconcat_dict_list
Concatenate a list of identically-keyed dicts along axis=0. Example: [{k: (B1,T,D)}, {k: (B2,T,D)}] -> {k: (B1+B2, T, D)}
src/g05/utils/eval/eval_utils.py:35
↓ 8 callersMethoddevice
(self)
src/g05/models/base_policy.py:18
↓ 8 callersFunctionfilter_embodiment
Keep only datasets/processors matching the specified embodiment_type.
src/g05/utils/eval/eval_utils.py:108
↓ 8 callersFunctionfind_run_dir
Find the run directory containing .hydra/config.yaml by searching upward from ckpt_path.
src/g05/utils/checkpoint/ckpt_utils.py:102
↓ 8 callersFunctionget_obj_from_str
(string, reload=False)
src/g05/utils/common/import_utils.py:4
↓ 8 callersFunctionload_config_from_run_dir
Load config from a run directory's .hydra/config.yaml and patch Hydra-specific interpolations.
src/g05/utils/checkpoint/ckpt_utils.py:131
↓ 8 callersMethodstart
(self, task: str = "")
experiments/r1lite/utils/episode_recorder.py:122
↓ 7 callersFunction_build_action_plot_html
( action_gt, action_pred, ar_pred, parts_meta, section_label="", plot_counter=[0], )
scripts/utils/eval_snapshot.py:218
↓ 7 callersFunction_get
(obj, key)
experiments/r1lite/utils/websocket/msgpack.py:33
↓ 7 callersFunction_is_none_like
(value: Any)
experiments/robotwin/galaxeafm_policy/deploy_policy.py:94
↓ 7 callersFunction_print_section
(idx: int)
tests/test_train_eval_serve_consistency.py:593
↓ 7 callersMethod_refine_ll_instruction
(self, instruction)
experiments/r1lite/scheduler/instruction/instruction.py:130
↓ 7 callersMethod_slice_meta_feature
(data: torch.Tensor, meta: Dict[str, Any])
src/g05/data/base_lerobot_dataset.py:451
↓ 7 callersMethodbackward
(self, batch: Dict[str, Dict[str, torch.Tensor]])
src/g05/utils/data/normalizer.py:287
↓ 7 callersMethoddtype
(self)
src/g05/models/base_policy.py:22
↓ 7 callersFunctioneuler_angles_to_matrix
Convert rotations given as Euler angles in radians to rotation matrices. Args: euler_angles: Euler angles in radians as tensor of sh
src/g05/utils/data/rotation.py:191
↓ 7 callersMethodflush
Return micro-batch means for each field, then clear. Fields with no data are omitted from the returned dict. Callers should use check
src/g05/utils/training/accuracy_accumulator.py:65
↓ 7 callersMethodlog
(self, update_dict)
src/g05/utils/training/train_utils.py:630
↓ 7 callersFunctionresolve_processor
Return the matching sub-processor from MixtureProcessor, or single directly. Supports both raw_obs (key="embodiment_type") and obs_dict (key="emb
src/g05/models/g05/inferencer.py:36
↓ 7 callersFunctionunwrap_model
Unwrap model from the DDP wrapper to access the underlying module.
scripts/finetune.py:177
↓ 6 callersMethod__init__
(self, config)
src/g05/models/g05/qwen35/vision.py:110
↓ 6 callersMethod_create_data_dict
(self, timestamp, data)
experiments/r1lite/core/communication/ros2_bridge.py:271
↓ 6 callersMethod_override_command
Subclass override: return non-None to replace the command slot text. The command slot is the injected value for <command_text_!_200>.
src/g05/data_processor/processor/samples_builder.py:157
↓ 6 callersMethod_record_invalid_sample
( self, *, stage: str, requested_idx: int, sample_idx: int, er
src/g05/data/base_lerobot_dataset.py:814
↓ 6 callersMethod_resample_random_idx
Random absolute sample_idx for retry fallback. Subclasses with index filtering (e.g. DroidLerobotDataset's _valid_local_indices) over
src/g05/data/base_lerobot_dataset.py:851
↓ 6 callersFunction_serialize_error
Encode service-side errors in a stable payload.
scripts/serve_policy.py:320
↓ 6 callersMethodchunk
( self, component_dict: Dict[str, torch.Tensor] )
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:159
↓ 6 callersMethoddecode
Reverse decode, needed by processor_inout.py backward.
src/g05/tokenizer/interface/proprio_encoder.py:34
↓ 6 callersMethoddisconnect
(self)
experiments/so100/so100_policy_client.py:451
↓ 6 callersMethodget_id
(self, token_str: str)
src/g05/tokenizer/token_registry.py:47
↓ 6 callersFunctionheader_stamp_to_timestamp
(stamp)
experiments/r1lite/utils/message/message_convert.py:11
↓ 6 callersMethodis_rule_based_key
(self, key: str)
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:58
↓ 6 callersFunctionmatrix_to_euler_angles
Convert rotations given as rotation matrices to Euler angles in radians. Args: matrix: Rotation matrices as tensor of shape (..., 3,
src/g05/utils/data/rotation.py:263
↓ 6 callersFunctionput_line
(text, color, scale=_SCALE_COT)
experiments/so100/so100_policy_client.py:919
↓ 6 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: quaternions with real part first, as ten
src/g05/utils/data/rotation.py:37
↓ 6 callersMethodread_bgr
(self)
experiments/so100/so100_policy_client.py:486
↓ 6 callersFunctionrotate_half
Rotates half the hidden dims of the input.
src/g05/models/g05/qwen35/modules.py:19
↓ 6 callersFunctionsave_dataset_stats_to_json
(dataset_stats: dict, file_path: str)
src/g05/utils/data/normalizer.py:488
↓ 6 callersMethodset_shape_meta
(self, shape_meta)
src/g05/data_processor/transforms/action_filter.py:33
↓ 6 callersFunctionsetup_logging
Configure the logging system for the entire codebase with Rich formatting. **Single source of truth**: all Rich logging configuration is del
src/g05/utils/logging/logging_config.py:9
↓ 6 callersFunctionupdate_chunk_file_indices
(chunk_idx: int, file_idx: int, chunks_size: int)
src/g05/data/lerobot/datasets/util_v3.py:117
↓ 6 callersMethodwarn
(self, name: str, detail: str)
tests/test_train_eval_serve_consistency.py:97
↓ 5 callersMethod_close_writer
Close and cleanup the parquet writer if it exists.
src/g05/data/lerobot/lerobot_dataset_v3.py:768
next →1–100 of 1,956, ranked by callers