MCPcopy Create free account

hub / github.com/RLinf/LaWAM / functions

Functions1,214 in github.com/RLinf/LaWAM

↓ 357 callersMethodget
Return attribute value if present, else default (dict-like API). Args: key: Attribute name. default: Fallbac
starVLA/model/framework/share_tools.py:23
↓ 213 callersMethodappend
Append value to list (only for ListConfig)
starVLA/training/trainer_utils/config_tracker.py:234
↓ 70 callersMethodkeys
Return config keys (required for dict unpacking) Tracks all keys as accessed. Only works for DictConfig.
starVLA/training/trainer_utils/config_tracker.py:144
↓ 62 callersMethoditems
Iterate (key, value) pairs like dict.items(). Returns: Generator[Tuple[str, Any], None, None]
starVLA/model/framework/share_tools.py:36
↓ 38 callersMethodpop
Remove and return a value
starVLA/training/trainer_utils/config_tracker.py:219
↓ 26 callersMethodcopy
Return a shallow copy (does not copy access tracking state)
starVLA/training/trainer_utils/config_tracker.py:260
↓ 20 callersMethodget
Get value with default fallback
starVLA/training/trainer_utils/config_tracker.py:173
↓ 18 callersFunction_build_composed_transform
Ensure state/action concat is always appended as the last transform.
starVLA/dataloader/gr00t_lerobot/data_config.py:40
↓ 17 callersFunction_latent_world_video_transforms
( video_keys: list[str], image_hw: tuple[int, int] | None, )
starVLA/dataloader/gr00t_lerobot/data_config.py:70
↓ 17 callersMethodeval
(self)
starVLA/dataloader/gr00t_lerobot/transform/base.py:83
↓ 15 callersMethodupdate
Update config with values from another dict/config
starVLA/training/trainer_utils/config_tracker.py:186
↓ 14 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0)
latent_action_model/core/utils/modules.py:136
↓ 14 callersFunctionrotate_queries_or_keys
(x, pos, omega: torch.Tensor = None)
latent_action_model/core/utils/modules.py:85
↓ 14 callersMethodvalues
Return config values (tracks all keys as accessed)
starVLA/training/trainer_utils/config_tracker.py:154
↓ 13 callersMethodclose
(self)
examples/Robotwin/eval_files/model2robotwin_interface.py:258
↓ 12 callersMethodencode
(self, images: torch.Tensor)
latent_action_model/core/utils/modules.py:756
↓ 12 callersMethodto_numpy
Convert tensor back to numpy array efficiently. Args: frames: tensor of shape [T, C, H, W] in range [0, 1] Returns:
starVLA/dataloader/gr00t_lerobot/transform/video.py:715
↓ 11 callersMethodsetdefault
Set default value if key doesn't exist
starVLA/training/trainer_utils/config_tracker.py:251
↓ 10 callersFunction_optional_loader
(class_name: str)
starVLA/model/framework/vlas/vlm_auto.py:18
↓ 10 callersMethodextend
Extend list with values (only for ListConfig)
starVLA/training/trainer_utils/config_tracker.py:242
↓ 10 callersMethodwrite
(self, data)
examples/Robotwin/eval_files/robotwin_batch_bridge.py:53
↓ 9 callersMethod_is_list_config
Check if underlying config is a ListConfig
starVLA/training/trainer_utils/config_tracker.py:27
↓ 9 callersMethodfrom_pretrained
Restore a model instance from a saved checkpoint. Workflow: 1. Resolve checkpoint path 2. Load config + data
starVLA/model/framework/base_framework.py:141
↓ 8 callersMethod_cast_if_needed
(x: torch.Tensor, target_dtype: torch.dtype)
starVLA/model/framework/vlas/flowmatching_expert.py:285
↓ 8 callersFunction_cfg_get
(data_cfg: Any, key: str, default: Any = None)
starVLA/dataloader/lerobot_datasets.py:28
↓ 8 callersMethod_send_json
(self, payload: dict[str, Any], status: HTTPStatus = HTTPStatus.OK)
deployment/model_server/server_policy_http_franka.py:584
↓ 8 callersMethoditems
Return config items (tracks all keys as accessed)
starVLA/training/trainer_utils/config_tracker.py:165
↓ 8 callersFunctionlog_line
(handle, text: str)
examples/Robotwin/eval_files/batched_eval_runner.py:90
↓ 7 callersMethod_bounded_indices
(dim: int, indices: tuple[int, ...] | list[int] | np.ndarray)
examples/Robotwin/starvla_policy/deploy_policy.py:205
↓ 7 callersMethod_bounded_indices
(dim: int, indices: tuple[int, ...] | list[int] | np.ndarray)
examples/Robotwin/eval_files/model2robotwin_interface.py:558
↓ 7 callersFunction_is_none_like
(value: Any)
examples/Robotwin/starvla_policy/deploy_policy.py:154
↓ 7 callersFunction_send_json
(conn: socket.socket, payload: dict[str, Any])
deployment/model_server/server_policy_tcp_fold_towel.py:86
↓ 7 callersMethod_send_json
( self, payload: dict[str, Any], status: HTTPStatus = HTTPStatus.OK )
deployment/model_server/server_policy_http_isaac_groot.py:330
↓ 7 callersMethoddecode
(self, latent: torch.Tensor)
latent_action_model/core/vjepa_encoder.py:551
↓ 7 callersMethodstep
( self, example: dict, step: int = 0, return_intermediates: bool = False,
examples/LIBERO/eval_files/model2libero_interface.py:128
↓ 6 callersMethod_compute_distance
( self, inputs: Tensor, codebook: Tensor, return_normed: bool = False, )
latent_action_model/core/vq.py:260
↓ 6 callersMethod_first_present
(payload: dict[str, Any], *keys: str)
deployment/model_server/server_policy_http_franka.py:199
↓ 6 callersFunction_get_nested_attr
(obj, path: str)
starVLA/model/framework/vlas/vlm_auto.py:191
↓ 6 callersMethod_send_json
(self, payload: dict[str, Any], status: HTTPStatus = HTTPStatus.OK)
deployment/model_server/server_policy_http_dataset_replay.py:144
↓ 6 callersMethoddeepcopy
Return a deep copy (does not copy access tracking state)
starVLA/training/trainer_utils/config_tracker.py:265
↓ 6 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) returns: (M, D)
latent_action_model/core/utils/pos_embs.py:179
↓ 6 callersFunctionread_mode_config
Load framework config and dataset normalization statistics for a saved checkpoint. Args: pretrained_checkpoint: Path to a .pt checkp
starVLA/model/tools.py:215
↓ 6 callersMethodreset
(self, task_description: Optional[str] = None)
examples/LIBERO/eval_files/model2libero_interface.py:485
↓ 6 callersFunctionsanitize_component
(value: str)
examples/Robotwin/eval_files/robotwin_eval_common.py:70
↓ 5 callersMethod__init__
(self, in_dim: int, hidden_dim: int)
starVLA/model/framework/vlas/flowmatching_expert.py:132
↓ 5 callersMethod__setattr__
(self, name: str, value: Any)
starVLA/training/trainer_utils/config_tracker.py:71
↓ 5 callersMethod_coerce_vector
(value: Any, *, field_name: str, expected_dim: int | None = None)
deployment/model_server/server_policy_http_franka.py:206
↓ 5 callersFunction_cuda_autocast
(dtype: torch.dtype)
starVLA/model/framework/vlas/lawam.py:231
↓ 5 callersMethod_fetch_hf_column
( self, column: str, abs_indices: list[int] | np.ndarray, )
starVLA/dataloader/gr00t_lerobot/datasets.py:1394
↓ 5 callersMethod_get_slot_state
(self, slot_id: int)
examples/Robotwin/eval_files/model2robotwin_interface.py:380
↓ 5 callersFunction_pack_worker_obs
(obs: dict[str, Any])
examples/LIBERO/eval_files/libero_eval_core.py:745
↓ 5 callersFunction_recv_exact
(conn: socket.socket, count: int)
deployment/model_server/server_policy_tcp_fold_towel.py:60
↓ 5 callersFunction_to_cpu_float_tensor
(value: np.ndarray | torch.Tensor, *, name: str)
examples/eval_utils/similarity_video.py:16
↓ 5 callersFunctioncombine_modality_stats
Combine statistics from all sub-keys under a modality. Args: modality_stats (dict): Statistics for a modality, containing multip
starVLA/dataloader/gr00t_lerobot/datasets.py:2265
↓ 5 callersFunctionlocked_task_scheduler_state
(run_dir: str | os.PathLike[str])
examples/Robotwin/eval_files/batched_eval_runner.py:244
↓ 5 callersFunctionnormalize_bool_env
(value: Any, default: bool = False)
examples/Robotwin/eval_files/robotwin_eval_common.py:116
↓ 5 callersFunctionresolve_task_scheduler_heartbeat_sec
()
examples/Robotwin/eval_files/batched_eval_runner.py:215
↓ 5 callersMethodset_epoch
Set the epoch for the dataset. Args: epoch (int): The epoch to set.
starVLA/dataloader/gr00t_lerobot/datasets.py:1202
↓ 5 callersMethodunwrap
Get the underlying OmegaConf object
starVLA/training/trainer_utils/config_tracker.py:292
↓ 5 callersFunctionwrite_json
(path: str | os.PathLike[str], payload: dict[str, Any])
examples/Robotwin/eval_files/robotwin_eval_common.py:110
↓ 4 callersMethod__init__
( self, num_attention_heads: int = 8, attention_head_dim: int = 64, output_dim
starVLA/model/framework/vlas/cross_attention_dit.py:226
↓ 4 callersMethod__init__
( self, codebook_size: int = 1024, code_dim: int = 128, discarding_threshold:
latent_action_model/core/vq.py:180
↓ 4 callersMethod_cache_dir_ready
(self, cache_dir: Path)
starVLA/dataloader/gr00t_lerobot/datasets.py:1962
↓ 4 callersFunction_cfg_get
(data_cfg, key, default=None)
starVLA/dataloader/__init__.py:16
↓ 4 callersFunction_collect_action_normalization_modes_from_transforms
(transforms: Any)
starVLA/dataloader/gr00t_lerobot/datasets.py:2303
↓ 4 callersFunction_configure_pyav_stream
Limit decoder threading to reduce host-memory spikes under many DataLoader workers.
starVLA/dataloader/gr00t_lerobot/video.py:49
↓ 4 callersMethod_get_slot_state
(self, slot_key: int)
examples/LIBERO/eval_files/model2libero_interface.py:258
↓ 4 callersMethod_is_global_zero
(self)
latent_action_model/core/lam_lightinng.py:163
↓ 4 callersFunction_log_suite_progress
( *, suite_name: str, completed_tasks: int, total_tasks: int, episode_results: list[Episod
examples/LIBERO/eval_files/libero_eval_core.py:729
↓ 4 callersFunction_require_pyav_backend
(video_backend: str)
starVLA/dataloader/gr00t_lerobot/video.py:26
↓ 4 callersMethod_set_curr_episode
Cache episode metadata to avoid repeated lookups on hot paths.
starVLA/dataloader/gr00t_lerobot/datasets.py:1381
↓ 4 callersMethod_summarize_spike_tensor
Summarize tensor scale with norm/value quantiles for spike debugging.
latent_action_model/core/lam_lightinng.py:250
↓ 4 callersFunctionbuild_run_group
(ckpt_alias: str, task_config: str)
examples/Robotwin/eval_files/robotwin_eval_common.py:217
↓ 4 callersFunctionbuild_run_tag
(default: str)
examples/Robotwin/eval_files/robotwin_eval_common.py:221
↓ 4 callersMethodclose
(self)
examples/LIBERO/eval_files/model2libero_interface.py:116
↓ 4 callersFunctionderive_ckpt_alias
(ckpt_path: str | os.PathLike[str])
examples/Robotwin/eval_files/robotwin_eval_common.py:76
↓ 4 callersFunctionget_embodiment_file
(embodiment_name: str)
examples/Robotwin/eval_files/robotwin_batch_bridge.py:201
↓ 4 callersMethodget_root
Get root config object
starVLA/training/trainer_utils/config_tracker.py:296
↓ 4 callersFunctionget_used_modality_keys
Extract used action and state keys from modality configuration.
starVLA/dataloader/gr00t_lerobot/datasets.py:2374
↓ 4 callersMethodget_video_path
(self, trajectory_id: int, key: str)
starVLA/dataloader/gr00t_lerobot/datasets.py:1507
↓ 4 callersFunctioninitialize_overwatch
(name: str)
starVLA/training/trainer_utils/overwatch.py:147
↓ 4 callersFunctionissue_try_seed
(slot_id: int)
examples/Robotwin/eval_files/robotwin_batch_bridge.py:677
↓ 4 callersMethodmodality_config
(self)
starVLA/dataloader/gr00t_lerobot/data_config.py:879
↓ 4 callersMethodneeds_query
(self)
examples/Robotwin/eval_files/model2robotwin_interface.py:159
↓ 4 callersMethodreset
(self, task_description: str | None = None)
examples/Robotwin/eval_files/model2robotwin_interface.py:152
↓ 4 callersFunctionretire_slot
(slot_id: int, *, reject_candidate: bool = False)
examples/Robotwin/eval_files/robotwin_batch_bridge.py:660
↓ 4 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.
starVLA/dataloader/gr00t_lerobot/datasets.py:1198
↓ 4 callersMethodtrain
execute training loop
starVLA/training/train_starvla.py:415
↓ 4 callersMethodtransform
(self, *, image_hw: tuple[int, int] | None = None)
starVLA/dataloader/gr00t_lerobot/data_config.py:904
↓ 3 callersFunction_assign_idle_slots
()
examples/LIBERO/eval_files/libero_eval_core.py:1192
↓ 3 callersMethod_build_1d_pos_embed
(self, dim: int, length: int)
latent_action_model/core/utils/pos_embs.py:55
↓ 3 callersFunction_close_env
()
examples/LIBERO/eval_files/libero_eval_core.py:853
↓ 3 callersFunction_completed_tasks
()
examples/LIBERO/eval_files/libero_eval_core.py:1189
↓ 3 callersMethod_compute_avg_unique_codes
(self, min_indices: Tensor)
latent_action_model/core/vq.py:441
↓ 3 callersMethod_compute_batch_perplexity
(self, min_indices: Tensor)
latent_action_model/core/vq.py:430
↓ 3 callersFunction_concat_replay_panels
( primary_img: np.ndarray, wrist_img: np.ndarray | None, similarity_img: np.ndarray | None = None,
examples/LIBERO/eval_files/libero_eval_core.py:155
↓ 3 callersMethod_create_rng
(self, index: int, salt: str = "")
starVLA/dataloader/gr00t_lerobot/datasets.py:2580
↓ 3 callersMethod_init_ema_from_codebooks
Seed EMA statistics from current codebooks.
latent_action_model/core/vq.py:765
↓ 3 callersMethod_is_global_zero
(trainer)
latent_action_model/core/lam_lightinng.py:1014
↓ 3 callersFunction_is_task_completed
( run_dir: str | os.PathLike[str], task_name: str, *, expected_num_episodes: int | None = None
examples/Robotwin/eval_files/batched_eval_runner.py:295
next →1–100 of 1,214, ranked by callers