MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunctioncompute_sarm_progress
Compute SARM progress predictions for all frames in a dataset. Args: dataset_repo_id: HuggingFace dataset repo ID or local path
experiments/lerobot/src/lerobot/policies/sarm/compute_rabc_weights.py:463
↓ 1 callersFunctioncompute_stepwise_accuracy
(ground_truth, predictions, target_bbs)
experiments/olmo/eval/evaluators.py:396
↓ 1 callersFunctioncompute_tapvid_metrics
Computes TAP-Vid metrics (Jaccard, Pts. Within Thresh, Occ. Acc.) See the TAP-Vid paper for details on the metric computation. All inputs are
experiments/olmo/eval/point_tracking_utils.py:195
↓ 1 callersMethodcompute_yarn_inv_freq
(self, seq_len: int, dim: int, device: torch.device)
experiments/olmo/nn/llm.py:1169
↓ 1 callersMethodconditional_sample
( self, batch_size: int, global_cond: Tensor | None = None, generator: torch.G
experiments/lerobot/src/lerobot/policies/diffusion/modeling_diffusion.py:210
↓ 1 callersMethodconfigure
Apply any one-time or runtime configuration to the robot. This may include setting motor parameters, control modes, or initial state.
experiments/lerobot/src/lerobot/robots/robot.py:174
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/hope_jr/hope_jr_arm.py:119
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/hope_jr/hope_jr_hand.py:149
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:182
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/reachy2/robot_reachy2.py:139
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/so_follower/so_follower.py:155
↓ 1 callersMethodconfigure
Configure motors with appropriate settings.
experiments/lerobot/src/lerobot/robots/openarm_follower/openarm_follower.py:210
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/koch_follower/koch_follower.py:154
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/robots/omx_follower/omx_follower.py:137
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/teleoperators/koch_leader/koch_leader.py:134
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/teleoperators/omx_leader/omx_leader.py:115
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/teleoperators/so_leader/so_leader.py:127
↓ 1 callersMethodconfigure
(self)
experiments/lerobot/src/lerobot/teleoperators/openarm_mini/openarm_mini.py:247
↓ 1 callersMethodconfigure
Configure motors for manual teleoperation. For manual control, we disable torque so the arm can be moved by hand.
experiments/lerobot/src/lerobot/teleoperators/openarm_leader/openarm_leader.py:171
↓ 1 callersMethodconfigure_parameters
This long function is unfortunately doing something very simple and is being very defensive: We are separating out all parameters of
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:234
↓ 1 callersMethodconnect
(self, calibrate: bool = True)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:113
↓ 1 callersMethodconnect
Establish communication with the teleoperator. Args: calibrate (bool): If True, automatically calibrate the teleoperator
experiments/lerobot/src/lerobot/teleoperators/teleoperator.py:123
↓ 1 callersMethodconnect
Establish connection to the camera. Args: warmup: If True (default), captures a warmup frame before returning. Useful
experiments/lerobot/src/lerobot/cameras/camera.py:100
↓ 1 callersMethodconnect
Establish connection to the motors.
experiments/lerobot/src/lerobot/motors/motors_bus.py:66
↓ 1 callersMethodconnect
Open the CAN bus and initialize communication. Args: handshake: If True, ping all motors to verify they're present
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:159
↓ 1 callersMethodconnect
(self, *args)
experiments/lerobot/tests/test_cli_peft.py:167
↓ 1 callersFunctioncontrol_loop
Main control loop for robot environment interaction. if cfg.mode == "record": then a dataset will be created and recorded Args: env: The
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:571
↓ 1 callersMethodcontrol_loop_action
Reading and performing actions in local queue
experiments/lerobot/src/lerobot/async_inference/robot_client.py:371
↓ 1 callersMethodcontrol_loop_observation
(self, task: str, verbose: bool = False)
experiments/lerobot/src/lerobot/async_inference/robot_client.py:409
↓ 1 callersFunctionconvert_checkpoint
(base_dir: str, full_dir: str, output_dir: str)
experiments/scripts/merge_lora.py:138
↓ 1 callersFunctionconvert_config
Convert config to HF-compatible config
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:250
↓ 1 callersFunctionconvert_data
(root: Path, new_root: Path, data_file_size_in_mb: int)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:202
↓ 1 callersFunctionconvert_dataset
( repo_id: str, branch: str | None = None, data_file_size_in_mb: int | None = None, video_file
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:451
↓ 1 callersFunctionconvert_episodes_metadata
(root, new_root, episodes_metadata, episodes_video_metadata=None)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:408
↓ 1 callersFunctionconvert_info
(root, new_root, data_file_size_in_mb, video_file_size_in_mb)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:432
↓ 1 callersFunctionconvert_lerobot_dataset_to_cropped_lerobot_dataset
Converts an existing LeRobotDataset by iterating over its episodes and frames, applying cropping and resizing to image observations, and savi
experiments/lerobot/src/lerobot/rl/crop_dataset_roi.py:163
↓ 1 callersFunctionconvert_lm_head_and_prefix
( state_dict: dict[str, Any], base_model_prefix: str, weight_tying: bool )
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:486
↓ 1 callersFunctionconvert_model
Convert model to HF-compatible model
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:587
↓ 1 callersFunctionconvert_session_to_lerobot
Convert the labeled rollouts from this eval session into one LeRobot v3.0 dataset. Calls into the existing ``create_lerobot_dataset_v30`` so the
examples/yam/eval_utils.py:579
↓ 1 callersFunctionconvert_tasks
(root, new_root)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:172
↓ 1 callersFunctionconvert_videos
(root: Path, new_root: Path, video_file_size_in_mb: int)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:267
↓ 1 callersFunctionconvert_videos_of_camera
(root: Path, new_root: Path, video_key: str, video_file_size_in_mb: int)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:303
↓ 1 callersFunctionconvert_vision_backbone
(config)
experiments/olmo/nn/legacy_config.py:48
↓ 1 callersFunctioncosine_similarity_patches
(img_a: np.ndarray, img_b: np.ndarray, patch_size: int)
experiments/scripts/generate_depth_annotation.py:839
↓ 1 callersMethodcp_attention
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, attention_b
experiments/olmo/nn/llm.py:1859
↓ 1 callersFunctioncreate_camera_instance
Create and connect to a camera instance based on metadata.
experiments/lerobot/src/lerobot/scripts/lerobot_find_cameras.py:156
↓ 1 callersMethodcreate_commits
(self, additions)
experiments/lerobot/examples/port_datasets/slurm_upload.py:109
↓ 1 callersFunctioncreate_dataset_from_replay_buffer
(tmp_path)
experiments/lerobot/tests/utils/test_replay_buffer.py:77
↓ 1 callersFunctioncreate_dummy_data
()
experiments/lerobot/tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:189
↓ 1 callersFunctioncreate_dummy_data
()
experiments/lerobot/tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:188
↓ 1 callersFunctioncreate_empty_dataset_info
Create a template dictionary for a new dataset's `info.json`. Args: codebase_version (str): The version of the LeRobot codebase.
experiments/lerobot/src/lerobot/datasets/utils.py:794
↓ 1 callersFunctioncreate_episodes
(episodes_factory)
experiments/lerobot/tests/fixtures/files.py:154
↓ 1 callersFunctioncreate_hf_dataset
(hf_dataset_factory)
experiments/lerobot/tests/fixtures/files.py:165
↓ 1 callersMethodcreate_hf_dataset
(self)
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:931
↓ 1 callersFunctioncreate_info
(info_factory)
experiments/lerobot/tests/fixtures/files.py:124
↓ 1 callersFunctioncreate_libero_envs
Create vectorized LIBERO environments with a consistent return shape. Returns: dict[suite_name][task_id] -> vec_env (env_cls([...])
experiments/lerobot/src/lerobot/envs/libero.py:394
↓ 1 callersFunctioncreate_metaworld_envs
Create vectorized Meta-World environments with a consistent return shape. Returns: dict[task_group][task_id] -> vec_env (env_cls([..
experiments/lerobot/src/lerobot/envs/metaworld.py:272
↓ 1 callersFunctioncreate_original_observation_with_openpi_preprocessing
Create observation object for OpenPI using OpenPI's own preprocessing with pi05 state tokenizer.
experiments/lerobot/tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:254
↓ 1 callersFunctioncreate_original_observation_with_openpi_preprocessing
Create observation object for OpenPI using OpenPI's own preprocessing.
experiments/lerobot/tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:253
↓ 1 callersFunctioncreate_plugin_code
Creates a dummy plugin module that implements its own EnvConfig subclass.
experiments/lerobot/tests/configs/test_plugin_loading.py:28
↓ 1 callersFunctioncreate_pred_tracks_and_occlusions
Convert list of PointTrajectoryEntry to numpy arrays for evaluation. Args: trajectory_data: List of PointTrajectoryEntry dicts
experiments/olmo/eval/point_tracking_utils.py:151
↓ 1 callersFunctioncreate_sarm_prompt
(subtask_list: list[str])
experiments/lerobot/src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:166
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:83
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:80
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
1D sinusoidal positional embeddings as in Attention is All You Need. Args: num_positions: Number of token positions required. Returns
experiments/lerobot/src/lerobot/policies/act/modeling_act.py:666
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:80
↓ 1 callersFunctioncreate_stats
(stats_factory)
experiments/lerobot/tests/fixtures/files.py:134
↓ 1 callersFunctioncreate_tasks
(tasks_factory)
experiments/lerobot/tests/fixtures/files.py:144
↓ 1 callersFunctioncreate_test_interactions
Create test interactions for integration testing.
experiments/lerobot/tests/rl/test_actor_learner.py:49
↓ 1 callersFunctioncreate_test_prompt
(demo_prompt, query, response)
experiments/olmo/eval/math_vista_utils.py:119
↓ 1 callersFunctioncreate_test_prompt
(answers, response)
experiments/olmo/eval/llm_judge_utils.py:47
↓ 1 callersFunctioncreate_test_transitions
Create test transitions for integration testing.
experiments/lerobot/tests/rl/test_actor_learner.py:32
↓ 1 callersFunctioncreate_video_from_frames
Creates a video file from a sequence of frames in a directory. Args: frames_dir (str): Directory containing the frames start
experiments/olmo/data/video_datasets.py:49
↓ 1 callersFunctioncreate_video_from_frames
Creates a video file from a sequence of frames in a directory. Helper for kubric-style dataset Args: frames_dir (str): Directory
experiments/olmo/data/video_point_tracking_datasets.py:59
↓ 1 callersFunctioncreate_videos
(info_factory, img_array_factory)
experiments/lerobot/tests/fixtures/dataset_factories.py:322
↓ 1 callersFunctioncrop
Crop the given numpy array. Args: img (torch.Tensor): Image to be cropped. Format should be (C, H, W). left (int): The left coord
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:49
↓ 1 callersFunctioncrop_with_context
(img_shape, bbox, margin=0.2)
experiments/olmo/hf_datasets/clock_bench.py:12
↓ 1 callersFunctioncross_entropy_loss
( logits, labels, ignore_index: int = -100, reduction: str = "mean", compute_z_loss: bool = False, z_loss_
experiments/olmo/train/trainer.py:409
↓ 1 callersFunctioncustom_validate
(train_config: TrainPipelineConfig, policy_path: str, empty_cameras: int)
experiments/lerobot/tests/training/test_visual_validation.py:95
↓ 1 callersFunctiondebug
()
experiments/olmo/preprocessing/multiple_choice_templates.py:211
↓ 1 callersMethoddecode_actions_with_fast
Decodes action token IDs back to continuous action values using the FAST tokenizer. Args: token_ids: List of token IDs t
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1120
↓ 1 callersFunctiondecode_episode_images
( *, episode_index: int, rows: list[tuple[int, int]], dataset_root: Path, info: dict[str,
experiments/scripts/generate_depth_annotation.py:1040
↓ 1 callersFunctiondecode_image_cell
(cell: Any, dataset_root: Path)
experiments/scripts/generate_depth_annotation.py:819
↓ 1 callersFunctiondecode_key
(key: str)
experiments/olmo/safetensors_util.py:30
↓ 1 callersFunctiondecode_video_frames
(video_path: Path, from_timestamp: float, n_frames: int)
experiments/scripts/generate_depth_annotation.py:1019
↓ 1 callersFunctiondecode_video_frames_torchvision
Loads frames associated to the requested timestamps of a video The backend can be either "pyav" (default) or "video_reader". "video_reader" r
experiments/lerobot/src/lerobot/datasets/video_utils.py:157
↓ 1 callersMethoddefine_action_token_id
Define action token IDs based on tokenizer configuration. Creates mappings for fast action tokens, proprioception tokens, and genera
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:442
↓ 1 callersFunctiondelta_indices_factory
()
experiments/lerobot/tests/datasets/test_delta_timestamps.py:64
↓ 1 callersFunctiondemo_cli
Main entry point for RTC demo with draccus configuration.
experiments/lerobot/examples/rtc/eval_with_real_robot.py:435
↓ 1 callersFunctiondepth_image_to_tensor
(raw_bgr: np.ndarray, input_size: int, device: torch.device)
experiments/scripts/generate_depth_annotation.py:504
↓ 1 callersFunctiondetect_features_and_norm_modes
Infers policy features and normalization modes from the model config and stats. This function first attempts to find feature definitions and
experiments/lerobot/src/lerobot/processor/migrate_policy_normalization.py:125
↓ 1 callersMethoddetect_format
Heuristic to detect format of the prediction text.
experiments/olmo/eval/object_tracking_utils.py:137
↓ 1 callersFunctiondict_to_lowcmd
Convert dictionary back to LowCmd SDK message.
experiments/lerobot/src/lerobot/robots/unitree_g1/run_g1_server.py:84
↓ 1 callersFunctiondino_resize_and_pad
( image: np.ndarray, desired_output_size: Tuple[int, int], )
experiments/olmo/preprocessing/image_preprocessor.py:325
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_host.py:54
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:411
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/robots/reachy2/robot_reachy2.py:229
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_g1.py:367
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/teleoperators/reachy2_teleoperator/reachy2_teleoperator.py:174
↓ 1 callersMethoddisconnect
(self)
experiments/lerobot/src/lerobot/teleoperators/phone/teleop_phone.py:414
← previousnext →2,701–2,800 of 8,779, ranked by callers