MCPcopy Create free account

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

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

↓ 2 callersMethodlazy_joint_video_action
( self, inputs: dict, )
groot/vla/model/dreamzero/base_vla.py:171
↓ 2 callersFunctionload_init_states
Load LIBERO init states compatibly across PyTorch versions.
eval_utils/run_libero_eval.py:200
↓ 2 callersFunctionload_initial_actions
initial_actions: list[dict[str, dict[str, np.ndarray]]] 0: (the first dataset) trajectory_name: action_key: act
groot/vla/data/conversion/gr1/get_initial_actions.py:88
↓ 2 callersMethodload_lora
( cls, pretrained_model_name_or_path: str, config: VLAConfig | None = None, )
groot/vla/model/dreamzero/base_vla.py:339
↓ 2 callersMethodload_lora_weight
Load only LoRA weights from a pretrained model without loading config.
groot/vla/model/dreamzero/base_vla.py:419
↓ 2 callersFunctionload_loss_log
(path)
scripts/compare_loss.py:15
↓ 2 callersMethodload_models_to_device
(self, loadmodel_names=[])
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:475
↓ 2 callersFunctionmain
( src_path: str, tgt_path: str, task_id: int = None, repo_id: str = None, task_info_json:
scripts/data/convert_agibot.py:974
↓ 2 callersFunctionmake_rollout_frame
(obs: dict)
eval_utils/replay_libero_dataset_actions.py:32
↓ 2 callersFunctionmodulate
(x: torch.Tensor, shift: torch.Tensor, scale: torch.Tensor)
groot/vla/model/dreamzero/modules/wan_video_dit.py:76
↓ 2 callersMethodoffload_action_head_components
Offload action head components to CPU.
groot/vla/model/n1_5/sim_policy.py:151
↓ 2 callersFunctionpack_kwargs
Pack **kwargs or a single dict arg as dict def f(*args, **kwargs): kwdict = pack_kwargs(args, kwargs) # kwdict is now packed
groot/vla/common/utils/misc/functional_utils.py:407
↓ 2 callersFunctionpack_varargs
Pack *args or a single list arg as list def f(*args): arg_list = pack_varargs(args) # arg_list is now packed as a list
groot/vla/common/utils/misc/functional_utils.py:363
↓ 2 callersFunctionparse_key_mapping
Parse a JSON string like '{"joint_pos": [0, 6], "gripper": [6, 7]}'.
scripts/data/convert_lerobot_to_gear.py:114
↓ 2 callersMethodreset
(self, payload: dict)
eval_utils/run_libero_server.py:74
↓ 2 callersMethodreset
(self)
eval_utils/run_libero_eval.py:97
↓ 2 callersFunctionreset_env
(env)
eval_utils/diagnose_libero_fit.py:630
↓ 2 callersFunctionrope_apply
(x, freqs, num_heads)
groot/vla/model/dreamzero/modules/wan_video_dit.py:143
↓ 2 callersFunctionrope_apply
(x, grid_sizes, freqs)
groot/vla/model/dreamzero/modules/wan2_1_submodule.py:57
↓ 2 callersMethodrun
(self)
eval_utils/policy_server.py:74
↓ 2 callersMethodrun
(self)
eval_utils/run_libero_server.py:277
↓ 2 callersMethodsave_episode
We rewrite this method to copy mp4 videos to the target position
scripts/data/convert_agibot.py:447
↓ 2 callersFunctionsearch_parameter
(param, state_dict)
groot/vla/model/dreamzero/modules/utils.py:101
↓ 2 callersMethodserve_forever
(self, rank: int = 0)
socket_test_optimized_AR.py:496
↓ 2 callersMethodserve_forever
(self)
eval_utils/policy_server.py:71
↓ 2 callersMethodserve_forever
(self)
eval_utils/run_libero_server.py:274
↓ 2 callersMethodset_frozen_modules_to_eval_mode
Huggingface will call model.train() at each training_step. To ensure the expected behaviors for modules like dropout, batchnorm, etc.
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:439
↓ 2 callersMethodset_per_horizon_statistics
Set per-horizon statistics for transforms that support it (e.g., PerHorizonActionTransform). Args: per_horizon_stats: Dic
groot/vla/data/transform/base.py:119
↓ 2 callersFunctionset_requires_grad
(model, requires_grad)
groot/vla/common/utils/misc/torch_utils.py:268
↓ 2 callersMethodset_timesteps
(self, num_inference_steps=100, denoising_strength=1.0, training=False, shift=None)
groot/vla/model/dreamzero/modules/flow_match_scheduler.py:18
↓ 2 callersMethodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
groot/vla/model/dreamzero/modules/flow_unipc_multistep_scheduler.py:129
↓ 2 callersMethodset_transforms_metadata
Set the metadata for the transforms. This is useful for transforms that need to know the metadata, such as the normalization values.
groot/vla/data/dataset/lerobot.py:1251
↓ 2 callersFunctionstack_recent_buffer
(frames: list[np.ndarray], history_frames: int)
eval_utils/diagnose_libero_fit.py:232
↓ 2 callersFunctionsummarize_offline_trace
(trace: list[dict[str, float | int]])
eval_utils/diagnose_libero_fit.py:320
↓ 2 callersFunctionswish
(x)
groot/vla/model/n1_5/modules/action_encoder.py:6
↓ 2 callersFunctiontf_img_convert
(img)
scripts/data/convert_droid.py:76
↓ 2 callersFunctionto_image
Returns: numpy image of shape [H, W, C] in "auto" mode, we assume C == 3
groot/vla/common/utils/misc/image_utils.py:23
↓ 2 callersMethodtokenizer
(self)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:261
↓ 2 callersMethodtrain
(self)
groot/vla/data/transform/base.py:66
↓ 2 callersMethodtraining_target
(self, sample, noise, timestep)
groot/vla/model/dreamzero/modules/flow_match_scheduler.py:83
↓ 2 callersMethodtraining_weight
(self, timestep)
groot/vla/model/dreamzero/modules/flow_match_scheduler.py:88
↓ 2 callersFunctiontree_value_at_path
(obj, paths: Tuple)
groot/vla/common/utils/data_structure/tree_utils.py:36
↓ 2 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (Tensor): Patchified features, with shape [
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:2127
↓ 2 callersMethodvar
(self)
groot/vla/common/utils/misc/torch_utils.py:662
↓ 2 callersFunctionwrite_jsonl
(path: Path, rows: list[dict])
eval_utils/diagnose_libero_fit.py:727
↓ 2 callersFunctionwrite_rollout_video
(frames: list[np.ndarray], output_path: Path, fps: int = 20)
eval_utils/run_libero_eval.py:222
↓ 2 callersFunctionwrite_video_clip
(frames: np.ndarray, output_path: Path, fps: int = 20)
eval_utils/run_libero_eval.py:227
↓ 1 callersFunctionRotaryPositionEmbedding
(num_heads, head_dim)
groot/vla/model/dreamzero/modules/wan_video_dit.py:136
↓ 1 callersMethod__enter__
(self)
groot/vla/utils/timer.py:16
↓ 1 callersMethod__exit__
(self, exc_type, exc_value, traceback)
groot/vla/utils/timer.py:21
↓ 1 callersMethod__init__
(self, action_dim, hidden_size)
groot/vla/model/n1_5/modules/action_encoder.py:44
↓ 1 callersMethod__init__
( self, config: VLAConfig, )
groot/vla/model/dreamzero/base_vla.py:55
↓ 1 callersMethod__init__
( self, softmax_scale: float, attention_dropout: float = 0.0, deterministic: b
groot/vla/model/dreamzero/modules/cudnn_attention.py:155
↓ 1 callersMethod__init__
( self, config: WANPolicyHeadConfig, )
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:160
↓ 1 callersMethod__init__
(self, **kwargs)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:251
↓ 1 callersMethod__init__
Initialize the dataset. Args: dataset_path (Path | str): The path to the dataset. modality_configs (dict[str
groot/vla/data/dataset/lerobot.py:122
↓ 1 callersMethod__init__
(self, *models)
groot/vla/common/utils/misc/torch_utils.py:138
↓ 1 callersMethod__init__
(self, data_source: Dataset, shuffle: bool = False, seed: int = 0)
groot/vla/experiment/base.py:327
↓ 1 callersMethod__init__
(self, **kwargs)
groot/vla/experiment/experiment.py:25
↓ 1 callersMethod_apply_vlm_processing
Args: batch: video: [V, T, C, H, W] Returns: required input with the format `BatchFeature`
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:313
↓ 1 callersMethod_broadcast_batch_to_workers
Broadcast batch data from rank 0 to all other ranks.
socket_test_optimized_AR.py:229
↓ 1 callersMethod_broadcast_batch_to_workers
Broadcast batch data from rank 0 to all other ranks.
socket_test_optimized_AR.py:569
↓ 1 callersMethod_calculate_relative_stats_for_key
Calculate relative action statistics for a specific action key. Args: action_key: The action key to calculate stats for (
groot/vla/data/dataset/lerobot.py:613
↓ 1 callersMethod_check_integrity
Use the config to check if the keys are valid and detect silent data corruption.
groot/vla/data/dataset/lerobot.py:1227
↓ 1 callersMethod_clean
(self, text)
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:76
↓ 1 callersFunction_clip
(pretrained=False, pretrained_name=None, model_cls=CLIP, return_transforms=False
groot/vla/model/dreamzero/modules/wan_video_image_encoder.py:742
↓ 1 callersMethod_convert_action
Convert AR_droid action dict to roboarena action array. AR_droid format: - action.joint_position: (N, 7) - ac
socket_test_optimized_AR.py:178
↓ 1 callersMethod_convert_observation
Convert roboarena observation format to AR_droid format. Roboarena format: - observation/exterior_image_0_left: (H, W, 3)
socket_test_optimized_AR.py:87
↓ 1 callersMethod_convert_to_relative_action
Convert absolute action to relative action by subtracting reference state. Args: action_data: Absolute action data, shape
groot/vla/data/dataset/lerobot_sharded.py:1057
↓ 1 callersMethod_create_crossattn_caches
Initialize a Per-GPU cross-attention cache for the Wan model.
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:531
↓ 1 callersMethod_create_kv_caches
Initialize a Per-GPU KV cache for the Wan model.
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:509
↓ 1 callersMethod_distributed_infer
(self, payload: dict)
eval_utils/run_libero_server.py:322
↓ 1 callersMethod_distributed_reset
(self, payload: dict)
eval_utils/run_libero_server.py:316
↓ 1 callersMethod_exchange_predictions
( self, predictions: list[tuple[torch.Tensor, torch.Tensor]], )
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:903
↓ 1 callersFunction_expand
(x)
groot/vla/common/utils/data_structure/shape_utils.py:39
↓ 1 callersFunction_extract_all_frames_ffmpeg
Extract all frames and their timestamps using ffmpeg.
groot/vla/common/utils/misc/video_utils.py:142
↓ 1 callersFunction_extract_frames_at_timestamps_ffmpeg
Extract frames at specific timestamps using ffmpeg.
groot/vla/common/utils/misc/video_utils.py:123
↓ 1 callersFunction_f_copytree
Copied from python standard lib shutil.copytree except that we allow exist_ok Use f_copytree as entry
groot/vla/common/utils/io/file_utils.py:325
↓ 1 callersMethod_format_actions
(self, action_dict)
eval_utils/run_libero_server.py:179
↓ 1 callersMethod_forward_blocks
r""" Forward pass through the diffusion model blocks.
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:1691
↓ 1 callersMethod_forward_train
r""" Forward pass through the diffusion model Args: x (List[Tensor]): List of input video tensors, each w
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:1952
↓ 1 callersMethod_get_all_steps
Get the trajectory IDs and base indices for all steps in the dataset. Returns: list[tuple[int, int]]: A list of (trajectory_id, b
groot/vla/data/dataset/lerobot.py:1135
↓ 1 callersMethod_get_chunk_size
Get the chunk size for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:1195
↓ 1 callersMethod_get_data_path_pattern
Get the data path pattern for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:1187
↓ 1 callersMethod_get_delta_indices
Restructure the delta indices to use modality.key as keys instead of just the modalities.
groot/vla/data/dataset/lerobot.py:1179
↓ 1 callersMethod_get_detailed_global_instructions
Get the detailed global instructions for the dataset. Loads from episodes_detail_global_instruction.jsonl if it exists.
groot/vla/data/dataset/lerobot.py:1212
↓ 1 callersFunction_get_instantiate_params
(cfg, kwargs=None)
groot/vla/common/utils/io/config_utils.py:186
↓ 1 callersMethod_get_language_from_metadata
Get language instruction from metadata files for special language keys. Supports: - detailed_global_instruction_medium: Longe
groot/vla/data/dataset/lerobot.py:1701
↓ 1 callersMethod_get_lerobot_info_meta
Get the metadata for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:408
↓ 1 callersMethod_get_lerobot_modality_meta
Get the metadata for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:381
↓ 1 callersMethod_get_lerobot_relative_horizon_stats_meta
Get the per-horizon relative action stats metadata for the LeRobot dataset. Similar to _get_lerobot_relative_stats_meta but calculate
groot/vla/data/dataset/lerobot.py:535
↓ 1 callersMethod_get_lerobot_relative_stats_meta
Get the relative action stats metadata for the LeRobot dataset. Returns: dict[str, DatasetStatisticalValues]: Dictionary
groot/vla/data/dataset/lerobot.py:459
↓ 1 callersMethod_get_lerobot_stats_meta
Get the metadata for the LeRobot dataset.
groot/vla/data/dataset/lerobot.py:415
↓ 1 callersMethod_get_max_delta_index
Calculate the maximum delta index across all modalities. Returns: int: The maximum delta index value.
groot/vla/data/dataset/lerobot.py:307
↓ 1 callersMethod_get_metadata
Get the metadata for the dataset. Returns: dict: The metadata for the dataset.
groot/vla/data/dataset/lerobot.py:994
↓ 1 callersMethod_get_modality_keys
Get the modality keys for the dataset. Returns: dict: Dictionary mapping modality names to their keys.
groot/vla/data/dataset/lerobot.py:1168
↓ 1 callersMethod_get_step_filter
Get the step filter for the dataset.
groot/vla/data/dataset/lerobot.py:975
↓ 1 callersMethod_get_target_rotations_from_pipeline
Extract target_rotations from StateActionTransform instances in the pipeline.
groot/vla/data/transform/concat.py:76
↓ 1 callersMethod_get_tasks
Get the tasks for the dataset.
groot/vla/data/dataset/lerobot.py:1199
↓ 1 callersMethod_get_trajectories
Get the trajectories in the dataset.
groot/vla/data/dataset/lerobot.py:1122
← previousnext →201–300 of 1,297, ranked by callers