MCPcopy Create free account

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

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

↓ 2 callersFunctionis_main_process
()
policy/ACT/detr/util/misc.py:410
↓ 2 callersMethodis_right_gripper_close
(self)
envs/robot/robot.py:553
↓ 2 callersMethoditer_contact_points
Iterate over all contact points of the actor.
envs/utils/actor_utils.py:64
↓ 2 callersFunctionjoin_dimensions
Joins all dimensions between dimensions (@begin_axis, @end_axis) into a flat dimension, for all tensors in nested dictionary or list or tuple
policy/DP/diffusion_policy/model/common/tensor_util.py:540
↓ 2 callersFunctionjoin_dimensions
Joins all dimensions between dimensions (@begin_axis, @end_axis) into a flat dimension, for all tensors in nested dictionary or list or tuple
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/tensor_util.py:540
↓ 2 callersFunctionlight_color
(color: SpaceDebugColor)
policy/DP/diffusion_policy/common/pymunk_override.py:243
↓ 2 callersMethodload_actor
(self, pose, inherit_config=None, inherit_type: Literal['force', 'advice'] = 'advice')
script/create_object_data.py:217
↓ 2 callersMethodload_actor
(self, pose, inherit_config=None, inherit_type: Literal['force', 'advice'] = 'advice')
script/create_object_data.py:617
↓ 2 callersFunctionload_and_preprocess_all_episodes
Loads and preprocesses all episodes. Resizes all images in one episode before loading the next, to reduce memory usage.
policy/openvla-oft/experiments/robot/aloha/preprocess_split_aloha_data.py:79
↓ 2 callersFunctionload_checkpoint
Loads a checkpoint for a given module. Args: module_name (str): Name of model component to load checkpoint for. path (str):
policy/openvla-oft/vla-scripts/finetune.py:191
↓ 2 callersMethodload_checkpoint
(self, path=None, tag="latest", exclude_keys=None, include_keys=None, **kwargs)
policy/DP3/3D-Diffusion-Policy/train_dp3.py:425
↓ 2 callersMethodload_from_h5
(self, dataset_path, start_ts)
policy/DexVLA/data_utils/dataset.py:70
↓ 2 callersMethodload_from_h5
(self, dataset_path, start_ts)
policy/TinyVLA/data_utils/dataset.py:69
↓ 2 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
policy/DexVLA/dex_vla/model_load_utils.py:439
↓ 2 callersFunctionload_image
(image_file, input_size=448, max_num=12)
policy/TinyVLA/test_internvl3.py:76
↓ 2 callersMethodload_model
(self, device_map=None)
policy/LLaVA-VLA/llava/model/multimodal_encoder/whisper_encoder.py:20
↓ 2 callersMethodload_model
(self, device_map=None)
policy/RDT/models/multimodal_encoder/dinov2_encoder.py:23
↓ 2 callersMethodload_model
(self, device_map=None)
policy/RDT/models/multimodal_encoder/siglip_encoder.py:23
↓ 2 callersMethodload_payload
(self, payload, exclude_keys=None, include_keys=None, **kwargs)
policy/DP/diffusion_policy/workspace/base_workspace.py:76
↓ 2 callersFunctionload_pkl_file
(pkl_path)
envs/utils/pkl2hdf5.py:51
↓ 2 callersMethodlocal_zero_first
(self)
policy/openvla-oft/prismatic/overwatch/overwatch.py:130
↓ 2 callersFunctionlog_metrics_to_wandb
Log metrics to Weights & Biases. Args: metrics (dict): Dictionary of metrics to log prefix (str): Prefix for metric names
policy/openvla-oft/vla-scripts/finetune.py:634
↓ 2 callersFunctionls_apply_patch
(ls_module: LayerScale)
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:60
↓ 2 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_fast.py:22
↓ 2 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_fast.py:23
↓ 2 callersFunctionmake_policy
(policy_class, policy_config)
policy/ACT/imitate_episodes.py:141
↓ 2 callersFunctionmake_real_env
(init_node, setup_robots=True)
policy/openvla-oft/experiments/robot/aloha/real_env.py:163
↓ 2 callersFunctionmatrix_to_rotation_6d
Converts rotation matrices to 6D rotation representation by Zhou et al. [1] by dropping the last row. Note that 6D representation is not uniq
policy/DexVLA/torch_utils.py:482
↓ 2 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
policy/DexVLA/dex_vla/model_load_utils.py:354
↓ 2 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
policy/TinyVLA/vla/model_load_utils.py:134
↓ 2 callersMethodmodel_forward
Forward pass of DiT. x: (N, T, input_dim) t: (N,) tensor of diffusion timesteps global_cond: (N, n_obs_steps, D) tens
policy/DexVLA/policy_heads/models/transformer_diffusion/modeling_dit_diffusion.py:529
↓ 2 callersMethodmodel_forward
x: (B,T,input_dim) timestep: (B,) or int, diffusion step global_cond: (B,global_cond_dim) output: (B,T,input_dim)
policy/TinyVLA/policy_heads/models/unet_diffusion/modeling_unet_diffusion.py:308
↓ 2 callersMethodmove_bowl
(self, actor, target_pose)
envs/stack_bowls_two.py:55
↓ 2 callersFunctionmove_grippers
(bot_list, target_pose_list, move_time)
policy/openvla-oft/experiments/robot/aloha/robot_utils.py:151
↓ 2 callersFunctionnorm_cdf
(x)
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/siglip/modeling_siglip.py:44
↓ 2 callersFunctionnormalize_code
(code)
script/add_annotation.py:94
↓ 2 callersFunctionnormalize_vector
v: (..., N)
policy/RDT/data/utils.py:183
↓ 2 callersFunctionnumpy_to_json
Serialize Python data (including numpy arrays) to JSON string
script/policy_model_server.py:58
↓ 2 callersMethodoutput_shape
Function to compute output shape from inputs to this module. Args: input_shape (iterable of int): shape of input. Does n
policy/DexVLA/dex_vla/external_vision_encoder/modules.py:46
↓ 2 callersFunctionpad_sequence_single
Pad input tensor or array @seq in the time dimension (dimension 1). Args: seq (np.ndarray or torch.Tensor): sequence to be padded
policy/DP/diffusion_policy/model/common/tensor_util.py:769
↓ 2 callersFunctionpad_sequence_single
Pad input tensor or array @seq in the time dimension (dimension 1). Args: seq (np.ndarray or torch.Tensor): sequence to be padded
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/model/common/tensor_util.py:769
↓ 2 callersMethodparse_hdf5_file_state_only
[Modify] Parse a hdf5 file to generate a state trajectory. Args: file_path (str): the path to the hdf5 file Returns:
policy/RDT/data/hdf5_vla_dataset.py:270
↓ 2 callersMethodpick_and_place_block
(self, block: Actor)
envs/stack_blocks_two.py:81
↓ 2 callersMethodplan_grippers
(self, now_val, target_val)
envs/robot/planner.py:425
↓ 2 callersMethodplan_path
Interpolative planning with screw motion. Will not avoid collision and will fail if the path contains collision.
envs/robot/planner.py:397
↓ 2 callersFunctionplot_history
(train_history, validation_history, num_epochs, ckpt_dir, seed)
policy/ACT/imitate_episodes.py:433
↓ 2 callersFunctionpose_distance
(start_pose, end_pose)
policy/DP/diffusion_policy/common/pose_trajectory_interpolator.py:12
↓ 2 callersMethodpostprocess
(self, samples, device)
policy/DP/diffusion_policy/dataset/robot_image_dataset.py:134
↓ 2 callersFunctionpre_process
(robot_state_value, key, stats)
policy/DexVLA/deploy_policy.py:23
↓ 2 callersFunctionprecompute_freqs_cis
计算cos和sin的值,cos值在实部,sin值在虚部,类似于 cosx+j*sinx :param dim: q,k,v的最后一维,一般为emb_dim/head_num :param end: 句长length :param constant: 这里指10000
policy/DexVLA/dex_vla/utils/fusion_modules.py:6
↓ 2 callersMethodpredict_action
obs_dict: str: B,To,* return: B,Ta,Da
policy/DP/diffusion_policy/policy/base_image_policy.py:11
↓ 2 callersFunctionprint_params
Print the number of parameters in each part of the model.
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/common/model_util.py:4
↓ 2 callersMethodprocess_image
(self, image, image_process_mode, return_pil=False, image_format='PNG', max_len=1344, min_len=672)
policy/LLaVA-VLA/llava/conversation.py:112
↓ 2 callersMethodpuppet_arm_publish_continuous
(self, left, right)
policy/RDT/scripts/agilex_inference.py:396
↓ 2 callersMethodpush
(self)
policy/openvla-oft/prismatic/training/metrics.py:182
↓ 2 callersMethodqwen2_image_preprocess
(self, each, camera_name)
policy/DexVLA/evaluate/vla_policy/qwen2_vla_policy.py:54
↓ 2 callersMethodqwen2_image_preprocess
(self, each, camera_name)
policy/DexVLA/dex_vla/utils/robot_data_processor.py:48
↓ 2 callersFunctionrand_create_cluttered_actor
( scene, modelname: str, modelid: str, modeltype: str, xlim: np.ndarray, ylim: np.ndar
envs/utils/rand_create_cluttered_actor.py:189
↓ 2 callersFunctionrand_swap_exterior_images
Randomly swaps the two exterior images (for training with single exterior input).
policy/openvla-oft/prismatic/vla/datasets/rlds/oxe/utils/droid_utils.py:59
↓ 2 callersMethodrank
()
policy/openvla-oft/prismatic/overwatch/overwatch.py:138
↓ 2 callersFunctionrank0_print
(*args)
policy/LLaVA-VLA/llava/train/train.py:44
↓ 2 callersFunctionrank0_print
(*args)
policy/LLaVA-VLA/llava/train/calvin_train_obs.py:47
↓ 2 callersFunctionread_dirty_bit
Read the dirty bit from the chunk directory.
policy/RDT/data/producer.py:74
↓ 2 callersFunctionread_dirty_bit
Read the dirty bit from the chunk directory.
policy/RDT/train/dataset.py:52
↓ 2 callersMethodreindex_batch
Re-indexes a batch in a way that is conducive to DistributedSampler + grouping by seqlen per rank.
policy/openvla-oft/prismatic/util/batching_utils.py:49
↓ 2 callersFunctionrelabel_bridge_actions
Relabels actions to use reached proprioceptive state; discards last timestep (no-action).
policy/openvla-oft/prismatic/vla/datasets/rlds/utils/data_utils.py:157
↓ 2 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/pi05/src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:197
↓ 2 callersMethodreset
(self, *, fake=False)
policy/pi0/examples/aloha_real/real_env.py:141
↓ 2 callersMethodreset
(self, *, fake=False)
policy/pi05/examples/aloha_real/real_env.py:141
↓ 2 callersMethodreset
(self, scene, need_topp=False, **kwargs)
envs/robot/robot.py:124
↓ 2 callersMethodreset_scale
(self, scale)
script/create_object_data.py:312
↓ 2 callersFunctionreshape_for_broadcast
(freqs_cis: torch.Tensor, x: torch.Tensor)
policy/DexVLA/dex_vla/utils/fusion_modules.py:32
↓ 2 callersMethodrestore
(self, *args, **kwargs)
policy/pi0/src/openpi/training/checkpoints.py:142
↓ 2 callersMethodresult
(self)
policy/openvla-oft/datasets/conversion_utils.py:110
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
policy/pi05/src/openpi/models_pytorch/transformers_replace/models/gemma/modeling_gemma.py:163
↓ 2 callersFunctionrotation_6d_to_matrix
Converts 6D rotation representation by Zhou et al. [1] to rotation matrix using Gram--Schmidt orthogonalization per Section B of [1]. Arg
policy/DexVLA/torch_utils.py:460
↓ 2 callersMethodrun
Runs the runtime loop continuously until stop() is called or the environment is done.
policy/pi0/packages/openpi-client/src/openpi_client/runtime/runtime.py:32
↓ 2 callersMethodrun
(self)
policy/pi0/src/openpi/serving/websocket_policy_server.py:33
↓ 2 callersMethodrun
(self)
policy/DP3/3D-Diffusion-Policy/train_dp3.py:83
↓ 2 callersMethodrun
Runs the runtime loop continuously until stop() is called or the environment is done.
policy/pi05/packages/openpi-client/src/openpi_client/runtime/runtime.py:32
↓ 2 callersMethodrun
(self)
policy/pi05/src/openpi/serving/websocket_policy_server.py:37
↓ 2 callersFunctionrun_forward_pass
Compute model forward pass and metrics for both training and validation. Args: vla (OpenVLAForActionPrediction): Vision-language-act
policy/openvla-oft/vla-scripts/finetune.py:314
↓ 2 callersFunctionsample_box_pose
()
policy/ACT/utils.py:176
↓ 2 callersFunctionsample_insertion_pose
()
policy/ACT/utils.py:188
↓ 2 callersMethodsample_noise
(self, shape, device)
policy/pi05/src/openpi/models_pytorch/pi0_pytorch.py:172
↓ 2 callersFunctionsave_dataset_statistics
Saves a `dataset_statistics.json` file.
policy/openvla-oft/prismatic/vla/datasets/rlds/utils/data_utils.py:265
↓ 2 callersFunctionsave_pkl
(save_path, dic_file)
envs/utils/save_file.py:29
↓ 2 callersFunctionsave_sample
Save a sample to the chunk directory.
policy/RDT/data/producer.py:100
↓ 2 callersFunctionsave_videos
(video, dt, video_path=None)
policy/ACT/visualize_episodes.py:58
↓ 2 callersFunctionselect_best_resolution
Selects the best resolution from a list of possible resolutions based on the original size. Args: original_size (tuple): The origina
policy/LLaVA-VLA/llava/mm_utils.py:14
↓ 2 callersMethodserve_forever
(self)
policy/pi0/src/openpi/serving/websocket_policy_server.py:30
↓ 2 callersMethodserve_forever
(self)
policy/pi05/src/openpi/serving/websocket_policy_server.py:34
↓ 2 callersMethodset_instruction
(self, instruction=None)
envs/_base_task.py:564
↓ 2 callersMethodset_language_instruction
(self, language_instruction, save_dir=None, task_name=None)
policy/RDT/model.py:112
↓ 2 callersMethodset_normalizer
(self, normalizer: LinearNormalizer)
policy/DP/diffusion_policy/policy/base_image_policy.py:25
↓ 2 callersMethodset_normalizer
(self, normalizer: LinearNormalizer)
policy/DP3/3D-Diffusion-Policy/diffusion_policy_3d/policy/dp3.py:266
↓ 2 callersMethodset_num_images_in_input
Sets the number of input images for the vision backbone. Args: num_images_in_input: Number of images to expect in the in
policy/openvla-oft/prismatic/extern/hf/modeling_prismatic.py:177
↓ 2 callersMethodset_planner
(self, scene=None)
envs/robot/robot.py:257
↓ 2 callersMethodset_properties
(self, damping, stiffness, friction=None, force_limit=None)
envs/utils/actor_utils.py:151
↓ 2 callersFunctionset_seed
(seed)
policy/TinyVLA/data_utils/dataset.py:384
← previousnext →701–800 of 4,415, ranked by callers