MCPcopy Create free account

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

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

↓ 10 callersFunctiondict_apply
(x: Dict[str, torch.Tensor], func: Callable[[torch.Tensor], torch.Tensor])
policy/DP/diffusion_policy/common/pytorch_util.py:7
↓ 10 callersMethoddtype
(self)
policy/RDT/models/multimodal_encoder/clip_encoder.py:67
↓ 10 callersMethodlog
(self, data: dict)
policy/DP/diffusion_policy/common/json_logger.py:100
↓ 10 callersFunctiontorque_on
(bot)
policy/DexVLA/aloha_scripts/robot_utils.py:185
↓ 10 callersMethodvision_tower
(self)
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:422
↓ 9 callersFunction_toPose
(pose: sapien.Pose | list | np.ndarray)
envs/utils/transforms.py:256
↓ 9 callersMethod_update_render
Update rendering to refresh the camera's RGBD information (rendering must be updated even when disabled, otherwise data cannot be col
envs/_base_task.py:419
↓ 9 callersMethodcreate
( self, lr: optax.ScalarOrSchedule, weight_decay_mask: at.PyTree | None = None, )
policy/pi05/src/openpi/training/optimizer.py:96
↓ 9 callersMethoddecode
( self, token_ids: Union[int, List[int], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
policy/openvla-oft/prismatic/extern/hf/processing_prismatic.py:233
↓ 9 callersMethoddevice
(self)
policy/DP/diffusion_policy/model/common/module_attr_mixin.py:11
↓ 9 callersMethoddigitize
(self, tokens: jnp.ndarray)
policy/pi05/src/openpi/models/utils/fsq_tokenizer.py:120
↓ 9 callersMethodget_output_embeddings
(self)
policy/DexVLA/dex_vla/models/modeling_dex_vla.py:71
↓ 9 callersMethodload_model
(self, device_map=None)
policy/LLaVA-VLA/llava/model/multimodal_encoder/clip_encoder.py:24
↓ 9 callersMethodstep
(self, action)
policy/DexVLA/aloha_scripts/real_env.py:127
↓ 9 callersFunctionto_pygame
Convenience method to convert pymunk coordinates to pygame surface local coordinates. Note that in case positive_y_is_up is False, this funct
policy/DP/diffusion_policy/common/pymunk_override.py:223
↓ 9 callersMethodwrite
(self, global_step: int, metrics: Dict[str, Union[int, float]])
policy/openvla-oft/prismatic/training/metrics.py:28
↓ 8 callersMethod__init__
(self, config)
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:114
↓ 8 callersMethod_apply_checkpoint
Helper method to apply gradient checkpointing if enabled.
policy/pi05/src/openpi/models_pytorch/pi0_pytorch.py:148
↓ 8 callersFunction_bytes_feature
Returns a bytes_list from a string / byte.
policy/RDT/data/agilex/hdf5totfrecords.py:11
↓ 8 callersFunction_name
(name, i)
policy/pi0/src/openpi/models/gemma.py:426
↓ 8 callersFunction_name
(name, i)
policy/pi05/src/openpi/models/gemma.py:443
↓ 8 callersMethodadd_visual_box
(self, pose: sapien.Pose, name: str = "box", type: str = "cube")
script/create_object_data.py:105
↓ 8 callersMethodappend_message
(self, role, message)
policy/LLaVA-VLA/llava/conversation.py:109
↓ 8 callersMethodfinalize
(self)
policy/openvla-oft/prismatic/training/metrics.py:30
↓ 8 callersMethodget_contact_point
Get the transformation matrix of given contact point of the actor.
envs/utils/actor_utils.py:58
↓ 8 callersMethodget_model
(self)
policy/LLaVA-VLA/llava/model/llava_arch.py:494
↓ 8 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
policy/DexVLA/dex_vla/models/qwen2_vl_modules.py:479
↓ 8 callersMethodreset
(self, fake=False)
policy/DexVLA/aloha_scripts/real_env.py:114
↓ 8 callersMethodset_gripper
Set gripper posture - `left_pos`: Left gripper pose - `right_pos`: Right gripper pose - `set_tag`: "left" to set the
envs/_base_task.py:606
↓ 7 callersMethod__init__
(self, config: InternVisionConfig)
policy/TinyVLA/vla/models/internvl/modeling_intern_vit.py:252
↓ 7 callersMethodbatch_decode
This method forwards all its arguments to Qwen2TokenizerFast's [`~PreTrainedTokenizer.batch_decode`]. Please refer to the docstring o
policy/DexVLA/dex_vla/utils/processing_qwen2_vla.py:157
↓ 7 callersMethodclear
(self)
policy/DP/diffusion_policy/shared_memory/shared_memory_queue.py:85
↓ 7 callersMethodcommit
Update all metrics in `self.state` by iterating through special positional arguments & kwargs.
policy/openvla-oft/prismatic/training/metrics.py:153
↓ 7 callersMethodcreate_manual
( cls, scale: Union[torch.Tensor, np.ndarray], offset: Union[torch.Tensor, np.ndarray]
policy/DP/diffusion_policy/model/common/normalizer.py:139
↓ 7 callersMethoddtype
(self)
policy/DP/diffusion_policy/model/common/module_attr_mixin.py:15
↓ 7 callersFunctionexpand2square
(pil_img, background_color)
policy/LLaVA-VLA/llava/mm_utils.py:154
↓ 7 callersMethodfake_obs
(self, batch_size: int = 1)
policy/pi0/src/openpi/models/model.py:239
↓ 7 callersMethodfake_obs
(self, batch_size: int = 1)
policy/pi05/src/openpi/models/model.py:253
↓ 7 callersMethodfit
( self, data: Union[Dict, torch.Tensor, np.ndarray, zarr.Array], last_n_dims=1,
policy/DP/diffusion_policy/model/common/normalizer.py:16
↓ 7 callersMethodfit
( self, data: Union[Dict, torch.Tensor, np.ndarray, zarr.Array], last_n_dims=1,
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/normalizer.py:16
↓ 7 callersMethodget_point
Get the point of the entity actor.
envs/utils/actor_utils.py:29
↓ 7 callersMethodget_prompt
(self)
policy/LLaVA-VLA/llava/conversation.py:32
↓ 7 callersMethodis_rank_zero
()
policy/openvla-oft/prismatic/overwatch/overwatch.py:134
↓ 7 callersMethodkeys
(self)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/common/replay_buffer.py:439
↓ 7 callersMethodlanguage_model
(self)
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:418
↓ 7 callersMethodload
Create a model with the given parameters.
policy/pi05/src/openpi/models/model.py:233
↓ 7 callersMethodload_from_glb
Load a 3D model from a GLB file. Args: file_path: Path to the .glb file Returns: trimesh.Scene object
description/utils/get_image_from_glb.py:27
↓ 7 callersFunctionmove_grippers
(bot_list, target_pose_list, move_time)
policy/DexVLA/aloha_scripts/robot_utils.py:151
↓ 7 callersMethodprepare_inputs_labels_for_multimodal
( self, input_ids, position_ids, attention_mask, past_key_values, labels, images, image_sizes=
policy/LLaVA-VLA/llava/model/llava_arch.py:152
↓ 7 callersMethodsetup_demo
(self, is_test=False, **kwags)
envs/lift_pot.py:9
↓ 7 callersMethodstart
(self)
policy/DP/diffusion_policy/common/json_logger.py:51
↓ 7 callersMethodstart
Start the model server and listen for incoming client connections
script/policy_model_server.py:84
↓ 7 callersMethodtake_picture
(self, name="camera.png")
script/create_messy_data.py:643
↓ 7 callersMethodtranspose_for_scores
(self, x)
policy/DexVLA/dex_vla/utils/fusion_modules.py:113
↓ 7 callersMethodunnormalize
(self, x: Union[Dict, torch.Tensor, np.ndarray])
policy/DP/diffusion_policy/model/common/normalizer.py:76
↓ 7 callersMethodunnormalize
(self, x: Union[Dict, torch.Tensor, np.ndarray])
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/normalizer.py:76
↓ 6 callersMethod_take_picture
(self)
envs/_base_task.py:508
↓ 6 callersMethodappend_message
Append a new message.
policy/TinyVLA/vla/models/internvl/conversation.py:257
↓ 6 callersFunctionapply_rotary_pos_emb_vision
(tensor: torch.Tensor, freqs: torch.Tensor)
policy/DexVLA/dex_vla/models/qwen2_vl_modules.py:252
↓ 6 callersMethodcall
(self, func_name=None, obs=None)
script/eval_policy_client.py:206
↓ 6 callersMethodclose_gripper
(self, arm_tag: ArmTag, pos: float = 0.0)
envs/_base_task.py:1384
↓ 6 callersMethoddecode
(self, x)
policy/pi05/src/openpi/models/gemma.py:153
↓ 6 callersMethoddelay
(self, delay_time, save_freq=None)
envs/_base_task.py:591
↓ 6 callersFunctiondict_apply_reduce
( x: List[Dict[str, torch.Tensor]], reduce_func: Callable[[List[torch.Tensor]], torch.Tensor], )
policy/DP/diffusion_policy/common/pytorch_util.py:34
↓ 6 callersMethodfrom_dict
This method defines the mapping between unstructured data (i.e., nested dict) to the structured Observation format.
policy/pi0/src/openpi/models/model.py:104
↓ 6 callersMethodgenerate
(self, image: Image, prompt_text: str, **kwargs: str)
policy/openvla-oft/prismatic/models/vlms/prismatic.py:594
↓ 6 callersMethodget_audio_tower
(self)
policy/LLaVA-VLA/llava/model/llava_arch.py:404
↓ 6 callersMethodget_freeze_filter
Returns the freeze filter based on the model config.
policy/pi05/src/openpi/models/pi0_config.py:79
↓ 6 callersMethodget_left_gripper_val
(self)
envs/robot/robot.py:526
↓ 6 callersMethodget_right_gripper_val
(self)
envs/robot/robot.py:532
↓ 6 callersFunctionjpeg_mapping
(img)
policy/RDT/scripts/agilex_inference.py:119
↓ 6 callersFunctionmap_tensor
Apply function @func to torch.Tensor objects in a nested dictionary or list or tuple. Args: x (dict or list or tuple): a possibl
policy/DP/diffusion_policy/model/common/tensor_util.py:46
↓ 6 callersFunctionmap_tensor
Apply function @func to torch.Tensor objects in a nested dictionary or list or tuple. Args: x (dict or list or tuple): a possibl
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/tensor_util.py:46
↓ 6 callersFunctionrand_create_sapien_urdf_obj
( scene, modelname: str, modelid: int, xlim: np.ndarray, ylim: np.ndarray, zlim: np.nd
envs/utils/rand_create_actor.py:150
↓ 6 callersFunctionresize_image_for_policy
Resize an image to match the policy's expected input size. Uses the same resizing scheme as in the training data pipeline for distribution m
policy/openvla-oft/experiments/robot/openvla_utils.py:520
↓ 6 callersMethodset_arm_joints
(self, target_position, target_velocity, arm_tag)
envs/robot/robot.py:609
↓ 6 callersMethodstep
(self, new_model)
policy/DP/diffusion_policy/model/diffusion/ema_model.py:58
↓ 6 callersFunctiontokenizer_audio_token
(prompt, tokenizer, audio_token_index=AUDIO_TOKEN_INDEX, return_tensors=None)
policy/LLaVA-VLA/llava/mm_utils.py:209
↓ 6 callersMethodupdate
(self, **kwargs)
policy/DexVLA/dex_vla/external_vision_encoder/misc.py:164
↓ 6 callersMethodupdate
(self, **kwargs)
policy/DexVLA/policy_heads/util/misc.py:164
↓ 6 callersMethodupdate_config
(self, save: bool = False)
script/create_object_data.py:694
↓ 6 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
policy/ACT/detr/models/transformer.py:244
↓ 5 callersMethod__init__
(self, num_blocks, input_dim, hidden_dim, output_dim)
policy/openvla-oft/prismatic/models/action_heads.py:61
↓ 5 callersMethod__init__
(self, dim)
policy/TinyVLA/policy_heads/models/unet_diffusion/modeling_unet_diffusion.py:48
↓ 5 callersMethodblock
(self)
script/create_messy_data.py:622
↓ 5 callersMethodcalculate_face_centers
Calculate the center points of each face of the bounding box. Returns: List of face center coordinates
description/utils/get_image_from_glb.py:113
↓ 5 callersMethodcheck_actors_contact
Check if two actors are in contact. - actor1: The first actor. - actor2: The second actor.
envs/_base_task.py:982
↓ 5 callersMethodcheck_success
(self)
envs/lift_pot.py:50
↓ 5 callersMethodcreate_base_config
(self, assets_dirs: pathlib.Path, model_config: _model.BaseModelConfig)
policy/pi05/src/openpi/training/config.py:178
↓ 5 callersMethodcreate_scene
Set the scene - Set up the basic scene: light source, viewer.
script/create_messy_data.py:40
↓ 5 callersMethoddecode_token_ids_to_actions
Returns continuous actions for discrete action token IDs. NOTE =>> Because of the way the actions are discretized w.r.t. the bins (a
policy/openvla-oft/prismatic/vla/action_tokenizer.py:49
↓ 5 callersMethodfake_act
(self, batch_size: int = 1)
policy/pi0/src/openpi/models/model.py:243
↓ 5 callersMethodfake_act
(self, batch_size: int = 1)
policy/pi05/src/openpi/models/model.py:257
↓ 5 callersFunctionflatten_dict
Flatten a nested dictionary. Uses '/' as the separator.
policy/pi0/src/openpi/transforms.py:321
↓ 5 callersFunctionflatten_dict
Flatten a nested dictionary. Uses '/' as the separator.
policy/pi05/src/openpi/transforms.py:340
↓ 5 callersFunctionflatten_list
(l)
policy/DexVLA/data_utils/dataset.py:17
↓ 5 callersMethodget
(self, out=None)
policy/DP/diffusion_policy/shared_memory/shared_memory_ring_buffer.py:164
↓ 5 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
policy/RDT/models/rdt/blocks.py:210
↓ 5 callersMethodget_freeze_filter
Returns the freeze filter based on the model config.
policy/pi0/src/openpi/models/pi0.py:111
↓ 5 callersMethodget_grasp_pose
Obtain the grasp pose through the marked grasp point. - actor: The instance of the object to be grasped. - arm_tag: The arm t
envs/_base_task.py:1031
← previousnext →101–200 of 4,415, ranked by callers