MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersMethod_build_classifier_head
Initialize the classifier head architecture.
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:181
↓ 1 callersMethod_build_cross_attention_mask
( encoder_attention_mask: Optional[torch.Tensor], batch_size: int, dtype: torch.dtype,
experiments/olmo/hf_model/modeling_molmoact2.py:675
↓ 1 callersMethod_build_cross_attention_mask
( self, encoder_attention_mask: Optional[torch.Tensor], encoded_states: Optional[torch
experiments/olmo/nn/action_expert.py:798
↓ 1 callersFunction_build_depth_dataset
()
experiments/olmo/data/lerobot_wrapper.py:3096
↓ 1 callersMethod_build_depth_decode_graph
( self, next_input_ids: torch.Tensor, *, past_length: int, attention_b
experiments/olmo/hf_model/inference.py:423
↓ 1 callersFunction_build_depth_update_spans
( update_mask: Sequence[bool], )
experiments/olmo/hf_model/modeling_molmoact2.py:1229
↓ 1 callersMethod_build_discrete_action_processor
(processor_name: str)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:788
↓ 1 callersFunction_build_env
Build cameras + robot(s) + RobotEnv from the launch configs. Camera source is decided by the ``eval.camera_server.enabled`` flag in the left
examples/yam/launch_yaml_eval_molmoact.py:105
↓ 1 callersFunction_build_example
(images: List[np.ndarray], prompt: str, state: np.ndarray)
experiments/scripts/inference_molmoact2.py:114
↓ 1 callersFunction_build_example
( images: List[np.ndarray], task: str, normalized_state: Optional[np.ndarray], *, inferenc
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:301
↓ 1 callersFunction_build_ffmpeg_subprocess_env
()
experiments/olmo/torchcodec_utils.py:21
↓ 1 callersMethod_build_file_index
Scan parquet files and build index without loading data.
experiments/olmo/data/spatial_datasets.py:720
↓ 1 callersFunction_build_gains
Build kp and kd lists from body-part groupings.
experiments/lerobot/src/lerobot/robots/unitree_g1/config_unitree_g1.py:37
↓ 1 callersFunction_build_generation_batch
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:356
↓ 1 callersMethod_build_image_projection_layers
(self, config)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:2469
↓ 1 callersMethod_build_joint_map
(self, robot)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:173
↓ 1 callersFunction_build_kwargs_mixture_from_raw_mixture
(raw_mixture)
experiments/launch_scripts/lerobot_utils/train_plan.py:244
↓ 1 callersFunction_build_lora_config
(target_modules: list[str])
experiments/olmo/train/run_trainer.py:388
↓ 1 callersMethod_build_mixture
(self, preprocessor)
experiments/olmo/data/data_loader.py:278
↓ 1 callersMethod_build_native_attention_bias
( self, *, inputs_embeds: torch.Tensor, attention_mask: Optional[torch.Tensor]
experiments/olmo/hf_model/modeling_molmoact2.py:3637
↓ 1 callersFunction_build_observations
( images: List[np.ndarray], image_names: List[str], state: np.ndarray, instruction: str, )
experiments/scripts/serve_policy.py:225
↓ 1 callersFunction_build_open_box
Open-top box: square floor + 4 side walls, no lid.
sim_eval/tasks/droid_tasks/droid_put_everything_in_box.py:31
↓ 1 callersFunction_build_open_box
Open-top box: square floor + 4 side walls, no lid.
sim_eval/tasks/yam_tasks/bimanual_put_everything_in_box.py:29
↓ 1 callersMethod_build_panes
( self, frames: Optional[Dict[str, np.ndarray]], )
examples/yam/eval_utils.py:299
↓ 1 callersMethod_build_path_mapping
Build mapping from image paths to H5 file locations.
experiments/olmo/data/spatial_datasets.py:1270
↓ 1 callersMethod_build_peft_config
Build a PEFT config from policy defaults and CLI overrides.
experiments/lerobot/src/lerobot/policies/pretrained.py:381
↓ 1 callersFunction_build_policy
( checkpoint: str, *, use_hf_ckpt: bool, device: Optional[str], seq_len: Optional[int],
experiments/scripts/serve_policy.py:193
↓ 1 callersFunction_build_processors
(model_cfg, seq_len: int)
experiments/scripts/inference_molmoact2.py:100
↓ 1 callersFunction_build_robot_only_training_data_plan
( name: str, builder, robot_style_mixture: Dict[str, float], )
experiments/launch_scripts/lerobot_utils/train_plan.py:280
↓ 1 callersMethod_build_self_attention_mask
( self, action_attention_mask: Optional[torch.Tensor], seq_len: int, device: t
experiments/olmo/hf_model/modeling_molmoact2.py:685
↓ 1 callersMethod_build_self_attention_mask
( self, action_attention_mask: Optional[torch.Tensor], seq_len: int, device: t
experiments/olmo/nn/action_expert.py:826
↓ 1 callersMethod_build_sequential_send_fn
(packets: list[bytes])
experiments/lerobot/tests/mocks/mock_dynamixel.py:592
↓ 1 callersMethod_build_sequential_send_fn
(packets: list[bytes])
experiments/lerobot/tests/mocks/mock_feetech.py:440
↓ 1 callersMethod_build_steps_with_overrides
Build all processor steps with overrides and state loading. This method orchestrates the complete step construction pipeline: **For
experiments/lerobot/src/lerobot/processor/pipeline.py:712
↓ 1 callersFunction_build_vlm_data_cfg
( primary_data_cfg: DataLoaderConfig, *, vlm_mixture: List[KwargsMixture], args, )
experiments/launch_scripts/lerobot_utils/train_plan.py:219
↓ 1 callersFunction_cache_max_len_int
(past_key_values: Optional[Cache])
experiments/olmo/hf_model/inference.py:73
↓ 1 callersFunction_call_make_env
Ensure module exposes make_env and call it.
experiments/lerobot/src/lerobot/envs/utils.py:314
↓ 1 callersFunction_canonicalize_feature_names
(tag: str, key: str, names: Sequence[str])
experiments/launch_scripts/lerobot_utils/stats.py:227
↓ 1 callersMethod_cast_attn_bias
(cls, bias: torch.Tensor, input_dtype: torch.dtype)
experiments/olmo/nn/llm.py:1707
↓ 1 callersMethod_cast_attn_bias
(cls, bias: torch.Tensor, input_dtype: torch.dtype)
experiments/olmo/nn/ulysses.py:333
↓ 1 callersMethod_check_delays
Validate that computed delays match expectations. Compares the delay computed from inference latency with the actual number of action
experiments/lerobot/src/lerobot/policies/rtc/action_queue.py:199
↓ 1 callersMethod_check_get_actions_condition
(self)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:349
↓ 1 callersMethod_check_input
(self, sharpness)
experiments/lerobot/src/lerobot/datasets/transforms.py:122
↓ 1 callersFunction_check_teleop_with_events
Runtime check that a teleoperator implements the `HasTeleopEvents` protocol. Args: teleop: The teleoperator instance to check.
experiments/lerobot/src/lerobot/processor/hil_processor.py:77
↓ 1 callersFunction_checkpoint_archive_cache_dir
(archive: PathOrStr)
experiments/olmo/util.py:650
↓ 1 callersFunction_checkpoint_has_lora
(checkpoint_dir: str | None)
experiments/olmo/train/run_trainer.py:86
↓ 1 callersMethod_chunk_attention_mask
( self, encoder_attention_mask: Optional[torch.Tensor], subsegment_ids: Optional[torch
experiments/olmo/models/molmoact2/molmoact2.py:944
↓ 1 callersFunction_clean_param_name
(name: str)
experiments/olmo/train/optim.py:44
↓ 1 callersFunction_clone_static_context
(context: Any)
experiments/olmo/hf_model/inference.py:658
↓ 1 callersFunction_clone_static_inputs
(inputs: _ActionFlowInputs)
experiments/olmo/hf_model/inference.py:690
↓ 1 callersFunction_clone_static_modulations
(modulations: Sequence[Any])
experiments/olmo/hf_model/inference.py:674
↓ 1 callersFunction_collect_image_frames
(array: Any)
experiments/olmo/data/lerobot_wrapper.py:1159
↓ 1 callersFunction_collect_tagged_stats
( robot_mixture: List[KwargsMixture], *, root_base: Optional[str], tag_metadata_by_tag: Dict[s
experiments/launch_scripts/lerobot_utils/stats.py:417
↓ 1 callersFunction_colored
(logger: logging.Logger, color: str, msg: str)
examples/yam/gello_min/logging_utils.py:48
↓ 1 callersFunction_compare_observation_states
Check if two observation states are similar, under a tolerance threshold
experiments/lerobot/src/lerobot/async_inference/helpers.py:276
↓ 1 callersFunction_compile_episode_data
Convenience function for `eval_policy(return_episode_data=True)` Compiles all the rollout data into a Hugging Face dataset. Similar logic is
experiments/lerobot/src/lerobot/scripts/lerobot_eval.py:460
↓ 1 callersFunction_compute_basic_stats
Compute basic statistics for arrays with insufficient samples for quantiles. Args: array: Reshaped array ready for statistics computation
experiments/lerobot/src/lerobot/datasets/compute_stats.py:395
↓ 1 callersMethod_compute_delta
Compute progress delta for a single frame.
experiments/lerobot/src/lerobot/utils/rabc.py:210
↓ 1 callersFunction_compute_depth_update_mask
( current_image: np.ndarray, previous_image: np.ndarray, *, num_depth_codes: int, )
experiments/olmo/hf_model/modeling_molmoact2.py:1179
↓ 1 callersMethod_compute_flow_matching_loss
( self, actions: torch.Tensor, layer_states: Optional[Sequence[torch.Tensor]],
experiments/olmo/models/molmoact2/molmoact2.py:986
↓ 1 callersMethod_compute_global_stats
Compute global mean and std of progress deltas for weight calculation.
experiments/lerobot/src/lerobot/utils/rabc.py:117
↓ 1 callersMethod_compute_output_dim
(self)
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:535
↓ 1 callersMethod_compute_quantiles
Compute quantiles based on histograms.
experiments/lerobot/src/lerobot/datasets/compute_stats.py:157
↓ 1 callersMethod_compute_similarity_matrix
Compute similarity between predictions and GT for one frame. Similarity = 1 if point in mask, 0 otherwise. Returns:
experiments/olmo/eval/object_tracking_utils.py:866
↓ 1 callersMethod_compute_single_quantile
Compute a single quantile value from histogram and bin edges.
experiments/lerobot/src/lerobot/datasets/compute_stats.py:171
↓ 1 callersMethod_compute_task_progress
(self, frame: Dict[str, Any], mapped_index: Optional[int])
experiments/olmo/data/lerobot_wrapper.py:1800
↓ 1 callersMethod_compute_weights
Compute RA-BC weights from progress deltas. Following paper Eq. 8-9: - Soft weight: ˜wi = clip((ri − (µ − 2σ)) / (4σ + ε), 0
experiments/lerobot/src/lerobot/utils/rabc.py:235
↓ 1 callersFunction_concatenate_state_stats
( *, tag: str, merged: Dict[str, object], state_keys: Sequence[str], )
experiments/launch_scripts/lerobot_utils/stats.py:311
↓ 1 callersMethod_config_norm_tag
(config: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:546
↓ 1 callersMethod_configure_capture_settings
Applies the specified FOURCC, FPS, width, and height settings to the connected camera. This method attempts to set the camera proper
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:182
↓ 1 callersMethod_configure_capture_settings
Sets fps, width, and height from device stream if not already configured. Uses the color stream profile to update unset attributes. Handles r
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:294
↓ 1 callersMethod_configure_rs_pipeline_config
Creates and configures the RealSense pipeline configuration object.
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:276
↓ 1 callersMethod_consume_generation_tokens
( self, token_ids: torch.Tensor, *, past_key_values: Optional[Cache],
experiments/olmo/hf_model/modeling_molmoact2.py:4004
↓ 1 callersFunction_convert_if_any
Best-effort LeRobot conversion of this session's labeled rollouts.
examples/yam/launch_yaml_eval_molmoact.py:366
↓ 1 callersFunction_convert_nested_dict
(d)
experiments/lerobot/src/lerobot/envs/utils.py:37
↓ 1 callersFunction_copy_context_
(dst: Any, src: Any)
experiments/olmo/hf_model/inference.py:699
↓ 1 callersFunction_copy_data_with_feature_changes
Copy data while adding or removing features.
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:966
↓ 1 callersFunction_copy_data_without_images
Copy data files without image columns. Args: src_dataset: Source dataset dst_meta: Destination metadata episode_indices:
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1348
↓ 1 callersFunction_copy_episodes_metadata_and_stats
Copy episodes metadata and recalculate stats.
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1050
↓ 1 callersFunction_copy_inputs_
(dst: _ActionFlowInputs, src: _ActionFlowInputs)
experiments/olmo/hf_model/inference.py:714
↓ 1 callersMethod_copy_state
Copies the `state` . This method copies the data in `state` using `copy.deepcopy()`. If this is not appropriate for your constraint,
experiments/olmo/nn/beam_search.py:681
↓ 1 callersFunction_copy_videos
Copy video files, optionally excluding certain keys.
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1024
↓ 1 callersMethod_count_images
(images: Any)
experiments/olmo/hf_model/modeling_molmoact2.py:3892
↓ 1 callersFunction_create_action_norm_map_min_max
()
experiments/lerobot/tests/processor/test_normalize_processor.py:504
↓ 1 callersMethod_create_custom_attention_mask_fast
Create custom 2D attention mask. Attention rules: - Images + Language: bidirectional among themselves - FAST: attend to image
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:452
↓ 1 callersMethod_create_groot_model
Create and initialize the GR00T model using Isaac-GR00T API. This is only called when creating a NEW policy (not when loading from checkpoint
experiments/lerobot/src/lerobot/policies/groot/modeling_groot.py:70
↓ 1 callersMethod_create_message_list
Create message list for a single example, formatting point data based on prompt_type. Args: ex (dict): Dataset e
experiments/olmo/data/video_object_tracking_datasets.py:320
↓ 1 callersMethod_create_message_list
Create message list for MeVis dataset with points for object tracking. Args: ex (dict): Dataset example containi
experiments/olmo/data/video_point_tracking_datasets.py:572
↓ 1 callersMethod_create_single_encoder
(self)
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:164
↓ 1 callersFunction_create_smoke_video
(video_path: Path)
experiments/olmo/torchcodec_utils.py:39
↓ 1 callersFunction_cuda_graph_context_signature
(context: Any)
experiments/olmo/hf_model/inference.py:606
↓ 1 callersFunction_cuda_graph_key
(inputs: _ActionFlowInputs, steps: int)
experiments/olmo/hf_model/inference.py:634
↓ 1 callersFunction_cuda_graph_modulation_signature
(modulations: Sequence[Any])
experiments/olmo/hf_model/inference.py:619
↓ 1 callersMethod_debug_dump_root
(self)
experiments/olmo/train/trainer.py:674
↓ 1 callersFunction_debug_read
(camera, save_datastream=False)
examples/yam/gello_min/realsense_camera.py:178
↓ 1 callersMethod_decode_and_sample_videos
Decode input videos and sample frames if needed.
experiments/olmo/hf_model/video_processing_molmoact2.py:774
↓ 1 callersMethod_decode_discrete_action_chunk
( self, generated_token_ids: torch.Tensor, *, action_tokenizer: Any, a
experiments/olmo/hf_model/modeling_molmoact2.py:4402
↓ 1 callersFunction_decode_image
(payload_item: Any)
experiments/scripts/serve_policy.py:92
↓ 1 callersMethod_decode_image_from_b64
Decodes a base64 encoded image string to an OpenCV image.
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:180
↓ 1 callersMethod_decode_input_ids
(self, input_ids: Optional[torch.Tensor])
experiments/olmo/train/trainer.py:717
← previousnext →1,901–2,000 of 8,779, ranked by callers