MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunction_normalize_style_sampling_rates
(raw_rates: Optional[object])
experiments/launch_scripts/lerobot_utils/train_plan.py:375
↓ 1 callersFunction_pack_action_chunks
(chunks: List[Dict[str, Any]])
experiments/olmo/data/dynamic_packer.py:63
↓ 1 callersFunction_pack_depth_side_channels
(side_channels: List[Dict[str, Any]])
experiments/olmo/data/dynamic_packer.py:115
↓ 1 callersMethod_pad_action_to_max_dim
( self, action: Optional[np.ndarray], repo_id: str, )
experiments/olmo/data/lerobot_wrapper.py:2617
↓ 1 callersFunction_pad_action_to_max_horizon
( action: Optional[np.ndarray], *, tag_action_horizon: int, max_action_horizon: int, )
experiments/olmo/data/lerobot_wrapper.py:1279
↓ 1 callersMethod_pad_for_batching
Pads images on the `num_of_patches` dimension with zeros to form a batch of same number of patches. Args: pixel_values (
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:305
↓ 1 callersMethod_pad_for_patching
Pad an image to a target resolution while maintaining aspect ratio.
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:220
↓ 1 callersMethod_paligemma_tokens_to_act_tokens
Converts PaliGemma tokens back to action tokens (inverse of _act_tokens_to_paligemma_tokens). Args: tokens: PaliGemma to
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1108
↓ 1 callersFunction_parse_episode_frames
(episode_frames: Optional[str])
experiments/scripts/run_open_loop_inference_lerobot.py:255
↓ 1 callersFunction_parse_episode_list
(raw_episodes: str)
experiments/olmo/data/lerobot_wrapper.py:513
↓ 1 callersFunction_parse_image_resize
(value: Optional[str])
experiments/scripts/serve_policy.py:130
↓ 1 callersFunction_parse_image_resize
(value: Optional[str])
experiments/olmo/data/lerobot_wrapper.py:771
↓ 1 callersMethod_parse_observation_json
Parses the JSON observation string.
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:172
↓ 1 callersMethod_parse_qa
Extract options listed under a line containing 'Options:' or anywhere in the text. Returns: - the question text right before
experiments/olmo/hf_datasets/vlm3r.py:61
↓ 1 callersMethod_parse_request
( self, payload: Dict[str, Any], )
experiments/scripts/serve_policy.py:383
↓ 1 callersFunction_parse_state
(args)
experiments/scripts/inference_molmoact2.py:48
↓ 1 callersFunction_parse_state_payload
(state: Any, n_obs_steps: int)
experiments/scripts/serve_policy.py:177
↓ 1 callersMethod_parse_suspect_base_rows
(self, reason: str, batch_size: Optional[int])
experiments/olmo/train/trainer.py:690
↓ 1 callersFunction_patch_modeling_for_bf16
Patch the upstream `modeling_molmoact2.py` so the flow-matching trajectory inherits the model's dtype instead of being hardcoded to float32. W
examples/droid/host_server_droid.py:59
↓ 1 callersFunction_patch_modeling_for_bf16
Same idempotent patches as the DROID server. The dtype needle may no longer match newer revisions of `modeling_molmoact2.py` (and will warn ra
examples/yam/host_server_yam.py:68
↓ 1 callersFunction_patch_modeling_for_bf16
Idempotently rewrite the cached ``modeling_molmoact2.py`` so bf16 works. Most current YAM snapshots already ship with these fixes applied ups
examples/yam/molmoact_client.py:274
↓ 1 callersMethod_pi_aloha_encode_actions
(self, actions)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:453
↓ 1 callersMethod_pi_aloha_encode_actions_inv
(self, actions)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:462
↓ 1 callersFunction_pick_letter
(m: re.Match)
experiments/olmo/hf_datasets/mantis_instruct.py:60
↓ 1 callersMethod_plot_no_rtc_xt_reference
Plot final no-RTC x_t data as orange dashed line on the RTC chart for comparison. Args: no_rtc_tracked_steps: List of DebugStep o
experiments/lerobot/examples/rtc/eval_dataset.py:873
↓ 1 callersMethod_points_from_num_str
(self, text, image_w, image_h, extract_ids=False)
experiments/olmo/preprocessing/point_formatter.py:153
↓ 1 callersMethod_poll_and_get_latest_message
Polls the ZMQ socket for a limited time and returns the latest message string.
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:143
↓ 1 callersMethod_postprocess_image
Applies color conversion, dimension validation, and rotation to a raw frame. Args: image (np.ndarray): The raw image fra
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:388
↓ 1 callersFunction_postprocess_policy_action
(postprocessor: Any, action: Any)
experiments/scripts/run_open_loop_inference_lerobot.py:454
↓ 1 callersMethod_prep_lang
Prepare language embeddings for fusion. Accepts lang_emb of shape: - (B, text_emb_dim) -> broadcast across time
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:103
↓ 1 callersMethod_prep_lang
Prepare language embeddings for fusion.
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:238
↓ 1 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
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:2739
↓ 1 callersMethod_prepare_action_targets
(self, batch: dict[str, Tensor])
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:361
↓ 1 callersFunction_prepare_array_for_stats
Prepare array for statistics computation by reshaping according to axis. Args: array: Input data array axis: Axis or axes along w
experiments/lerobot/src/lerobot/datasets/compute_stats.py:363
↓ 1 callersMethod_prepare_cp_attention_qkv
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, position_id
experiments/olmo/nn/llm.py:1807
↓ 1 callersMethod_prepare_cp_inputs
( self, input_ids: torch.Tensor, labels: Optional[torch.Tensor] = None, input_
experiments/olmo/models/molmo2/molmo2.py:528
↓ 1 callersMethod_prepare_dir
(self, dir: PathOrStr, ensure_exists: bool = True)
experiments/olmo/train/checkpointer.py:359
↓ 1 callersMethod_prepare_images
(self, batch: dict[str, Tensor])
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:306
↓ 1 callersMethod_prepare_input_videos
( self, videos: VideoInput, **kwargs, )
experiments/olmo/hf_model/video_processing_molmoact2.py:816
↓ 1 callersMethod_prepare_kv_context
( self, encoder_kv_states: Sequence[Tuple[torch.Tensor, torch.Tensor]], )
experiments/olmo/hf_model/modeling_molmoact2.py:655
↓ 1 callersMethod_prepare_kv_context
( self, encoder_kv_states: Sequence[Tuple[torch.Tensor, torch.Tensor]], encoded_states
experiments/olmo/nn/action_expert.py:749
↓ 1 callersMethod_prepare_model
(self)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:579
↓ 1 callersMethod_prepare_state
(self, batch: dict[str, Tensor], batch_size: int, device: torch.device)
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:298
↓ 1 callersFunction_prepare_subprocess_environment_for_training
()
experiments/launch_scripts/lerobot_utils/env.py:53
↓ 1 callersMethod_preprocess
Preprocess a video for the model. Args: videos (`VideoInput`): Video to preprocess. size (`Si
experiments/olmo/hf_model/video_processing_molmoact2.py:861
↓ 1 callersFunction_process_ground_cua_example
Module-level helper function for multiprocessing in GroundCUA.load(). Must be at module level to be picklable.
experiments/olmo/data/pixmo_datasets.py:1671
↓ 1 callersMethod_process_observation
Processes both image and robot_state observations from LIBERO.
experiments/lerobot/src/lerobot/processor/env_processor.py:49
↓ 1 callersMethod_process_observation
Processes both image and policy state observations from IsaacLab Arena.
experiments/lerobot/src/lerobot/processor/env_processor.py:178
↓ 1 callersMethod_process_observation
Processes both image and state observations.
experiments/lerobot/src/lerobot/processor/observation_processor.py:94
↓ 1 callersMethod_process_observation
Processes both image and robot_state observations from LIBERO.
experiments/lerobot/src/lerobot/policies/xvla/processor_xvla.py:126
↓ 1 callersMethod_process_single_image
Processes a single NumPy image array into a channel-first, normalized tensor. Args: img: A NumPy array representing the
experiments/lerobot/src/lerobot/processor/observation_processor.py:55
↓ 1 callersMethod_quat2axisangle
Convert batched quaternions to axis-angle format. Only accepts torch tensors of shape (B, 4). Args: quat (Tensor
experiments/lerobot/src/lerobot/processor/env_processor.py:114
↓ 1 callersMethod_query_hf_dataset
Query dataset for indices across keys, skipping video keys. Tries column-first [key][indices] for speed, falls back to row-first.
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1020
↓ 1 callersMethod_query_server
(self, obs: dict, instruction: str)
sim_eval/inference/client.py:108
↓ 1 callersMethod_query_videos
Note: When using data workers (e.g. DataLoader with num_workers>0), do not call this function in the main process (e.g. by using a second Data
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1048
↓ 1 callersMethod_query_videos
Note: When using data workers (e.g. DataLoader with num_workers>0), do not call this function in the main process (e.g. by using a second Data
experiments/lerobot/src/lerobot/datasets/streaming_dataset.py:381
↓ 1 callersMethod_question_to_pointing_label
Convert question to pointing label/description.
experiments/olmo/data/spatial_datasets.py:1012
↓ 1 callersFunction_rate_sum
(mixture)
experiments/tests/test_molmoact2_mixture_smoke.py:11
↓ 1 callersMethod_read_firmware_version
(self, motor_ids: list[int], raise_on_error: bool = False)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:426
↓ 1 callersMethod_read_from_hardware
(self)
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:339
↓ 1 callersMethod_read_from_hardware
(self)
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:363
↓ 1 callersMethod_read_model_number
(self, motor_ids: list[int], raise_on_error: bool = False)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:445
↓ 1 callersMethod_reconstruct_sequences
(predictions, backpointers)
experiments/olmo/nn/beam_search.py:977
↓ 1 callersMethod_record_ranges_of_motion
Interactively record the min/max encoder values of each joint. Move the joints while the method streams live positions. Press :kbd:`Enter` to
experiments/lerobot/src/lerobot/teleoperators/homunculus/homunculus_arm.py:136
↓ 1 callersMethod_record_ranges_of_motion
Interactively record the min/max encoder values of each joint. Move the joints while the method streams live positions. Press :kbd:`Enter` to
experiments/lerobot/src/lerobot/teleoperators/homunculus/homunculus_glove.py:167
↓ 1 callersMethod_recv_status_via_clear_fault
Poll the bus for a response to a fault-clear request. Args: expected_recv_id: Only accept frames from this CAN ID when p
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:226
↓ 1 callersMethod_reduce_flow_matching_loss
( loss: torch.Tensor, packed_action_chunk_is_valid: Optional[torch.Tensor] = None, )
experiments/olmo/models/molmoact2/molmoact2.py:1251
↓ 1 callersFunction_refresh_deterministic_hf_buffers
Materialize deterministic buffers that are not present in the source OLMo checkpoint.
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:576
↓ 1 callersMethod_refresh_motor
Refresh motor status and return the response.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:341
↓ 1 callersMethod_register_handlers
Attach the internal _signal_handler to a subset of POSIX signals.
experiments/lerobot/src/lerobot/rl/process.py:54
↓ 1 callersMethod_remote_state_from_obs
Extracts frames, and state from the parsed observation.
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:195
↓ 1 callersMethod_remove_sharded_checkpoint
(self, idx: int, checkpoints: List[Path])
experiments/olmo/train/trainer.py:1425
↓ 1 callersFunction_remove_video_text
(text)
experiments/tests/data/test_preprocessor.py:8
↓ 1 callersMethod_replace_actions_queue
Replace the queue with new actions (RTC mode). Discards the first `real_delay` actions since they correspond to the time spent during
experiments/lerobot/src/lerobot/policies/rtc/action_queue.py:156
↓ 1 callersFunction_replace_submodules
Args: root_module: The module for which the submodules need to be replaced predicate: Takes a module as an argument and must retu
experiments/lerobot/src/lerobot/policies/diffusion/modeling_diffusion.py:536
↓ 1 callersFunction_replace_submodules
Args: root_module: The module for which the submodules need to be replaced predicate: Takes a module as an argument and must retu
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:725
↓ 1 callersFunction_require_discrete_action_tokenizer
( inference_action_mode: str, discrete_action_tokenizer: Optional[str], )
experiments/scripts/serve_policy.py:68
↓ 1 callersMethod_reset_parameters
Xavier-uniform initialization of the transformer parameters as in the original code.
experiments/lerobot/src/lerobot/policies/act/modeling_act.py:372
↓ 1 callersFunction_reshape_for_feature_stats
Reshape statistics for feature-wise computation (axis=(1,)).
experiments/lerobot/src/lerobot/datasets/compute_stats.py:307
↓ 1 callersFunction_reshape_for_global_stats
Reshape statistics for global reduction (axis=None).
experiments/lerobot/src/lerobot/datasets/compute_stats.py:319
↓ 1 callersFunction_reshape_for_image_stats
Reshape statistics for image data (axis=(0,2,3)).
experiments/lerobot/src/lerobot/datasets/compute_stats.py:286
↓ 1 callersFunction_reshape_for_vector_stats
Reshape statistics for vector data (axis=0 or axis=(0,)).
experiments/lerobot/src/lerobot/datasets/compute_stats.py:293
↓ 1 callersMethod_reshape_hidden_to_heads
(self, x: torch.Tensor)
experiments/olmo/hf_model/modeling_molmoact2.py:637
↓ 1 callersFunction_reshape_single_stat
Apply appropriate reshaping to a single statistic array. This function transforms statistic arrays to match expected output shapes based on t
experiments/lerobot/src/lerobot/datasets/compute_stats.py:330
↓ 1 callersFunction_reshape_stats_by_axis
Reshape all statistics to match NumPy's output conventions. Applies consistent reshaping to all statistics (except 'count') based on the axis
experiments/lerobot/src/lerobot/datasets/compute_stats.py:248
↓ 1 callersFunction_resize_1d_tensor
(tensor: torch.Tensor, target_length: int)
experiments/olmo/train/checkpoint_loading.py:584
↓ 1 callersMethod_resize_final_logits_bias
(self, new_num_tokens: int)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:2116
↓ 1 callersMethod_resize_for_patching
Resizes an image to a target resolution while maintaining aspect ratio. Args: image ("torch.Tensor"): Th
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:165
↓ 1 callersFunction_resize_image
(image, shape)
experiments/olmo/data/video_point_tracking_datasets.py:293
↓ 1 callersFunction_resize_image_array
(array: np.ndarray, size: Tuple[int, int])
experiments/scripts/serve_policy.py:154
↓ 1 callersFunction_resize_images
(images: List[np.ndarray], size: Tuple[int, int])
experiments/scripts/serve_policy.py:163
↓ 1 callersFunction_resize_images
( images: Union[np.ndarray, List[np.ndarray]], size: Tuple[int, int], )
experiments/olmo/data/lerobot_wrapper.py:1141
↓ 1 callersFunction_resize_token_vector_rows_for_layout
( tensor: torch.Tensor, *, key: str, target_layout: TokenLayout, source_layout: TokenLayou
experiments/olmo/train/checkpoint_loading.py:462
↓ 1 callersMethod_resolve_action_horizon_for_tag
(handles: _MolmoHandles, norm_tag: Optional[str])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1166
↓ 1 callersFunction_resolve_action_normalization_mask
( policy_cfg: PreTrainedConfig, policy: torch.nn.Module, normalizer_step: Optional[NormalizerProce
experiments/scripts/run_open_loop_inference_lerobot.py:524
↓ 1 callersFunction_resolve_action_policy_scale
( policy_cfg: PreTrainedConfig, policy: torch.nn.Module, normalizer_step: Optional[NormalizerProce
experiments/scripts/run_open_loop_inference_lerobot.py:472
↓ 1 callersMethod_resolve_annotated_task
( self, frame: Dict[str, Any], mapped_index: Optional[int], )
experiments/olmo/data/lerobot_wrapper.py:2188
↓ 1 callersMethod_resolve_annotated_task_for_frame
( self, frame: Dict[str, Any], mapped_index: Optional[int], rng: np.random.Gen
experiments/olmo/data/lerobot_wrapper.py:2300
↓ 1 callersMethod_resolve_base_camera_keys
( self, example: Dict[str, Any], rng: np.random.Generator, )
experiments/olmo/data/lerobot_wrapper.py:2313
↓ 1 callersFunction_resolve_checkpoint_archive
(checkpoint: PathOrStr, quiet: bool = False)
experiments/olmo/util.py:677
← previousnext →2,301–2,400 of 8,779, ranked by callers