MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunctionget_task_index
(tasks: datasets.Dataset, task: str)
experiments/lerobot/tests/fixtures/dataset_factories.py:56
↓ 1 callersFunctionget_task_init_states
(task_suite: Any, i: int)
experiments/lerobot/src/lerobot/envs/libero.py:70
↓ 1 callersFunctionget_task_instruction
Construct task instruction from available instruction fields using priority sampling. Args: frame_instruction_info: Dictionary containing
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:387
↓ 1 callersMethodget_temporal_token_scorer_parameters
(self)
experiments/olmo/models/model.py:163
↓ 1 callersFunctionget_tensor_memory_consumption
(tensor)
experiments/lerobot/tests/utils/test_replay_buffer.py:109
↓ 1 callersFunctionget_tensors_memory_consumption
(obj, visited_addresses)
experiments/lerobot/tests/utils/test_replay_buffer.py:113
↓ 1 callersMethodget_time_text
(self, record: logging.LogRecord)
experiments/olmo/util.py:373
↓ 1 callersFunctionget_trainable_params
Calculate the size of a PyTorch model in bytes.
experiments/olmo/train/run_trainer.py:69
↓ 1 callersFunctionget_training_mixture
(name)
experiments/launch_scripts/sft.py:367
↓ 1 callersFunctionget_training_mixture
(submixture)
experiments/launch_scripts/lerobot_utils/train_plan.py:252
↓ 1 callersMethodget_transparent_abc_image
(self, image, annotations)
experiments/olmo/hf_datasets/ai2d.py:121
↓ 1 callersFunctionget_type_arg
(field_name: str, args: Sequence[str] | None = None)
experiments/lerobot/src/lerobot/configs/parser.py:151
↓ 1 callersFunctionget_version_from_toml
Return the project's version string parsed from `pyproject.toml`. The function scans `pyproject.toml` line-by-line looking for a line that st
experiments/lerobot/setup.py:19
↓ 1 callersFunctionget_video_hash
Get a hash of the video path for consistent sharding.
experiments/scripts/extract_ego4d_clips.py:40
↓ 1 callersFunctionget_video_keys
(root)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:253
↓ 1 callersFunctionget_video_object_track_prompt_type
Resolve a prompt type by longest substring match. HACK: guarantees 'single_point_*' wins over 'point_*' without relying on a list order.
experiments/olmo/data/video_object_tracking_datasets.py:115
↓ 1 callersMethodget_video_path
Get the appropriate video path, preferring extracted clips when available.
experiments/olmo/data/video_datasets.py:6081
↓ 1 callersFunctionget_video_pixel_channels
(pix_fmt: str)
experiments/lerobot/src/lerobot/datasets/video_utils.py:1011
↓ 1 callersMethodget_video_string
( self, video_grid: np.ndarray, timestamps: np.ndarray, )
experiments/olmo/hf_model/processing_molmoact2.py:158
↓ 1 callersFunctionget_wallx_normal_text
Construct complete multimodal prompt text for Wall-X model. Formats input using special tokens including: - System message - User observa
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:435
↓ 1 callersFunctionget_wandb_run_id_from_filesystem
(log_dir: Path)
experiments/lerobot/src/lerobot/rl/wandb_utils.py:57
↓ 1 callersMethodget_window_index
(self, grid_thw)
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:488
↓ 1 callersFunctionglob
(path)
experiments/olmo/io.py:698
↓ 1 callersFunctiongpt_parser
(response, all_choices, index2ans)
experiments/olmo/eval/tomato_eval.py:14
↓ 1 callersMethodgradient_checkpointing_enable
Enable gradient checkpointing for memory optimization.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:596
↓ 1 callersMethodgradient_checkpointing_enable
Enable gradient checkpointing for memory optimization.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:328
↓ 1 callersMethodgradient_checkpointing_enable
Enable gradient checkpointing for memory optimization.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:592
↓ 1 callersMethodgripper_command
Return the current gripper command.
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:83
↓ 1 callersMethodgumbel
Sample `Gumbel(phi)`. `phi` should have shape `(batch_size, num_classes)`.
experiments/olmo/nn/beam_search.py:525
↓ 1 callersFunctiongumbel_noise
(t)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:966
↓ 1 callersFunctionhandle_convert_image_to_video
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:467
↓ 1 callersFunctionhandle_delete_episodes
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:278
↓ 1 callersMethodhandle_event
(self, e)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:98
↓ 1 callersFunctionhandle_info
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:541
↓ 1 callersFunctionhandle_merge
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:346
↓ 1 callersFunctionhandle_modify_tasks
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:424
↓ 1 callersFunctionhandle_remove_feature
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:389
↓ 1 callersFunctionhandle_resume_logic
Handle the resume logic for training. If resume is True: - Verifies that a checkpoint exists - Loads the checkpoint configuration
experiments/lerobot/src/lerobot/rl/learner.py:816
↓ 1 callersFunctionhandle_split
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:313
↓ 1 callersFunctionhas_quantile_stats
Check if dataset statistics already contain quantile information. Args: stats: Dataset statistics dictionary Returns: True i
experiments/lerobot/src/lerobot/datasets/v30/augment_dataset_quantile_stats.py:53
↓ 1 callersFunctionhomunculus_glove_to_hope_jr_hand
(glove_action: dict[str, float])
experiments/lerobot/src/lerobot/teleoperators/homunculus/joints_translation.py:29
↓ 1 callersFunctionhtml_rect
Utility method to get a HTML rectangle element
experiments/olmo/html_utils.py:549
↓ 1 callersFunctionimage_to_patches_and_grids
:return image_grids, the shape of each image after pooling :return crops, the image crops to processes with the ViT :return pooled_patch_
experiments/olmo/hf_model/video_processing_molmoact2.py:159
↓ 1 callersFunctionimage_to_patches_and_grids
:return image_grids, the shape of each (low-res, high-res) image after pooling :return crops, the image crops to processes with the ViT :
experiments/olmo/hf_model/image_processing_molmoact2.py:253
↓ 1 callersFunctionimg_key_mapping
Map image keys to camera names. Args: img_keys: List of image keys Returns: List of camera names
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:519
↓ 1 callersMethodimplicit_label
Label inferred from end_reason; ``None`` means 'ask the user'.
examples/yam/eval_utils.py:528
↓ 1 callersMethodinfer
Return the next action for obs and instruction.
sim_eval/inference/client.py:54
↓ 1 callersFunctioninfer_camera_shapes
Inspect one image per camera to determine H, W, C for the schema.
examples/yam/lerobot_convert.py:265
↓ 1 callersFunctioninfer_common_cameras
Use only cameras available (with at least 1 frame) in every episode.
examples/yam/lerobot_convert.py:284
↓ 1 callersMethodinference
(self, input_dict)
examples/yam/molmoact_client.py:124
↓ 1 callersMethodinit_embed_
(self, data, mask=None)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1238
↓ 1 callersFunctioninit_process_group
()
experiments/olmo/torch_util.py:46
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1021
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:254
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:1126
↓ 1 callersMethodinit_state
( self, start_class_log_probabilities: torch.Tensor, batch_size: int, num_classes: int )
experiments/olmo/nn/beam_search.py:435
↓ 1 callersMethodinit_state
( self, batch_size: int, )
experiments/olmo/nn/beam_search.py:851
↓ 1 callersMethodinit_visualization
Creates a browser-based visualization of exoskeleton and G1 robot, highlighting end-effector frames and target positions.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:190
↓ 1 callersMethodinit_weights
(self)
experiments/scripts/generate_depth_annotation.py:245
↓ 1 callersMethodinitialize_and_load_model
(self)
experiments/olmo/eval/model_evaluator.py:274
↓ 1 callersFunctioninitialize_offline_replay_buffer
Initialize an offline replay buffer from a dataset. Args: cfg (TrainRLServerPipelineConfig): Training configuration device (
experiments/lerobot/src/lerobot/rl/learner.py:975
↓ 1 callersFunctioninitialize_replay_buffer
Initialize a replay buffer, either empty or from a dataset if resuming. Args: cfg (TrainRLServerPipelineConfig): Training configurat
experiments/lerobot/src/lerobot/rl/learner.py:932
↓ 1 callersMethodinsert_bos
Args: input_ids: [B, S] array with left padding attention_mask: [B, S] array (0 for pad, 1 for valid) bos
experiments/olmo/hf_model/processing_molmoact2.py:191
↓ 1 callersFunctioninstall_excepthook
()
experiments/olmo/util.py:198
↓ 1 callersFunctioninstantiate_lerobot_pi0
( from_pretrained: bool = False, )
experiments/lerobot/tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:99
↓ 1 callersFunctioninstantiate_lerobot_pi05
( from_pretrained: bool = False, )
experiments/lerobot/tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:100
↓ 1 callersFunctioninstantiate_lerobot_pi0_fast
Instantiate LeRobot PI0Fast policy with preprocessor and postprocessor.
experiments/lerobot/tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:87
↓ 1 callersFunctioninstantiate_lerobot_xvla
Instantiate LeRobot XVLA policy with preprocessor and postprocessor.
experiments/lerobot/tests/policies/xvla/test_xvla_original_vs_lerobot.py:70
↓ 1 callersFunctioninstantiate_original_pi0
(from_pretrained: bool = False, model_path: str = None)
experiments/lerobot/tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:121
↓ 1 callersFunctioninstantiate_original_pi05
(from_pretrained: bool = False, model_path: str | None = None)
experiments/lerobot/tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:122
↓ 1 callersMethodinterpolate_pos_encoding
(self, x: Tensor, width: int, height: int)
experiments/scripts/generate_depth_annotation.py:250
↓ 1 callersMethodisPacketTimeout
(self)
experiments/lerobot/src/lerobot/motors/motors_bus.py:206
↓ 1 callersFunctionis_amp_available
(device: str)
experiments/lerobot/src/lerobot/utils/utils.py:121
↓ 1 callersMethodis_candidate_qa
(self, question: str, answer: str)
experiments/olmo/data/pixmo_datasets.py:1152
↓ 1 callersFunctionis_episode_successful
(tf_episode_metadata)
experiments/lerobot/examples/port_datasets/port_droid.py:245
↓ 1 callersFunctionis_float_in_list
(target, float_list, threshold=1e-6)
experiments/lerobot/src/lerobot/datasets/utils.py:1208
↓ 1 callersMethodis_indexed_token
(self, token: str)
experiments/olmo/extra_tokens.py:29
↓ 1 callersMethodis_point_in_mask
Check if a point is inside the mask.
experiments/olmo/eval/evaluators.py:3382
↓ 1 callersFunctionis_torch_device_available
(try_device: str)
experiments/lerobot/src/lerobot/utils/utils.py:107
↓ 1 callersFunctionis_valid_numpy_dtype_string
Return True if a given string can be converted to a numpy dtype.
experiments/lerobot/src/lerobot/utils/utils.py:247
↓ 1 callersFunctioniter_data_files
(dataset_root: Path)
experiments/scripts/generate_depth_annotation.py:1210
↓ 1 callersFunctioniter_decoded_episodes
( *, episodes: dict[int, list[tuple[int, int]]], dataset_root: Path, info: dict[str, Any],
experiments/scripts/generate_depth_annotation.py:1065
↓ 1 callersFunctioniter_namespace
(ns_pkg: ModuleType)
experiments/lerobot/src/lerobot/configs/parser.py:135
↓ 1 callersFunctionjoint_z_and_angle
Applies calibration to each joint: raw → centered → ellipse-to-circle → angle.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_calib.py:122
↓ 1 callersMethodkeep_in_eval
Quit means user explicitly wanted no label.
examples/yam/eval_utils.py:536
↓ 1 callersFunctionkeep_question_only
(text: str)
experiments/olmo/hf_datasets/mantis_instruct.py:34
↓ 1 callersFunctionkmeans
( samples, num_clusters, num_iters=10, sample_fn=batched_sample_vectors, all_reduce_fn=noo
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1102
↓ 1 callersFunctionlaplace_smoothing
(x, n_categories, eps=1e-5, dim=-1)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1013
↓ 1 callersMethodlatent_dynamics
Predict the next state's latent representation given a current latent and action. Args: z: (*, latent_dim) tensor for the current
experiments/lerobot/src/lerobot/policies/tdmpc/modeling_tdmpc.py:623
↓ 1 callersMethodlatest_checkpoint
Find the latest (sharded) checkpoint in a directory of checkpoints. :raises FileNotFoundError: If no checkpoints are found.
experiments/olmo/train/checkpointer.py:238
↓ 1 callersFunctionlegacy_load_episodes
(local_dir: Path)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:141
↓ 1 callersFunctionlegacy_load_episodes_stats
(local_dir: Path)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:146
↓ 1 callersFunctionlegacy_load_tasks
(local_dir: Path)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:154
↓ 1 callersFunctionlerobot_record
(args)
experiments/lerobot/tests/test_cli_peft.py:27
↓ 1 callersFunctionlerobot_tag_sampling_rate_metrics
( primary_mixture: List[KwargsMixture], *, vlm_mixture: Optional[List[KwargsMixture]] = None,
experiments/olmo/train/trainer.py:186
↓ 1 callersFunctionlinear_to_radian
(linear_position, arm_length, horn_radius)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:194
↓ 1 callersFunctionlistinstr
(lst, s, delimiter=None)
experiments/olmo/torch_util.py:218
↓ 1 callersFunctionllm_judge_score
(answers, pred, openai_api_key)
experiments/olmo/eval/llm_judge_utils.py:56
↓ 1 callersFunctionllm_output_to_rating
(llm_output: str)
experiments/olmo/eval/temp_compass_utils.py:72
↓ 1 callersMethodload
(self)
experiments/olmo/data/pixmo_datasets.py:1064
← previousnext →3,101–3,200 of 8,779, ranked by callers