MCPcopy Create free account

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

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

↓ 2 callersMethod_check_unnorm_key
(norm_stats: Dict, unnorm_key: str)
policy/openvla-oft/prismatic/models/vlas/openvla.py:106
↓ 2 callersMethod_convert_observation
(self, gym_obs: dict)
policy/pi0/examples/aloha_sim/env.py:47
↓ 2 callersMethod_convert_observation
(self, gym_obs: dict)
policy/pi05/examples/aloha_sim/env.py:47
↓ 2 callersFunction_copy_to_cpu
(x)
policy/DP/diffusion_policy/workspace/base_workspace.py:127
↓ 2 callersMethod_create_featurizer
Create a TIMM-based featurizer model with appropriate configurations. Args: model_id: The TIMM model ID to load
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:115
↓ 2 callersMethod_del_eval_video_ffmpeg
(self)
envs/_base_task.py:585
↓ 2 callersFunction_download_boto3
Download a file from the OpenPI S3 bucket using boto3. This is a more performant version of download but can only handle s3 urls. In openpi repo,
policy/pi0/src/openpi/shared/download.py:139
↓ 2 callersFunction_ensure_permissions
Since we are sharing cache directory with containerized runtime as well as training script, we need to ensure that the cache directory has the cor
policy/pi0/src/openpi/shared/download.py:263
↓ 2 callersFunction_ensure_permissions
Since we are sharing cache directory with containerized runtime as well as training script, we need to ensure that the cache directory has the cor
policy/pi05/src/openpi/shared/download.py:136
↓ 2 callersFunction_gated_residual
Applies gated residual connection with optional gate parameter. Args: x: Input tensor (residual) y: Output tensor to be
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:209
↓ 2 callersFunction_gated_residual
(x, y, gate)
policy/pi05/src/openpi/models/gemma.py:453
↓ 2 callersMethod_generate_examples
Generator of examples for each split.
policy/openvla-oft/rlds_dataset_builder/example_dataset/example_dataset_dataset_builder.py:97
↓ 2 callersFunction_get_activation_fn
Return an activation function given a string
policy/ACT/detr/models/transformer.py:330
↓ 2 callersMethod_get_bins_fsq
Get bins per dimension based on codebook size, from the original FSQ paper.
policy/pi05/src/openpi/models/utils/fsq_tokenizer.py:44
↓ 2 callersFunction_get_clones
(module, N)
policy/ACT/detr/models/transformer.py:313
↓ 2 callersFunction_get_function_end_line
(node, lines)
script/add_annotation.py:73
↓ 2 callersMethod_get_k_impl
(self, k, read_count, out=None)
policy/DP/diffusion_policy/shared_memory/shared_memory_queue.py:151
↓ 2 callersFunction_get_mtime
Get the mtime of a given date at midnight UTC.
policy/pi0/src/openpi/shared/download.py:301
↓ 2 callersFunction_index_from_letter
(letter: str)
policy/DexVLA/torch_utils.py:570
↓ 2 callersMethod_init_robot_
(self, scene, need_topp=False, **kwargs)
envs/robot/robot.py:26
↓ 2 callersFunction_is_peft_model
(model)
policy/DexVLA/dex_vla/train/dex_vla_trainer.py:181
↓ 2 callersFunction_is_peft_model
(model)
policy/TinyVLA/vla/train/vla_trainer.py:41
↓ 2 callersFunction_merge_params
Merges the loaded parameters with the reference parameters. Args: loaded_params: The parameters to merge. params: The reference p
policy/pi0/src/openpi/training/weight_loaders.py:79
↓ 2 callersFunction_merge_params
Merges the loaded parameters with the reference parameters. Args: loaded_params: The parameters to merge. params: The reference p
policy/pi05/src/openpi/training/weight_loaders.py:76
↓ 2 callersFunction_normalize
(x, min_val, max_val)
policy/pi05/src/openpi/policies/aloha_policy.py:109
↓ 2 callersMethod_normalize_impl
(self, x, forward=True)
policy/DP/diffusion_policy/model/common/normalizer.py:60
↓ 2 callersMethod_normalize_impl
(self, x, forward=True)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/normalizer.py:60
↓ 2 callersFunction_parse_example
(episode_path, demo_id)
policy/openvla-oft/rlds_dataset_builder/LIBERO_10/LIBERO_10_dataset_builder.py:18
↓ 2 callersFunction_parse_image
(image)
policy/pi0/src/openpi/policies/droid_policy.py:21
↓ 2 callersFunction_parse_image
(image)
policy/pi0/src/openpi/policies/libero_policy.py:20
↓ 2 callersFunction_parse_image
(image)
policy/pi05/src/openpi/policies/droid_policy.py:21
↓ 2 callersFunction_parse_image
(image)
policy/pi05/src/openpi/policies/libero_policy.py:20
↓ 2 callersMethod_prepare_4d_causal_attention_mask_with_cache_position
Creates a causal 4D mask of shape `(batch_size, 1, query_length, key_value_length)` from a 2D mask of shape `(batch_size, key_value_l
policy/DexVLA/dex_vla/models/qwen2_vl_modules.py:1302
↓ 2 callersMethod_preprocess
Preprocess an image or batch of images. Copy of the `preprocess` method from `CLIPImageProcessor`. Args: images (`ImageI
policy/DexVLA/dex_vla/utils/image_processing_qwen2_vla.py:198
↓ 2 callersMethod_preprocess_observation
Helper method to preprocess observation.
policy/pi05/src/openpi/models_pytorch/pi0_pytorch.py:161
↓ 2 callersMethod_process_proprio_features
Process proprioceptive features and append to vision features
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:449
↓ 2 callersMethod_process_vision_features
Process vision features with optional FiLM conditioning
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:438
↓ 2 callersMethod_replace_input_embeddings
Replace embeddings in input_embeddings at positions where all_actions_mask is True with embeddings from noisy_action_features, using
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:395
↓ 2 callersMethod_set_eval_video_ffmpeg
(self, ffmpeg)
envs/_base_task.py:575
↓ 2 callersFunction_split_params
(state: training_utils.TrainState, )
policy/pi0/src/openpi/training/checkpoints.py:157
↓ 2 callersFunction_split_params
(state: training_utils.TrainState)
policy/pi05/src/openpi/training/checkpoints.py:145
↓ 2 callersMethod_split_paths
(self)
policy/openvla-oft/datasets/move_can_pot_builder.py:149
↓ 2 callersMethod_split_paths
Define filepaths for data splits.
policy/openvla-oft/rlds_dataset_builder/aloha1_put_X_into_pot_300_demos/aloha1_put_X_into_pot_300_demos_dataset_builder.py:157
↓ 2 callersMethod_split_paths
Define filepaths for data splits.
policy/openvla-oft/rlds_dataset_builder/LIBERO_Spatial/LIBERO_Spatial_dataset_builder.py:163
↓ 2 callersMethod_split_paths
Define filepaths for data splits.
policy/openvla-oft/rlds_dataset_builder/LIBERO_Object/LIBERO_Object_dataset_builder.py:163
↓ 2 callersMethod_split_paths
Define filepaths for data splits.
policy/openvla-oft/rlds_dataset_builder/LIBERO_10/LIBERO_10_dataset_builder.py:163
↓ 2 callersMethod_split_paths
Define filepaths for data splits.
policy/openvla-oft/rlds_dataset_builder/LIBERO_Goal/LIBERO_Goal_dataset_builder.py:163
↓ 2 callersFunction_tokenize_fn
Tokenize a list of strings.
policy/LLaVA-VLA/llava/train/train.py:249
↓ 2 callersMethod_trans_from_world_to_base
transform target pose from world frame to base frame base_pose: np.array([x, y, z, qw, qx, qy, qz]) t
envs/robot/planner.py:258
↓ 2 callersFunction_unnormalize
(x, min_val, max_val)
policy/pi05/src/openpi/policies/aloha_policy.py:113
↓ 2 callersMethod_update_causal_mask
( self, attention_mask, token_type_ids=None, past_key_values=None, cac
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/paligemma/modeling_paligemma.py:164
↓ 2 callersMethod_wrap_vit
Creates wrapper around an individual vision transformer to allow for infusion of language inputs. Args: vit (VisionTrans
policy/openvla-oft/prismatic/models/film_vit_wrapper.py:200
↓ 2 callersMethodadapt_conditions
lang_tokens: (batch_size, lang_len, lang_token_dim) img_tokens: (batch_size, img_len, img_token_dim) state_tokens: (batch_siz
policy/RDT/models/rdt_runner.py:110
↓ 2 callersFunctionallocate_threads
Allocates an integer number of threads across datasets based on weights. The final array sums to `n`, but each element is no less than 1. If
policy/openvla-oft/prismatic/vla/datasets/rlds/utils/data_utils.py:287
↓ 2 callersFunctionapply_frame_transforms
Applies common transforms that happen at a frame level. These transforms are usually more CPU-intensive, (e.g., decoding or resizing images).
policy/openvla-oft/prismatic/vla/datasets/rlds/dataset.py:367
↓ 2 callersFunctionapply_rotary_pos_emb
Applies Rotary Position Embedding to the query and key tensors. Args: q (`torch.Tensor`): The query tensor. k (`torch.Tensor`): T
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:170
↓ 2 callersFunctionapply_trajectory_transforms
Applies common transforms that happen at a trajectory level. Such transforms are usually some sort of "relabeling" (e.g., filtering, chunking
policy/openvla-oft/prismatic/vla/datasets/rlds/dataset.py:252
↓ 2 callersFunctionapply_tree
(tree: at.PyTree[T], selector: at.PyTree[S], fn: Callable[[T, S], T],
policy/pi0/src/openpi/transforms.py:385
↓ 2 callersFunctionapply_tree
( tree: at.PyTree[T], selector: at.PyTree[S], fn: Callable[[T, S], T], *, strict: bool = False )
policy/pi05/src/openpi/transforms.py:404
↓ 2 callersFunctionauto_upgrade
(config)
policy/LLaVA-VLA/llava/model/utils.py:4
↓ 2 callersFunctionbuild_ACT_model
(args)
policy/ACT/detr/models/__init__.py:6
↓ 2 callersFunctionbuild_CNNMLP_model
(args)
policy/ACT/detr/models/__init__.py:10
↓ 2 callersFunctionbuild_audio_projector
(config, delay_load=False, **kwargs)
policy/LLaVA-VLA/llava/model/multimodal_projector/builder.py:54
↓ 2 callersFunctionbuild_audio_tower
(audio_tower_cfg, **kwargs)
policy/LLaVA-VLA/llava/model/multimodal_encoder/builder.py:18
↓ 2 callersFunctionbuild_backbone
(args)
policy/ACT/detr/models/backbone.py:121
↓ 2 callersMethodchat
(self, tokenizer, pixel_values, question, generation_config, history=None, return_history=False,
policy/TinyVLA/vla/models/internvl/modeling_internvl_chat.py:253
↓ 2 callersFunctioncheck_model_logic_mismatch
Check and sync model logic files between current code and checkpoint. Handles the relationship between current and checkpoint versions of bo
policy/openvla-oft/experiments/robot/openvla_utils.py:168
↓ 2 callersMethodcheck_success
(self)
envs/click_alarmclock.py:80
↓ 2 callersMethodcheck_success
(self)
envs/click_bell.py:71
↓ 2 callersMethodcheck_urdf
(self, name, idx, d_range=50, pose=None)
script/create_messy_data.py:200
↓ 2 callersMethodclear_scene
(self)
script/create_object_data.py:122
↓ 2 callersMethodclip_grad_norm
(self)
policy/openvla-oft/prismatic/training/strategies/base_strategy.py:116
↓ 2 callersFunctioncompute_dict_mean
(epoch_dicts)
policy/ACT/utils.py:217
↓ 2 callersMethodcompute_loss
(self, rng: at.KeyArrayLike, observation: _model.Observation,
policy/pi0/src/openpi/models/pi0.py:229
↓ 2 callersMethodcompute_loss
(self, batch)
policy/DP/diffusion_policy/policy/diffusion_unet_image_policy.py:192
↓ 2 callersMethodcompute_loss
( self, rng: at.KeyArrayLike, observation: _model.Observation, actions: _model.Actions, *, train: bool
policy/pi05/src/openpi/models/pi0.py:189
↓ 2 callersMethodconfigure_optimizers
(self)
policy/ACT/act_policy.py:55
↓ 2 callersMethodconvert_actions
Given state and delta action sequence generate equivalent goal position and orientation for each step keep the original gripp
policy/DP/diffusion_policy/common/robomimic_util.py:50
↓ 2 callersMethodcopy
(self)
policy/TinyVLA/vla/models/internvl/conversation.py:291
↓ 2 callersMethodcreate
(self, rng: at.KeyArrayLike)
policy/pi0/src/openpi/models/pi0_fast.py:91
↓ 2 callersMethodcreate
(self, rng: at.KeyArrayLike)
policy/pi05/src/openpi/models/pi0_fast.py:97
↓ 2 callersMethodcreate
(self, rng: at.KeyArrayLike)
policy/pi05/src/openpi/models/pi0_config.py:49
↓ 2 callersFunctioncreate_dataloader
( dataset, *, batch_size: int, shuffle: bool, num_workers: int, pin_memory: bool,
policy/DP/diffusion_policy/workspace/robotworkspace.py:310
↓ 2 callersFunctioncreate_fake_episode
(path)
policy/openvla-oft/rlds_dataset_builder/example_dataset/create_example_data.py:11
↓ 2 callersFunctioncreate_model
(args, **kwargs)
policy/RDT/scripts/agilex_model.py:35
↓ 2 callersFunctioncreate_obj
( scene, pose: sapien.Pose, modelname: str, scale=(1, 1, 1), convex=Fa
envs/utils/create_actor.py:393
↓ 2 callersMethodcreate_optimizer
Setup the optimizer. We provide a reasonable default that works well. If you want to use something else, you can pass a tuple in the
policy/TinyVLA/vla/train/vla_trainer.py:93
↓ 2 callersMethodcreate_table_and_wall
(self)
script/create_messy_data.py:87
↓ 2 callersFunctioncross_product
u: (..., 3) v: (..., 3) u x v: (..., 3)
policy/RDT/data/utils.py:194
↓ 2 callersMethoddata_config
Get the data config for this data loader.
policy/pi05/src/openpi/training/data_loader.py:45
↓ 2 callersMethoddecode
(self, x)
policy/pi0/src/openpi/models/gemma_fast.py:115
↓ 2 callersMethoddecode
(self, x)
policy/pi05/src/openpi/models/gemma_fast.py:120
↓ 2 callersMethoddecode
(self, tokens: jnp.ndarray, z_grad: jax.Array | None = None)
policy/pi05/src/openpi/models/utils/fsq_tokenizer.py:105
↓ 2 callersMethoddevice
(self)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/module_attr_mixin.py:11
↓ 2 callersMethodembed_inputs
( self, obs: _model.Observation )
policy/pi0/src/openpi/models/pi0_fast.py:152
↓ 2 callersMethodembed_inputs
( self, obs: _model.Observation )
policy/pi05/src/openpi/models/pi0_fast.py:160
↓ 2 callersMethodembed_prefix
( self, obs: _model.Observation )
policy/pi0/src/openpi/models/pi0.py:165
↓ 2 callersMethodembed_prefix
Embed images with SigLIP and language tokens with embedding layer to prepare for PaliGemma transformer processing.
policy/pi05/src/openpi/models_pytorch/pi0_pytorch.py:186
↓ 2 callersMethodembed_prefix
( self, obs: _model.Observation )
policy/pi05/src/openpi/models/pi0.py:106
↓ 2 callersMethodembed_suffix
( self, obs: _model.Observation, noisy_actions: _model.Actions, timestep: at.Float[at.Array, " b"]
policy/pi0/src/openpi/models/pi0.py:197
← previousnext →501–600 of 4,415, ranked by callers