MCPcopy Create free account

hub / github.com/MIKUZ12/DreamZero-Libero / functions

Functions1,297 in github.com/MIKUZ12/DreamZero-Libero

↓ 1 callersMethod_get_video_path_pattern
Get the video path pattern for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:1191
↓ 1 callersFunction_include_patterns
Factory function that can be used with copytree() ignore parameter. Arguments define a sequence of glob-style patterns that are used to speci
groot/vla/common/utils/io/file_utils.py:391
↓ 1 callersMethod_initialize_normalizers
Initialize per-horizon normalizers from statistics.
groot/vla/data/transform/state_action.py:425
↓ 1 callersFunction_make_zero_observation
Create a dummy observation matching AR_droid expectations. AR_droid expects: - 2 external cameras (exterior_image_0_left, exterior_im
test_client_AR.py:130
↓ 1 callersFunction_maybe_apply_embodiment_runtime_fallbacks
Patch older checkpoint configs with locally-added embodiment definitions.
groot/vla/model/n1_5/sim_policy.py:24
↓ 1 callersMethod_norm
(self, x)
groot/vla/model/dreamzero/modules/wan2_1_submodule.py:177
↓ 1 callersMethod_prepare_action
Pad to max_action_dim, return masks.
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:514
↓ 1 callersMethod_prepare_language
Tokenize data['language'] (or default_instruction if missing).
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:422
↓ 1 callersMethod_prepare_state
Gathers final state from data['state'], then pads to max_state_dim. Return (state, state_mask, n_state_tokens).
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:481
↓ 1 callersMethod_prepare_text_inputs
(self, data: BatchFeature)
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:829
↓ 1 callersMethod_prepare_video
Process, stack, and pad images from data['video'].
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:334
↓ 1 callersMethod_process_arg
(self, arg)
groot/vla/common/utils/io/print_utils.py:149
↓ 1 callersMethod_process_clean_image_only
Process clean image blocks with causal attention pattern - OPTIMIZED First frame: conditioning, cannot attend to anything (self-atten
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:555
↓ 1 callersMethod_process_noisy_action_blocks
Process noisy action blocks with teacher forcing pattern - OPTIMIZED First action (for first frame): cannot attend to anything (self-
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:727
↓ 1 callersMethod_process_noisy_image_blocks
Process noisy image blocks with teacher forcing pattern - OPTIMIZED First frame: conditioning, cannot attend to anything (self-attent
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:661
↓ 1 callersMethod_process_state_blocks
Process state blocks: self-attention only - OPTIMIZED OPTIMIZATION: State blocks only do self-attention within each block. In
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:626
↓ 1 callersMethod_quat_to_axis_angle
(self, quat)
eval_utils/run_libero_server.py:119
↓ 1 callersFunction_random_derangement
(n)
groot/vla/common/utils/misc/torch_utils.py:522
↓ 1 callersMethod_receive_batch_from_rank0
Receive batch data from rank 0 using torch.distributed primitives.
socket_test_optimized_AR.py:552
↓ 1 callersMethod_receive_payload
(self)
eval_utils/run_libero_server.py:307
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
groot/vla/model/dreamzero/modules/wan_video_text_encoder.py:172
↓ 1 callersMethod_reorder
(self, img)
groot/vla/common/utils/misc/image_utils.py:112
↓ 1 callersMethod_resize
(self, img)
groot/vla/common/utils/misc/image_utils.py:101
↓ 1 callersFunction_strip_bg_prefix
on_red -> red
groot/vla/common/utils/io/termcolor.py:63
↓ 1 callersFunction_transfer
(x)
groot/vla/common/utils/misc/torch_utils.py:345
↓ 1 callersMethod_transform_video
Apply the focus rectangle transformation to a video. Args: video (np.ndarray): Video tensor of shape [T, H, W, C]
groot/vla/data/transform/video.py:760
↓ 1 callersMethod_uniform_sample_from_language_ranges
Uniformly sample from language-consistent ranges based on the first index's language. Args: step_indices (np.ndarray): Or
groot/vla/data/dataset/lerobot_sharded.py:1131
↓ 1 callersMethod_visualize_attention_mask
Create and print a visualization of the attention mask pattern. Returns a binary mask [total_len, total_len] where 1 = can attend, 0
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:225
↓ 1 callersMethod_wait_for_server
(self)
eval_utils/policy_client.py:39
↓ 1 callersMethod_worker_loop
(self)
eval_utils/run_libero_server.py:333
↓ 1 callersMethod_wrap_generator
Wrap each generator invocation with the context manager
groot/vla/common/utils/misc/functional_utils.py:583
↓ 1 callersFunctionaccumulate
Return running totals # _accumulate([1,2,3,4,5]) --> 1 3 6 10 15 # _accumulate([1,2,3,4,5], operator.mul) --> 1 2 6 24 120
groot/vla/common/utils/misc/functional_utils.py:549
↓ 1 callersMethodactivate_action_head_components
Activate specific components of the action head model.
groot/vla/model/n1_5/sim_policy.py:125
↓ 1 callersMethodactivate_model
Activate a model - for VLM this is a no-op, for action_head this manages components.
groot/vla/model/n1_5/sim_policy.py:110
↓ 1 callersMethodadd_action_noise
(self, action: torch.Tensor, std: float)
groot/vla/model/n1_5/sim_policy.py:1176
↓ 1 callersFunctionany_describe
(x, msg="", *, shape_only=False)
groot/vla/common/utils/misc/array_tensor_utils.py:321
↓ 1 callersFunctionany_describe_str
Describe type, shape, device, data type (of np array/tensor) Very useful for debugging
groot/vla/common/utils/misc/array_tensor_utils.py:278
↓ 1 callersFunctionany_mean
(x, dim: Optional[int] = None, keepdim: bool = False)
groot/vla/common/utils/misc/array_tensor_utils.py:258
↓ 1 callersFunctionany_variance
(x, dim: Optional[int] = None, keepdim: bool = False, unbiased: bool = False)
groot/vla/common/utils/misc/array_tensor_utils.py:268
↓ 1 callersMethodapply
Apply the transformation to the data corresponding to keys matching the `apply_to` regular expression and return the processed data.
groot/vla/data/transform/base.py:62
↓ 1 callersMethodapply
(self, data: Dict[str, Any])
groot/vla/data/transform/concat.py:86
↓ 1 callersFunctionapply_action_overrides
Apply action horizon overrides if action_horizon is specified in config. This function should be called after the config is loaded but before
groot/vla/utils/action_args_override_utils.py:50
↓ 1 callersMethodapply_batch
(self, data: dict, batch_size: int)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:643
↓ 1 callersMethodassert_delta_indices
(self, delta_indices: np.ndarray)
groot/vla/model/n1_5/sim_policy.py:555
↓ 1 callersFunctionassert_implements_method
(object, method: str | list[str])
groot/vla/common/utils/misc/functional_utils.py:58
↓ 1 callersFunctionbasic_clean
(text)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:26
↓ 1 callersMethodbatch_obs
Check if input is batched and add batch dimension if needed
groot/vla/model/n1_5/sim_policy.py:1166
↓ 1 callersFunctionbuild_episodes
Build episodes.jsonl entries.
scripts/data/convert_lerobot_to_gear.py:350
↓ 1 callersFunctionbuild_frame_schedule
Build the frame index schedule for multi-frame chunks. Returns a list of frame-index lists. Each inner list has 4 indices.
test_client_AR.py:85
↓ 1 callersFunctionbuild_modality_json
Build the modality.json structure expected by GEAR/DreamZero.
scripts/data/convert_lerobot_to_gear.py:134
↓ 1 callersFunctionbuild_obs
Build an obs dict matching what GrootSimPolicy.forward() expects.
scripts/open_loop_yam.py:143
↓ 1 callersFunctionbuild_tasks
Build tasks.jsonl entries from the dataset.
scripts/data/convert_lerobot_to_gear.py:329
↓ 1 callersFunctioncalculate_dataset_statistics
Calculate the dataset statistics of all columns for a list of parquet files. Args: parquet_paths (list[Path]): List of paths to parquet f
groot/vla/data/dataset/lerobot.py:50
↓ 1 callersFunctioncausal_rope_action_apply_no_polar
( x: torch.Tensor, freqs: torch.Tensor, freqs_action: torch.Tensor, freqs_state: torch.Tensor,
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:100
↓ 1 callersFunctioncausal_rope_action_apply_polar
( x: torch.Tensor, freqs: torch.Tensor, freqs_action: torch.Tensor, freqs_state: torch.Tensor,
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:153
↓ 1 callersMethodcheck_input
(self, data: dict[str, Any])
groot/vla/data/transform/video.py:95
↓ 1 callersMethodcheck_keys_and_batch_size
(self, data)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:276
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
groot/vla/model/dreamzero/modules/wan_video_image_encoder.py:826
↓ 1 callersFunctioncolor_text
Colorize text. Available text colors: red, green, yellow, blue, magenta, cyan, white. Available text highlights: on_red, on_
groot/vla/common/utils/io/termcolor.py:74
↓ 1 callersMethodcompute
(self)
groot/vla/common/utils/misc/torch_utils.py:735
↓ 1 callersFunctioncompute_grad_accum_to_match_global_bs
(global_bs: int, bs: int)
groot/vla/experiment/utils.py:104
↓ 1 callersFunctioncompute_offline_metrics_eval_history
( policy_wrapper, demo_group: h5py.Group, prompt: str, history_frames: int, max_steps: int
eval_utils/diagnose_libero_fit.py:398
↓ 1 callersFunctioncompute_offline_metrics_train_chunk
( policy_wrapper, dataset, demo_id: int, prompt: str, max_steps: int | None, )
eval_utils/diagnose_libero_fit.py:441
↓ 1 callersFunctioncompute_relative_stats
Compute relative-action statistics: (action - reference_state) for each key. This replicates the logic in groot/vla/data/dataset/lerobot.py _
scripts/data/convert_lerobot_to_gear.py:251
↓ 1 callersFunctioncompute_stats
Compute mean/std/min/max/q01/q99 for numeric columns across all episodes.
scripts/data/convert_lerobot_to_gear.py:222
↓ 1 callersFunctioncompute_stats
Compute mean/std and min/max statistics of all data keys in a LeRobotDataset.
scripts/data/convert_agibot.py:324
↓ 1 callersFunctioncompute_teacher_forced_open_loop_metrics
( policy_wrapper, demo_group: h5py.Group, prompt: str, history_frames: int, open_loop_hori
eval_utils/diagnose_libero_fit.py:491
↓ 1 callersMethodconsolidate
(self, run_compute_stats: bool = True, keep_image_files: bool = False)
scripts/data/convert_agibot.py:530
↓ 1 callersFunctionconvert_droid_dataset
Convert DROID 1.0.1 RLDS dataset to LeRobot format with idle filtering. Args: raw_dir: Path to raw DROID RLDS dataset (e.g., ./data/
scripts/data/convert_droid.py:338
↓ 1 callersMethodconvert_model_output
r""" Convert the model output to the corresponding type the UniPC algorithm needs. Args: model_output (`torch.Tensor`):
groot/vla/model/dreamzero/modules/flow_unipc_multistep_scheduler.py:241
↓ 1 callersFunctionconvert_state_dict_keys_to_single_str
(state_dict, with_shape=True)
groot/vla/model/dreamzero/modules/utils.py:148
↓ 1 callersFunctioncopy_non_leaf
Deepcopy the nested structure, but does NOT copy the leaf values like Tensors
groot/vla/common/utils/data_structure/tree_utils.py:55
↓ 1 callersFunctioncount_parameters
(model)
groot/vla/common/utils/misc/torch_utils.py:395
↓ 1 callersMethodcreate_data_collator
(self, cfg, model)
groot/vla/experiment/base.py:829
↓ 1 callersMethodcreate_model
(self, cfg, training_args)
groot/vla/experiment/base.py:738
↓ 1 callersMethodcreate_train_dataset
(self, cfg, model)
groot/vla/experiment/base.py:821
↓ 1 callersMethodcreate_trainer
( self, cfg, exp_cfg_dir, model, training_args, train_dataset,
groot/vla/experiment/base.py:832
↓ 1 callersMethodcreate_val_dataset
(self, cfg, model)
groot/vla/experiment/base.py:826
↓ 1 callersFunctioncustom_meshgrid
(*args)
groot/vla/model/dreamzero/modules/wan_video_camera_controller.py:109
↓ 1 callersMethoddelete_cached_shard
Delete the cached shard.
groot/vla/data/dataset/lerobot_sharded.py:259
↓ 1 callersFunctiondetect_features
Return categorised feature names from info.json.
scripts/data/convert_lerobot_to_gear.py:98
↓ 1 callersMethoddetect_padding
Detect padding in the image by finding non-black regions. Returns slices for the content region (y_slice, x_slice).
groot/vla/data/transform/video.py:700
↓ 1 callersFunctiondtype_from_string
(dtype_str)
groot/vla/experiment/utils.py:17
↓ 1 callersMethodenable_action_head_vram_management
Enable vram management for the action head model.
groot/vla/model/n1_5/sim_policy.py:196
↓ 1 callersFunctionenable_vram_management
(model: torch.nn.Module, module_map: dict, module_config: dict, max_num_param=None, overflow_module_config: di
groot/vla/model/dreamzero/modules/vram_management.py:210
↓ 1 callersFunctionenable_vram_management_recursively
(model: torch.nn.Module, module_map: dict, module_config: dict, max_num_param=None, overflow_module_config: di
groot/vla/model/dreamzero/modules/vram_management.py:191
↓ 1 callersFunctionencode_gripper_action_openvla
Match OpenVLA LIBERO action encoding: 0 = close, 1 = open. Raw LIBERO demos store the gripper command in the last action dimension with appro
scripts/data/convert_libero.py:182
↓ 1 callersFunctionencode_video
Encode a sequence of frames to a video file using PyAV.
scripts/data/convert_droid.py:129
↓ 1 callersMethodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:576
↓ 1 callersFunctionensure_libero_imports
(libero_root: Path)
eval_utils/diagnose_libero_fit.py:149
↓ 1 callersFunctionensure_libero_imports
(libero_root: Path)
eval_utils/replay_libero_dataset_actions.py:26
↓ 1 callersMethodensure_model_on_gpu
Ensure the model is loaded on GPU before inference.
groot/vla/model/n1_5/sim_policy.py:548
↓ 1 callersMethodeval_transform
(self)
groot/vla/data/transform/video.py:77
↓ 1 callersFunctionevaluate
(args)
scripts/open_loop_yam.py:232
↓ 1 callersFunctionextract_language
(demo_file: Path, data_group: h5py.Group)
eval_utils/diagnose_libero_fit.py:160
↓ 1 callersFunctionextract_language
(hdf5_path: Path, data_group: h5py.Group)
scripts/data/convert_libero.py:157
↓ 1 callersFunctionf_copy
Supports both dir and file. Supports glob wildcard.
groot/vla/common/utils/io/file_utils.py:306
↓ 1 callersFunctionf_copytree
(fsrc, fdst, symlinks=False, ignore=None, include=None, exist_ok=True)
groot/vla/common/utils/io/file_utils.py:415
↓ 1 callersFunctionf_remove
If exist, remove. Supports both dir and file. Supports glob wildcard.
groot/vla/common/utils/io/file_utils.py:282
↓ 1 callersMethodfilter
(self, record)
groot/vla/common/utils/io/print_utils.py:323
← previousnext →301–400 of 1,297, ranked by callers