MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 2 callersMethod_drain_pressed_keys
(self)
experiments/lerobot/src/lerobot/teleoperators/keyboard/teleop_keyboard.py:116
↓ 2 callersMethod_draw_button
(self, surf, rect, text)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:131
↓ 2 callersMethod_drop_trivial_attention_mask
(inputs: Mapping[str, Any])
experiments/olmo/hf_model/modeling_molmoact2.py:3882
↓ 2 callersMethod_embed_base_tokens
(self, input_ids: torch.Tensor)
experiments/olmo/hf_model/modeling_molmoact2.py:4085
↓ 2 callersMethod_enable_motor
Enable a single motor.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:359
↓ 2 callersMethod_encode_mit_packet
Encode an MIT control command payload from physical units.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:595
↓ 2 callersMethod_encode_sign
(self, data_name: str, ids_values: dict[int, int])
experiments/lerobot/src/lerobot/motors/motors_bus.py:898
↓ 2 callersMethod_ensure_dataset_loaded
(self)
experiments/olmo/data/lerobot_wrapper.py:1578
↓ 2 callersMethod_ensure_object_info
(self)
experiments/olmo/io.py:1022
↓ 2 callersMethod_example_str
(self, example)
experiments/olmo/data/dynamic_packer.py:423
↓ 2 callersFunction_expand_token
(token, batch_size: int)
experiments/olmo/nn/image_vit.py:112
↓ 2 callersFunction_extract_action_state
(state_dict: dict)
experiments/scripts/merge_lora.py:90
↓ 2 callersFunction_extract_action_vector
(action_value: Any)
experiments/scripts/run_open_loop_inference_lerobot.py:237
↓ 2 callersFunction_extract_discrete_token_bins
( generated_ids: List[int], start_token_id: int, end_token_id: int, token_id_to_bin: Dict[int,
experiments/olmo/hf_model/modeling_molmoact2.py:1366
↓ 2 callersFunction_extract_discrete_token_ids
( generated_ids: List[int], start_token_id: int, end_token_id: int, token_id_to_bin: Dict[int,
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:235
↓ 2 callersFunction_extract_first_image
(images: Any)
experiments/olmo/hf_model/modeling_molmoact2.py:1157
↓ 2 callersMethod_extract_images
(obs: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:305
↓ 2 callersMethod_extract_kv_states
( self, past_key_values: Cache )
experiments/olmo/hf_model/modeling_molmoact2.py:2891
↓ 2 callersFunction_extract_prompt_from_messages
(value: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:121
↓ 2 callersFunction_feature_dim_from_stats
(stats: Optional[Mapping[str, Any]])
experiments/olmo/hf_model/modeling_molmoact2.py:894
↓ 2 callersMethod_filter_frames_to_video
Filter frames_data to only include frames that match actual video timestamps. Uses numpy broadcasting for efficient comparison.
experiments/olmo/models/molmo/data_formatter.py:1422
↓ 2 callersMethod_find_episode_for_frame
Find the episode index for a given frame index.
experiments/lerobot/src/lerobot/policies/sarm/processor_sarm.py:103
↓ 2 callersMethod_find_single_motor
(self, motor: str, initial_baudrate: int | None = None)
experiments/lerobot/src/lerobot/motors/motors_bus.py:621
↓ 2 callersMethod_fk_target_world
returns wrist frame target to be used for G1 IK in 4x4 homogeneous transform. Takes offset into account.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:239
↓ 2 callersFunction_flatten_dataset_names
(names: List)
experiments/scripts/download_datasets.py:17
↓ 2 callersFunction_flatten_generated_token_ids
(token_ids: torch.Tensor)
experiments/olmo/hf_model/modeling_molmoact2.py:1354
↓ 2 callersMethod_format_image_points
Convert image points that are already sorted and scaled into a string
experiments/olmo/preprocessing/point_formatter.py:432
↓ 2 callersFunction_format_log_text
(text: str)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:297
↓ 2 callersMethod_format_raw_obs
(self, raw_obs: np.ndarray)
experiments/lerobot/src/lerobot/envs/metaworld.py:166
↓ 2 callersMethod_format_video_points_per_frame
Format points for a single frame in video as {id: [x, y], ...} Shared by: - `_format_video_point_track_per_frame`
experiments/olmo/preprocessing/point_formatter.py:710
↓ 2 callersFunction_frame_id
(model, name: str)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:36
↓ 2 callersMethod_from_keyboard_to_base_action
(self, pressed_keys: np.ndarray)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:271
↓ 2 callersMethod_further_process_kwargs
Update kwargs that need further processing before being validated Can be overridden by subclasses to customize the processing of kwar
experiments/olmo/hf_model/video_processing_molmoact2.py:585
↓ 2 callersFunction_gcs_file_size
(bucket_name: str, key: str)
experiments/olmo/io.py:621
↓ 2 callersMethod_generate_depth_prefix
( self, inputs: Mapping[str, Any], *, latest_first_image: Optional[np.ndarray]
experiments/olmo/hf_model/modeling_molmoact2.py:4227
↓ 2 callersMethod_generate_points
(self, msg_ix, image, rng, n_frames, width, height, point_r, check_r)
experiments/olmo/data/debug_pointing_datasets.py:109
↓ 2 callersMethod_generate_points
(self, msg_ix, images, rng, point_r, check_r)
experiments/olmo/data/debug_pointing_datasets.py:243
↓ 2 callersMethod_get_action_chunk
( self, batch: dict[str, Tensor], noise: Tensor | None = None, **kwargs: Unpack[ActionSelectKwargs]
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:273
↓ 2 callersMethod_get_action_chunk
(self, batch: dict[str, Tensor])
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:396
↓ 2 callersMethod_get_cached_value
Retrieve a specific value from the state cache.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:715
↓ 2 callersMethod_get_cached_value
Retrieve a specific value from the cache.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:603
↓ 2 callersFunction_get_dataset_name
(dataset: DeterministicDataset, metadata: Optional[dict[str, Any]])
experiments/olmo/data/iterable_dataset_mixture.py:26
↓ 2 callersMethod_get_dataset_root_path
(self)
experiments/olmo/data/lerobot_wrapper.py:1884
↓ 2 callersFunction_get_device_batch
(_worker_its, device_batch_size)
experiments/tests/data/test_data_iterator.py:72
↓ 2 callersFunction_get_dist_rank
()
experiments/olmo/data/lerobot_wrapper.py:795
↓ 2 callersMethod_get_feature_dim
( self, normalizer_mapping: Mapping[str, _FeatureNormalizer], stats_mapping: Mapping[s
experiments/olmo/data/robot_processing.py:340
↓ 2 callersMethod_get_full_annotation_file_path
Get the complete absolute path to the annotation file. Probably not override this in subclasses.
experiments/olmo/data/video_object_tracking_datasets.py:312
↓ 2 callersMethod_get_metadata_positive_int
(self, repo_id: Optional[str], key: str)
experiments/olmo/data/robot_processing.py:368
↓ 2 callersMethod_get_positive_int
(self, norm_tag: str, key: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1128
↓ 2 callersFunction_get_required_env_choice
(name: str, *, choices: Sequence[str])
experiments/olmo/data/lerobot_wrapper.py:605
↓ 2 callersMethod_get_robot_stats
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:3842
↓ 2 callersMethod_get_style
(self, rng)
experiments/olmo/data/vixmo_datasets.py:1707
↓ 2 callersFunction_has_coordinate_answer
Check if answer contains coordinate like (0.407, 0.852).
experiments/olmo/data/spatial_datasets.py:848
↓ 2 callersMethod_hf_cache_candidates
()
experiments/olmo/data/academic_datasets.py:561
↓ 2 callersFunction_hf_source_layout_from_config_dict
( config: Dict[str, Any], state_dict: Dict[str, torch.Tensor], )
experiments/olmo/train/checkpoint_loading.py:186
↓ 2 callersFunction_infer_batch_size
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:170
↓ 2 callersFunction_infer_batch_size
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:129
↓ 2 callersMethod_infinite_generator_over_elements
(rng: np.random.Generator, elements: list[int])
experiments/lerobot/src/lerobot/datasets/streaming_dataset.py:182
↓ 2 callersMethod_initialize_storage
Initialize the storage tensors based on the first transition.
experiments/lerobot/src/lerobot/rl/buffer.py:132
↓ 2 callersFunction_inject_lora_modules
(model: torch.nn.Module)
experiments/olmo/train/run_trainer.py:371
↓ 2 callersMethod_inspect_action_queue
(self)
experiments/lerobot/src/lerobot/async_inference/robot_client.py:218
↓ 2 callersMethod_intrinsic_from_hfov
(width: int, height: int, hfov_deg: float)
sim_eval/robots/bimanual_yam.py:83
↓ 2 callersFunction_is_scalar
(x)
experiments/lerobot/src/lerobot/utils/visualization_utils.py:47
↓ 2 callersMethod_item_to_tensors
(self, item: dict)
experiments/lerobot/src/lerobot/datasets/online_buffer.py:236
↓ 2 callersFunction_iter_exception_chain
(exc: Exception)
experiments/olmo/tokenizer.py:22
↓ 2 callersMethod_iter_random_indices
( rng: np.random.Generator, buffer_size: int, random_batch_size=100 )
experiments/lerobot/src/lerobot/datasets/streaming_dataset.py:175
↓ 2 callersMethod_load_as_safetensor
(cls, model: T, model_file: str, map_location: str, strict: bool)
experiments/lerobot/src/lerobot/policies/pretrained.py:136
↓ 2 callersFunction_load_camera_paths_from_dir
Collect sorted image paths from each camera subdir (left_rgb/, right_rgb/, front_rgb/). Returns a dict keyed by stripped camera name ("left", "ri
examples/yam/lerobot_convert.py:114
↓ 2 callersFunction_load_checkpoint_into_model
( model: torch.nn.Module, checkpoint_dir: str, *, strict: bool = True, )
experiments/scripts/merge_lora.py:59
↓ 2 callersMethod_load_depth_dataset_from_kwargs
(self, depth_kwargs: Dict[str, Any])
experiments/olmo/data/lerobot_wrapper.py:1613
↓ 2 callersMethod_load_proportions_from_json
Load temporal proportions from a JSON file (preserving order).
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:425
↓ 2 callersFunction_load_single_optimizer_state
Load a single optimizer's state from disk.
experiments/lerobot/src/lerobot/optim/optimizers.py:339
↓ 2 callersMethod_load_task_to_episode_pool
(self)
experiments/olmo/data/lerobot_wrapper.py:2021
↓ 2 callersFunction_load_unsharded_state_dict
(checkpoint_dir: str)
experiments/scripts/merge_lora.py:54
↓ 2 callersMethod_load_video_list
Load video list for a specific dataset (k600 or k700)
experiments/olmo/data/video_datasets.py:5166
↓ 2 callersFunction_logged_barrier
(label: str)
experiments/olmo/train/checkpoint_loading.py:106
↓ 2 callersMethod_make_depth_decode_attention_bias
( self, inputs: Mapping[str, Any], past_key_values: Cache )
experiments/olmo/hf_model/modeling_molmoact2.py:4052
↓ 2 callersMethod_make_timestamps_from_indices
( self, start_ts: float, indices: dict[str, list[int]] | None = None )
experiments/lerobot/src/lerobot/datasets/streaming_dataset.py:257
↓ 2 callersFunction_maybe_batchify_single_observation_batch
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:207
↓ 2 callersFunction_maybe_batchify_single_observation_batch
(batch: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:97
↓ 2 callersMethod_maybe_detach_action_expert_condition
( self, layer_states: Optional[Sequence[torch.Tensor]], layer_kv_states: Optional[Sequ
experiments/olmo/models/molmoact2/molmoact2.py:966
↓ 2 callersMethod_maybe_log_generated_text
( self, input_ids: Optional[torch.Tensor], generated_token_ids: Optional[torch.Tensor]
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:815
↓ 2 callersMethod_mit_control_batch
Send MIT control commands to multiple motors in batch. Sends all commands first, then collects responses. Args:
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:491
↓ 2 callersFunction_nonfinite_batch_rows
(tensor: Optional[torch.Tensor])
experiments/olmo/nn/action_expert.py:50
↓ 2 callersMethod_normalize
(self, ids_values: dict[int, int])
experiments/lerobot/src/lerobot/motors/motors_bus.py:838
↓ 2 callersFunction_normalize_action_with_policy
( policy_cfg: PreTrainedConfig, policy: torch.nn.Module, action: Any, *, repo_id: str, )
experiments/scripts/run_open_loop_inference_lerobot.py:442
↓ 2 callersFunction_normalize_image
(array: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:138
↓ 2 callersMethod_normalize_observation
Applies (un)normalization to all relevant features in an observation dictionary. Args: observation: The observation dict
experiments/lerobot/src/lerobot/processor/normalize_processor.py:242
↓ 2 callersFunction_normalize_style_sampling_rates
(raw_rates: Optional[object])
experiments/olmo/data/lerobot_wrapper.py:1019
↓ 2 callersMethod_obs_to_example
(self, obs: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:935
↓ 2 callersMethod_override_crop_mode
(self, model_config: MolmoConfig)
experiments/olmo/data/data_loader.py:160
↓ 2 callersFunction_parse_camera_names
Normalize camera_name into a non-empty list of strings.
experiments/lerobot/src/lerobot/envs/libero.py:35
↓ 2 callersFunction_parse_repo_spec
(raw_spec: str)
experiments/olmo/data/lerobot_wrapper.py:502
↓ 2 callersMethod_parse_timestamp
Parse timestamp string like '00:00:01.089' to seconds.
experiments/olmo/data/video_datasets.py:6216
↓ 2 callersMethod_pi_aloha_decode_state
(self, state)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:444
↓ 2 callersMethod_placeholder_canvas
(self, msg: str)
examples/yam/eval_utils.py:326
↓ 2 callersMethod_plot_denoising_steps_from_tracker
Plot denoising steps from tracker data. Args: tracked_steps: List of DebugStep objects containing debug steps xt_axs:
experiments/lerobot/examples/rtc/eval_dataset.py:785
↓ 2 callersFunction_plot_trajectory
( predicted: np.ndarray, gt_reference: np.ndarray, names: Sequence[str], out_path: Path, *
experiments/scripts/run_open_loop_inference_lerobot.py:757
↓ 2 callersFunction_populate_buffer_for_async_test
Create a small buffer with deterministic 3×128×128 images and 11-D state.
experiments/lerobot/tests/utils/test_replay_buffer.py:617
↓ 2 callersMethod_postprocess_image
Applies color conversion, dimension validation, and rotation to a raw color frame. Args: image (np.ndarray): The raw ima
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:416
← previousnext →1,201–1,300 of 8,779, ranked by callers