MCPcopy Create free account

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

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

↓ 1 callersMethodfilter_shards_sample_schedule
Filter the shards sample schedule for each worker. Returns: list[tuple[int, int]]: The shards to sample, in (dataset_index, shard
groot/vla/data/dataset/lerobot_sharded.py:1433
↓ 1 callersMethodfinish_cache_shard
Get the cached shard.
groot/vla/data/dataset/lerobot_sharded.py:251
↓ 1 callersFunctionflash_attention
q: [B, Lq, Nq, C1]. k: [B, Lk, Nk, C1]. v: [B, Lk, Nk, C2]. Nq must be divisible by Nk. q_lens
groot/vla/model/dreamzero/modules/wan2_1_attention.py:38
↓ 1 callersFunctionformalize_language
1. Force lowercase 2. Remove all punctuations
groot/vla/model/dreamzero/transform/common.py:8
↓ 1 callersFunctionformat_param_count
Format the count as a string in millions, e.g. 11M or 5.5M.
groot/vla/experiment/utils.py:132
↓ 1 callersMethodforward
(self, backbone_output: BatchFeature, action_input: BatchFeature)
groot/vla/model/n1_5/action_head/base_action_head.py:12
↓ 1 callersMethodforward
( self, inputs: dict, )
groot/vla/model/dreamzero/base_vla.py:140
↓ 1 callersMethodfp8_linear
( self, input: torch.Tensor, weight: torch.Tensor, bias: torch.Tensor | None =
groot/vla/model/dreamzero/modules/vram_management.py:115
↓ 1 callersFunctionfstring
Simulate python f-string but without `f`
groot/vla/common/utils/io/file_utils.py:588
↓ 1 callersFunctionfunc_parameters
(func)
groot/vla/common/utils/misc/functional_utils.py:355
↓ 1 callersFunctionfused_attn
( is_training: bool, max_seqlen_q: int, max_seqlen_kv: int, cu_seqlens_q: torch.Tensor, cu
groot/vla/model/dreamzero/modules/cudnn_attention.py:234
↓ 1 callersFunctionfused_attn_bwd_op
( max_seqlen_q: int, max_seqlen_kv: int, attn_scale: float, dropout: float, fast_zero_fill
groot/vla/model/dreamzero/modules/cudnn_attention.py:428
↓ 1 callersFunctiongenerate_camera_coordinates
( direction: Literal["Left", "Right", "Up", "Down", "LeftUp", "LeftDown", "RightUp", "RightDown"], len
groot/vla/model/dreamzero/modules/wan_video_camera_controller.py:184
↓ 1 callersFunctiongenerate_modality_json
Generate modality.json file defining field mappings for the dataset.
scripts/data/convert_agibot.py:29
↓ 1 callersMethodgenerate_shards
Generate shards of trajectories. We recommend num_steps_per_shard >> average trajectory length. Args: num_steps_per_shard (int):
groot/vla/data/dataset/lerobot_sharded.py:83
↓ 1 callersMethodgenerate_shards
Generate shards of trajectories. We recommend num_steps_per_shard >> average trajectory length. Args: num_steps_per_shard (int):
groot/vla/data/dataset/lerobot_sharded.py:397
↓ 1 callersMethodget_action
(self, idx)
scripts/open_loop_yam.py:115
↓ 1 callersMethodget_action
Get the action data for a trajectory by a base index. If the step indices are out of range, pad with the data: if the data is stor
groot/vla/data/dataset/lerobot_sharded.py:858
↓ 1 callersMethodget_action_values
( self, batch: Batch, actions: torch.Tensor, inference_batch_size: int = 1 )
groot/vla/model/n1_5/sim_policy.py:1207
↓ 1 callersFunctionget_all_frames
Get all frames from a video. Returns: tuple[np.ndarray, np.ndarray]: Frames and timestamps.
groot/vla/common/utils/misc/video_utils.py:393
↓ 1 callersMethodget_all_frames_to_load
Generate a map of video frame indices to trajectory indices.
groot/vla/data/dataset/lerobot_sharded.py:136
↓ 1 callersMethodget_all_parquet_paths
Get the parquet paths for all trajectories. Returns: dict[int, Path]: The parquet paths for all trajectories.
groot/vla/data/dataset/lerobot_sharded.py:72
↓ 1 callersMethodget_all_parquet_paths
Get the parquet paths for all trajectories. Returns: dict[int, Path]: The parquet paths for all trajectories.
groot/vla/data/dataset/lerobot_sharded.py:386
↓ 1 callersMethodget_all_video_paths
Get the video paths for all trajectories and all views. Returns: dict[int, dict[str, Path]]: The video paths for all trajectories
groot/vla/data/dataset/lerobot_sharded.py:51
↓ 1 callersMethodget_all_video_paths
Get the video paths for all trajectories and all views. Returns: dict[int, dict[str, Path]]: The video paths for all trajectories
groot/vla/data/dataset/lerobot_sharded.py:365
↓ 1 callersFunctionget_batch_size
Args: x: can be any arbitrary nested structure of np array and torch tensor strict: True to check all batch sizes are the same
groot/vla/common/utils/misc/array_tensor_utils.py:192
↓ 1 callersFunctionget_checkpoint_path
(output_dir: str, checkpoint_prefix: str = "checkpoint")
groot/vla/experiment/utils.py:53
↓ 1 callersFunctionget_class
First try to find the class in the registry first, if it doesn't exist, use importlib to locate it
groot/vla/common/utils/io/config_utils.py:155
↓ 1 callersFunctionget_class
(cls, name)
groot/vla/common/utils/misc/functional_utils.py:280
↓ 1 callersMethodget_data_by_modality
Get the data corresponding to the modality for a trajectory by step indices. This method dispatches to the appropriate specialized method bas
groot/vla/data/dataset/lerobot.py:1765
↓ 1 callersMethodget_data_by_modality
Get the data corresponding to the modality for a trajectory by step indices. This method dispatches to the appropriate specialized method bas
groot/vla/data/dataset/lerobot_sharded.py:651
↓ 1 callersFunctionget_demo_groups
(hdf5_file: h5py.File)
scripts/data/convert_libero.py:152
↓ 1 callersMethodget_embodiment_tag
Get the embodiment tag from the data.
groot/vla/model/dreamzero/transform/dreamzero_cotrain.py:269
↓ 1 callersMethodget_frame
Read one video frame → (H, W, 3) uint8 RGB.
scripts/open_loop_yam.py:126
↓ 1 callersFunctionget_gt_action_dict
Split the flat GT action vector into per-key arrays.
scripts/open_loop_yam.py:160
↓ 1 callersFunctionget_initial_actions_from_lerobot
(data_dir: str | Path)
groot/vla/data/conversion/gr1/get_initial_actions.py:41
↓ 1 callersMethodget_language
( self, inputs: dict, )
groot/vla/model/dreamzero/base_vla.py:226
↓ 1 callersFunctionget_parquet_paths
(dataset_path: Path, info: dict)
scripts/data/convert_lerobot_to_gear.py:85
↓ 1 callersFunctionget_relative_pose
Copied from https://github.com/hehao13/CameraCtrl/blob/main/inference.py
groot/vla/model/dreamzero/modules/wan_video_camera_controller.py:92
↓ 1 callersFunctionget_seed
Args: seed: "system": use scrambled int based on system time None or int < 0: invalid seed values, see `handle_invalid_seed
groot/vla/common/utils/misc/torch_utils.py:34
↓ 1 callersMethodget_server_metadata
(self)
eval_utils/policy_client.py:36
↓ 1 callersMethodget_state
Get the state data for a trajectory by a base index. If the step indices are out of range, pad with the data: if the data is store
groot/vla/data/dataset/lerobot_sharded.py:690
↓ 1 callersMethodget_state_or_action
Get the state or action data for a trajectory by a base index. If the step indices are out of range, pad with the data: if the dat
groot/vla/data/dataset/lerobot.py:1493
↓ 1 callersFunctionget_stats_einops_patterns
These einops patterns will be used to aggregate batches and compute statistics. Note: We assume the images are in channel first format
scripts/data/convert_agibot.py:283
↓ 1 callersMethodget_step_data
Get the RAW data for a single step in a trajectory. No transforms are applied. Args: trajectory_id (int): The name of the traject
groot/vla/data/dataset/lerobot_sharded.py:541
↓ 1 callersFunctionget_task_instruction_new_format
Get task language instruction from new format - use first episode's data_info.json
scripts/data/convert_agibot.py:873
↓ 1 callersFunctionget_task_instruction_old_format
Get task language instruction from old format
scripts/data/convert_agibot.py:862
↓ 1 callersMethodget_train_dataloader
Returns the training [`~torch.utils.data.DataLoader`]. Will use no sampler if `train_dataset` does not implement `__len__`, a random
groot/vla/experiment/base.py:563
↓ 1 callersMethodget_trajectories_in_shard
Get the trajectories in a shard.
groot/vla/data/dataset/lerobot_sharded.py:265
↓ 1 callersMethodget_trajectory_data
Get the data for a trajectory.
groot/vla/data/dataset/lerobot.py:1340
↓ 1 callersMethodget_video
Get the video frames for a trajectory by a base index. Args: dataset (BaseSingleDataset): The dataset to retrieve the data from.
groot/vla/data/dataset/lerobot.py:1441
↓ 1 callersMethodget_video
Get the video frames from cached shards for a trajectory by uniformly sampling from language-consistent ranges. Args: trajectory_
groot/vla/data/dataset/lerobot_sharded.py:583
↓ 1 callersFunctionhf_download
Download a file from the Wan2.1-I2V-14B-480P HuggingFace repo to HF cache.
groot/vla/model/dreamzero/action_head/wan_flow_matching_action_tf.py:26
↓ 1 callersFunctionhost_name
Get host name, alias with ``socket.gethostname()``
groot/vla/common/utils/io/file_utils.py:93
↓ 1 callersFunctionimplements_state_dict
(object, requires_load_method: bool = False)
groot/vla/common/utils/misc/torch_utils.py:302
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps)
groot/vla/model/dreamzero/modules/flow_unipc_multistep_scheduler.py:523
↓ 1 callersMethodinfer
Infer the next action from the policy in a server-client setup
eval_utils/run_sim_eval.py:68
↓ 1 callersMethodinfer
(self, obs: dict)
eval_utils/run_libero_eval.py:55
↓ 1 callersFunctioninfer_demo_id
(trace_file: Path)
eval_utils/visualize_libero_teacher_forced_trace.py:28
↓ 1 callersFunctioninfer_task_id
(benchmark, demo_file: Path)
eval_utils/diagnose_libero_fit.py:179
↓ 1 callersFunctioninfer_task_id
(benchmark, demo_file: Path)
eval_utils/replay_libero_dataset_actions.py:84
↓ 1 callersFunctioninit_mesh
()
socket_test_optimized_AR.py:752
↓ 1 callersFunctioninit_runtime
(device_arg: str, timeout_seconds: int)
eval_utils/run_libero_server.py:409
↓ 1 callersFunctioninit_runtime
Initialize distributed runtime for single-process or torchrun execution.
eval_utils/diagnose_libero_fit.py:739
↓ 1 callersMethodinit_weights
(self)
groot/vla/model/dreamzero/modules/wan_video_image_encoder.py:586
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
groot/vla/model/dreamzero/modules/wan_video_dit_action_casual_chunk.py:2176
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
groot/vla/model/dreamzero/modules/wan2_1_submodule.py:882
↓ 1 callersFunctionis_abs_path
(*fpath)
groot/vla/common/utils/io/file_utils.py:237
↓ 1 callersFunctionis_hopper_gpu
()
groot/vla/model/dreamzero/modules/wan2_1_attention.py:13
↓ 1 callersMethodjoint_video_action
( self, inputs: dict, )
groot/vla/model/dreamzero/base_vla.py:161
↓ 1 callersFunctionjson_dump
(data, *file_path, convert_to_primitive=False, **kwargs)
groot/vla/common/utils/io/json_utils.py:80
↓ 1 callersFunctionjson_dumps
Returns: string
groot/vla/common/utils/io/json_utils.py:88
↓ 1 callersFunctionjson_load
(*file_path, **kwargs)
groot/vla/common/utils/io/json_utils.py:48
↓ 1 callersFunctionjsonl_load
(*file_path, **kwargs)
groot/vla/common/utils/io/json_utils.py:58
↓ 1 callersMethodlazy_joint_video_action_causal
( self, inputs: dict, latent_video: torch.Tensor | None = None, )
groot/vla/model/dreamzero/base_vla.py:181
↓ 1 callersMethodlazy_joint_video_action_causal_gt_cond
( self, inputs: dict, latent_video: torch.Tensor | None = None, )
groot/vla/model/dreamzero/base_vla.py:192
↓ 1 callersMethodlazy_joint_video_action_efficient
( self, inputs: dict, prompt_embs: torch.Tensor | None = None, prompt_emb_nega
groot/vla/model/dreamzero/base_vla.py:204
↓ 1 callersFunctionload_all_frames
Load all frames from a video file. Returns (N, H, W, 3) uint8 array (RGB).
test_client_AR.py:56
↓ 1 callersFunctionload_camera_frames
Load all video frames for each camera from the debug_image/ directory. Returns: Dict mapping roboarena camera keys to (N, H, W, 3) uint8
test_client_AR.py:71
↓ 1 callersFunctionload_info
(dataset_path: Path)
scripts/data/convert_lerobot_to_gear.py:76
↓ 1 callersFunctionload_local_dataset_new_format
Load local dataset from new format and return a dict with observations and actions
scripts/data/convert_agibot.py:716
↓ 1 callersFunctionload_local_dataset_old_format
Load local dataset from old format and return a dict with observations and actions
scripts/data/convert_agibot.py:615
↓ 1 callersFunctionload_state_dict
(file_path, torch_dtype=None, device="cpu")
groot/vla/model/dreamzero/modules/utils.py:65
↓ 1 callersFunctionload_state_dict_from_bin
(file_path, torch_dtype=None, device="cpu")
groot/vla/model/dreamzero/modules/utils.py:82
↓ 1 callersFunctionload_state_dict_from_safetensors
(file_path, torch_dtype=None, device="cpu")
groot/vla/model/dreamzero/modules/utils.py:72
↓ 1 callersFunctionload_text
(*fpaths, by_lines=False)
groot/vla/common/utils/io/file_utils.py:643
↓ 1 callersMethodload_to_gpu
Load the model to GPU for inference.
groot/vla/model/n1_5/sim_policy.py:532
↓ 1 callersFunctionload_trace
(path: Path)
eval_utils/visualize_libero_teacher_forced_trace.py:35
↓ 1 callersMethodload_vlm_model
Load VLM model to GPU and keep it there.
groot/vla/model/n1_5/sim_policy.py:93
↓ 1 callersFunctionmain
(args: Args)
socket_test_optimized_AR.py:778
↓ 1 callersFunctionmain
()
test_client_AR.py:291
↓ 1 callersFunctionmain
()
eval_utils/run_libero_goal_drawer_bowl_eval.py:88
↓ 1 callersFunctionmain
()
eval_utils/visualize_libero_teacher_forced_trace.py:155
↓ 1 callersFunctionmain
()
eval_utils/run_libero_server.py:443
↓ 1 callersFunctionmain
()
eval_utils/diagnose_libero_fit.py:788
↓ 1 callersFunctionmain
()
eval_utils/run_libero_eval.py:307
↓ 1 callersFunctionmain
()
eval_utils/replay_libero_dataset_actions.py:129
↓ 1 callersFunctionmain
()
scripts/compare_loss.py:91
↓ 1 callersFunctionmain
()
scripts/open_loop_yam.py:329
↓ 1 callersFunctionmain
()
scripts/data/convert_lerobot_to_gear.py:415
← previousnext →401–500 of 1,297, ranked by callers