MCPcopy Create free account

hub / github.com/RoboTwin-Platform/RoboTwin / functions

Functions4,415 in github.com/RoboTwin-Platform/RoboTwin

↓ 3 callersMethodget_reward
(self)
policy/openvla-oft/experiments/robot/aloha/real_env.py:120
↓ 3 callersMethodget_server_metadata
(self)
policy/pi0/packages/openpi-client/src/openpi_client/websocket_client_policy.py:23
↓ 3 callersMethodget_server_metadata
(self)
policy/pi05/packages/openpi-client/src/openpi_client/websocket_client_policy.py:23
↓ 3 callersMethodget_statistics
Compute and return the statistics of the vectors processed so far. Returns: dict: A dictionary containing the computed s
policy/pi0/src/openpi/shared/normalize.py:77
↓ 3 callersMethodget_status
(self, loss: Optional[torch.Tensor] = None)
policy/openvla-oft/prismatic/training/metrics.py:145
↓ 3 callersMethodget_vision_tower
(self)
policy/LLaVA-VLA/llava/model/llava_arch.py:139
↓ 3 callersFunctionget_vla
Load and initialize the VLA model from checkpoint. Args: cfg: Configuration object Returns: torch.nn.Module: The initia
policy/openvla-oft/experiments/robot/openvla_utils.py:253
↓ 3 callersFunctionget_vla_action
Generate action predictions with the VLA policy. Args: cfg: Configuration object with parameters vla: The VLA model
policy/openvla-oft/experiments/robot/openvla_utils.py:715
↓ 3 callersFunctionimages_encoding
(imgs)
policy/pi0/scripts/process_data.py:33
↓ 3 callersFunctionimages_encoding
(imgs)
policy/RDT/scripts/process_data.py:36
↓ 3 callersFunctionimages_encoding
(imgs)
policy/GO1/scripts/process_data.py:31
↓ 3 callersFunctionimages_encoding
(imgs)
policy/pi05/scripts/process_data.py:33
↓ 3 callersMethodinitialize_vision_modules
(self, model_args, fsdp=None)
policy/LLaVA-VLA/llava/model/llava_arch.py:50
↓ 3 callersMethodinitialize_vision_tokenizer
(self, model_args, tokenizer)
policy/LLaVA-VLA/llava/model/llava_arch.py:336
↓ 3 callersFunctionis_dist_avail_and_initialized
()
policy/ACT/detr/util/misc.py:390
↓ 3 callersFunctionis_dist_avail_and_initialized
()
policy/DexVLA/dex_vla/external_vision_encoder/misc.py:378
↓ 3 callersFunctionis_dist_avail_and_initialized
()
policy/DexVLA/policy_heads/util/misc.py:378
↓ 3 callersMethodleft_plan_path
( self, target_pose, constraint_pose=None, use_point_cloud=False, use_
envs/robot/robot.py:425
↓ 3 callersMethodlm_head
(self)
policy/TinyVLA/vla/models/internvl/modeling_internvl_chat.py:352
↓ 3 callersMethodload
Loads the model weights. Args: params: Parameters of the model. This is a nested structure of array-like objects that
policy/pi0/src/openpi/training/weight_loaders.py:19
↓ 3 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
policy/LLaVA-VLA/llava/model/builder.py:70
↓ 3 callersFunctionload_merge_lora_weights
(model_path=None, model_base=None, kwargs=None, pretrain_dit_path=None)
policy/DexVLA/dex_vla/model_load_utils.py:419
↓ 3 callersFunctionload_model_for_eval
(model_path, model_base, load_8bit=False, load_4bit=False, device_map="cuda:0", policy_config=None)
policy/DexVLA/dex_vla/model_load_utils.py:499
↓ 3 callersMethodload_payload
(self, payload, exclude_keys=None, include_keys=None, **kwargs)
policy/DP3/3D-Diffusion-Policy/train_dp3.py:412
↓ 3 callersFunctionmake_att_2d_masks
Copied from big_vision. Tokens can attend to valid inputs tokens which have a cumulative mask_ar smaller or equal to theirs. This way `mask_a
policy/pi05/src/openpi/models_pytorch/pi0_pytorch.py:52
↓ 3 callersFunctionmake_attn_mask
Adapted from big_vision. Tokens can attend to valid inputs tokens which have a cumulative mask_ar smaller or equal to theirs. This way `mask_
policy/pi0/src/openpi/models/pi0.py:20
↓ 3 callersFunctionmake_attn_mask
Adapted from big_vision. Tokens can attend to valid inputs tokens which have a cumulative mask_ar smaller or equal to theirs. This way `mask_
policy/pi05/src/openpi/models/pi0.py:19
↓ 3 callersFunctionmake_dataset_from_rlds
This function is responsible for loading a specific RLDS dataset from storage and getting it into a standardized format. Yields a dataset of
policy/openvla-oft/prismatic/vla/datasets/rlds/dataset.py:40
↓ 3 callersFunctionmake_ee_sim_env
Environment for simulated robot bi-manual manipulation, with end-effector control. Action space: [left_arm_pose (7), # posit
policy/ACT/ee_sim_env.py:21
↓ 3 callersFunctionmake_sim_env
Environment for simulated robot bi-manual manipulation, with joint position control Action space: [left_arm_qpos (6), # abso
policy/ACT/sim_env.py:22
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
policy/LLaVA-VLA/llava/train/train.py:115
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
policy/LLaVA-VLA/llava/train/calvin_train_obs_real_pos_single_val_clean.py:212
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
policy/LLaVA-VLA/llava/train/calvin_train_obs.py:136
↓ 3 callersFunctionmodulate
(x, shift, scale)
policy/DexVLA/policy_heads/models/transformer_diffusion/modeling_dit_diffusion.py:110
↓ 3 callersMethodmove_bowl
(self, actor, target_pose)
envs/stack_bowls_three.py:57
↓ 3 callersMethodopen_viewer
(self)
script/create_object_data.py:45
↓ 3 callersMethodparse_point
(cmd: str, req_id: bool = True)
script/create_object_data.py:323
↓ 3 callersMethodpick_and_place_block
(self, block: Actor)
envs/stack_blocks_three.py:87
↓ 3 callersMethodpick_and_place_block
(self, block, target_pose=None)
envs/blocks_ranking_rgb.py:126
↓ 3 callersMethodpick_and_place_block
(self, block, target_pose=None)
envs/blocks_ranking_size.py:120
↓ 3 callersMethodplan_batch
Plan a batch of trajectories for multiple target poses. Input: - curr_joint_pos: List of current joint angle
envs/robot/planner.py:156
↓ 3 callersMethodpredict_action
lang_tokens: (batch_size, lang_len, lang_token_dim) lang_attn_mask: (batch_size, lang_len), a mask for valid language tokens,
policy/RDT/models/rdt_runner.py:216
↓ 3 callersMethodpredict_noise
Given a batch of last hidden Transformer layer embeddings (which fuse the vision-language observation embeddings, noisy action embedd
policy/openvla-oft/prismatic/models/action_heads.py:199
↓ 3 callersMethodprompt_builder_fn
(self)
policy/openvla-oft/prismatic/models/backbones/llm/phi.py:52
↓ 3 callersMethodpush
Append transforms to the group and return a new group. Args: inputs: Appended to the *end* of the current input transforms.
policy/pi0/src/openpi/transforms.py:49
↓ 3 callersFunctionrechunk_recompress_array
(group, name, chunks=None, chunk_length=None, compressor=None, tmp_key="_temp")
policy/DP/diffusion_policy/common/replay_buffer.py:18
↓ 3 callersFunctionrechunk_recompress_array
(group, name, chunks=None, chunk_length=None, compressor=None, tmp_key="_temp")
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/common/replay_buffer.py:19
↓ 3 callersMethodrender_from_polaris_position
Render a view from a specified position in the Polaris system, with camera direction calculated as position-to-centroid vector.
description/utils/get_image_from_glb.py:577
↓ 3 callersMethodrender_from_position_and_direction
Render the scene from a specific camera position pointing in a specific direction. Args: camera_position: Position of the
description/utils/get_image_from_glb.py:339
↓ 3 callersMethodreset
Reset the agent to its initial state.
policy/pi0/packages/openpi-client/src/openpi_client/runtime/agent.py:16
↓ 3 callersMethodreset
Reset the agent to its initial state.
policy/pi05/packages/openpi-client/src/openpi_client/runtime/agent.py:16
↓ 3 callersFunctionresize_image_for_preprocessing
Takes numpy array corresponding to a single image and resizes to 256x256, exactly as done in the ALOHA data preprocessing script, which is us
policy/openvla-oft/experiments/robot/aloha/aloha_utils.py:39
↓ 3 callersMethodrestore
(self, *args, **kwargs)
policy/pi05/src/openpi/training/checkpoints.py:131
↓ 3 callersMethodright_plan_path
( self, target_pose, constraint_pose=None, use_point_cloud=False, use_
envs/robot/robot.py:459
↓ 3 callersFunctionrotate_half
Rotates half the hidden dims of the input.
policy/DexVLA/dex_vla/models/qwen2_vl_modules.py:200
↓ 3 callersMethodsave_checkpoint
( self, run_dir: Path, global_step: int, epoch: int, train_loss: Optio
policy/openvla-oft/prismatic/training/strategies/base_strategy.py:103
↓ 3 callersMethodsave_config
(self)
script/create_object_data.py:135
↓ 3 callersMethodset_epoch
To be called *between* epochs, prior to DataLoader instantiation; ensures random order across epochs.
policy/openvla-oft/prismatic/util/batching_utils.py:210
↓ 3 callersMethodset_qpos
(self, qpos)
envs/utils/actor_utils.py:163
↓ 3 callersMethodstore
(self, value: int)
policy/DP/diffusion_policy/shared_memory/shared_memory_util.py:32
↓ 3 callersMethodtake_dense_action
control_seq: left_arm, right_arm, left_gripper, right_gripper
envs/_base_task.py:1407
↓ 3 callersFunctionto_tensor
Converts all numpy arrays in nested dictionary or list or tuple to torch tensors (and leaves existing torch Tensors as-is), and returns a
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/tensor_util.py:279
↓ 3 callersMethodtokenize
(self, prompt: str, state: np.ndarray, actions: np.ndarray | None)
policy/pi0/src/openpi/models/tokenizer.py:53
↓ 3 callersFunctiontokenizer_image_audio_token
(prompt, tokenizer, image_token_index=IMAGE_TOKEN_INDEX, audio_token_index=AUDIO_TOKEN_INDEX, goal_token_index
policy/LLaVA-VLA/llava/mm_utils.py:236
↓ 3 callersFunctiontorque_on
(bot)
policy/pi0/examples/aloha_real/robot_utils.py:251
↓ 3 callersFunctiontorque_on
(bot)
policy/pi05/examples/aloha_real/robot_utils.py:251
↓ 3 callersMethodupdate_observation_window
(self, img_arr, state)
policy/RDT/model.py:148
↓ 3 callersMethodvalue
(self)
policy/DexVLA/dex_vla/external_vision_encoder/misc.py:77
↓ 3 callersMethodvalues
(self)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/common/replay_buffer.py:442
↓ 3 callersMethodword2base
将世界坐标系下的矩阵转换到 base 坐标系下
envs/utils/transforms.py:177
↓ 2 callersFunctionBatchSampler
(batch_size, episode_len_l, sample_weights)
policy/DexVLA/data_utils/dataset.py:323
↓ 2 callersMethod__init__
(self, random=None)
policy/ACT/sim_env.py:200
↓ 2 callersMethod__init__
(self, args_override=None, RoboTwin_Config=None)
policy/ACT/act_policy.py:105
↓ 2 callersMethod__init__
(self, random=None)
policy/ACT/ee_sim_env.py:228
↓ 2 callersMethod__init__
(self)
policy/DP/diffusion_policy/model/diffusion/mask_generator.py:26
↓ 2 callersMethod__init__
(self, dim)
policy/DP/diffusion_policy/model/diffusion/conv1d_components.py:20
↓ 2 callersMethod__init__
(self, config: GPTConfig)
policy/DP/diffusion_policy/model/bet/libraries/mingpt/model.py:122
↓ 2 callersMethod__init__
(self, name: str, train_backbone: bool, return_interm_layers: bool,
policy/DexVLA/dex_vla/external_vision_encoder/resnet_backbone.py:64
↓ 2 callersMethod__init__
( self, inplanes: int, planes: int, stride: int = 1,
policy/DexVLA/dex_vla/external_vision_encoder/resnet_film.py:42
↓ 2 callersMethod__init__
Initializes FiLM ViT block wrapper. Args: block (timm.models.vision_transformer.Block): Vision transformer block.
policy/openvla-oft/prismatic/models/film_vit_wrapper.py:36
↓ 2 callersMethod__init__
(self, vision_dim: int, llm_dim: int, mlp_type: str = "gelu-mlp")
policy/openvla-oft/prismatic/util/nn_utils.py:22
↓ 2 callersMethod__init__
(self, in_dim, cond_dim, out_dim)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/diffusion/conditional_unet1d.py:21
↓ 2 callersMethod__init__
(self)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/diffusion/mask_generator.py:26
↓ 2 callersMethod__init__
(self, dim)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/diffusion/conv1d_components.py:20
↓ 2 callersMethod__init__
( self, observation_space: Dict, img_crop_shape=None, out_channel=256,
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/vision/pointnet_extractor.py:196
↓ 2 callersMethod__init__
(self, config: PaliGemmaConfig)
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:138
↓ 2 callersMethod__init__
(self)
script/create_object_data.py:35
↓ 2 callersMethod_act_tokens_to_paligemma_tokens
(self, tokens: np.ndarray | list[int])
policy/pi0/src/openpi/models/tokenizer.py:118
↓ 2 callersMethod_act_tokens_to_paligemma_tokens
(self, tokens: np.ndarray | list[int])
policy/pi05/src/openpi/models/tokenizer.py:136
↓ 2 callersMethod_allocate_empty
(self, k=None)
policy/DP/diffusion_policy/shared_memory/shared_memory_queue.py:177
↓ 2 callersMethod_allocate_empty
(self, k=None)
policy/DP/diffusion_policy/shared_memory/shared_memory_ring_buffer.py:155
↓ 2 callersFunction_angle_from_tan
Extract the first or third Euler angle from the two members of the matrix which are positive constant times its sine and cosine. Args:
policy/DexVLA/torch_utils.py:580
↓ 2 callersMethod_apply_funcs
(x: Union[np.ndarray, torch.Tensor], funcs: list)
policy/DP/diffusion_policy/model/common/rotation_transformer.py:60
↓ 2 callersFunction_apply_rope
Applies RoPE positions [B, L] to x [B, L, H, D].
policy/pi0/src/openpi/models/gemma.py:407
↓ 2 callersFunction_apply_rope
Applies RoPE positions [B, L] to x [B, L, H, D].
policy/pi0/src/openpi/models/gemma_fast.py:422
↓ 2 callersFunction_apply_rope
Applies RoPE positions [B, L] to x [B, L, H, D].
policy/pi05/src/openpi/models/gemma.py:424
↓ 2 callersFunction_apply_rope
Applies RoPE positions [B, L] to x [B, L, H, D].
policy/pi05/src/openpi/models/gemma_fast.py:425
↓ 2 callersFunction_assert_quantile_stats
(norm_stats: at.PyTree[NormStats])
policy/pi0/src/openpi/transforms.py:438
↓ 2 callersFunction_assert_quantile_stats
(norm_stats: at.PyTree[NormStats])
policy/pi05/src/openpi/transforms.py:455
↓ 2 callersMethod_check_unnorm_key
Validate and resolve the unnormalization key for action statistics
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:1061
← previousnext →401–500 of 4,415, ranked by callers