MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersMethod_decode_motor_state
Decode motor state from CAN data. Returns: (position_deg, velocity_deg_s, torque, temp_mos, temp_rotor)
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:542
↓ 1 callersFunction_default_feature_mask
( stats: Dict[str, object], *, normalize_gripper: bool, )
experiments/launch_scripts/lerobot_utils/stats.py:250
↓ 1 callersMethod_degps_to_raw
(degps: float)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:208
↓ 1 callersMethod_depth_decode_last_post
( self, layer_idx: int, residual: torch.Tensor, attn_context: torch.Tensor,
experiments/olmo/hf_model/inference.py:414
↓ 1 callersMethod_depth_decode_post_and_pre_next
( self, layer_idx: int, residual: torch.Tensor, attn_context: torch.Tensor,
experiments/olmo/hf_model/inference.py:403
↓ 1 callersMethod_depth_decode_pre0
( self, token_ids: torch.Tensor, cos: torch.Tensor, sin: torch.Tensor, )
experiments/olmo/hf_model/inference.py:375
↓ 1 callersMethod_depth_gate_for_layer
( gate: Union[torch.Tensor, Sequence[torch.Tensor]], layer_idx: int, *, num_la
experiments/olmo/hf_model/modeling_molmoact2.py:3060
↓ 1 callersMethod_depth_gate_from_condition
( self, *, input_ids: Optional[torch.Tensor], encoder_attention_mask: Optional
experiments/olmo/hf_model/modeling_molmoact2.py:3020
↓ 1 callersMethod_depth_token_id_to_bin
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:3944
↓ 1 callersFunction_deserialize
Recursively overwrite the structure in `target` with data from `source`, performing strict checks on structure and type. Retu
experiments/lerobot/src/lerobot/utils/io_utils.py:44
↓ 1 callersMethod_detect_device
Detects the torch.device from existing tensors in the transition. It checks tensors in the observation dictionary first, then the ac
experiments/lerobot/src/lerobot/processor/tokenizer_processor.py:227
↓ 1 callersMethod_disable_motor
Disable a single motor.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:368
↓ 1 callersMethod_disable_torque
(self, motor: int, model: str, num_retry: int = 0)
experiments/lerobot/src/lerobot/motors/motors_bus.py:648
↓ 1 callersFunction_discretize_normalized_state
( state: np.ndarray, num_state_tokens: int )
experiments/olmo/hf_model/modeling_molmoact2.py:1271
↓ 1 callersFunction_discretize_uniform_values
( values: np.ndarray, *, min_value: float, max_value: float, num_tokens: int, nan_valu
experiments/olmo/extra_tokens.py:249
↓ 1 callersFunction_distributed_any_flag
(flag: bool, device: torch.device)
experiments/olmo/train/trainer.py:440
↓ 1 callersFunction_distributed_nonfinite_count
(param: torch.Tensor)
experiments/olmo/train/run_trainer.py:113
↓ 1 callersFunction_distributed_nonzero_count
(param: torch.Tensor)
experiments/olmo/train/run_trainer.py:101
↓ 1 callersFunction_download_dataset_by_name
(name: str, n_procs: int)
experiments/scripts/download_datasets.py:26
↓ 1 callersFunction_download_hub_file
Parse `cfg_str` (hub URL), enforce `trust_remote_code`, and return (repo_id, file_path, local_file, revision).
experiments/lerobot/src/lerobot/envs/utils.py:259
↓ 1 callersFunction_download_images
(args)
experiments/olmo/data/download_urls.py:61
↓ 1 callersMethod_drain_pressed_keys
Update current_pressed state from event queue without clearing held keys
experiments/lerobot/src/lerobot/teleoperators/keyboard/teleop_keyboard.py:353
↓ 1 callersMethod_draw_dropdown
(self)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:286
↓ 1 callersFunction_dummy_batch
Create a dummy batch using the new format with observation.* and next.* keys.
experiments/lerobot/tests/processor/test_batch_conversion.py:24
↓ 1 callersMethod_dump_nonfinite_micro_batch
( self, batch: Dict[str, Any], *, reason: str, micro_batch_index: int,
experiments/olmo/train/trainer.py:778
↓ 1 callersMethod_dynamic_frequency_update
dynamic RoPE layers should recompute `inv_freq` in the following situations: 1 - growing beyond the cached sequence length (allow sca
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:644
↓ 1 callersMethod_encode_images
Encode image features from cached observations. This function takes pre-encoded image features from the cache and applies spatial embeddings
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:592
↓ 1 callersMethod_encode_images_batch
Encode a batch of images using CLIP. Args: images: Batched images with shape: (B, T, C, H, W) Returns: Encod
experiments/lerobot/src/lerobot/policies/sarm/processor_sarm.py:399
↓ 1 callersMethod_encode_states
( self, states: Optional[torch.Tensor], )
experiments/olmo/nn/action_expert.py:728
↓ 1 callersMethod_encode_temporary_episode_video
Use ffmpeg to convert frames stored as png into mp4 videos. Note: `encode_video_frames` is a blocking call. Making it asynchronous sh
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1631
↓ 1 callersMethod_encode_text_clip
Encode text using CLIP text encoder (per SARM paper A.4). Args: text: Task description text to encode batch_size: Bat
experiments/lerobot/src/lerobot/policies/sarm/processor_sarm.py:450
↓ 1 callersMethod_enqueue_action_chunk
( self, action_queue: deque, action_chunk: torch.Tensor, handles: _MolmoHandle
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1523
↓ 1 callersMethod_enqueue_action_chunk
(action_queue: deque, action_chunk: torch.Tensor)
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:419
↓ 1 callersMethod_ensure_depth_dataset_for_camera_loaded
(self, camera_key: str)
experiments/olmo/data/lerobot_wrapper.py:1638
↓ 1 callersMethod_ensure_depth_dataset_loaded
(self)
experiments/olmo/data/lerobot_wrapper.py:1632
↓ 1 callersMethod_ensure_hf_dataset_loaded
Lazy load the HF dataset only when needed for reading.
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1069
↓ 1 callersFunction_ensure_in_path
(path: Path)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:43
↓ 1 callersFunction_ensure_process_group
()
experiments/scripts/merge_lora.py:40
↓ 1 callersMethod_ensure_window
(self)
examples/yam/eval_utils.py:363
↓ 1 callersFunction_episode_absolute_indices
( dataset: LeRobotDataset, episode_idx: int, episode_frames: Optional[tuple[int, int]] = None, )
experiments/scripts/run_open_loop_inference_lerobot.py:588
↓ 1 callersMethod_episode_camera_permutation
( self, base_camera_keys: Sequence[str], episode_index: int, )
experiments/olmo/data/lerobot_wrapper.py:2328
↓ 1 callersFunction_episode_range
(dataset: LeRobotDataset, episode_idx: int)
experiments/scripts/run_open_loop_inference_lerobot.py:248
↓ 1 callersFunction_estimate_environment_size_bytes
(env: Optional[Dict[str, str]] = None)
experiments/launch_scripts/lerobot_utils/env.py:30
↓ 1 callersFunction_estimate_frame_size_via_calibration
Estimate MB per frame by encoding a small calibration sample. Encodes a representative sample of frames using the exact codec parameters to m
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1258
↓ 1 callersFunction_evaluate_task
(env_id: str, client: MolmoActClientBase, config: EvalConfig)
sim_eval/run_eval.py:193
↓ 1 callersFunction_extract_action_chunk
(example: Dict[str, Any], example_ix: int)
experiments/olmo/data/dynamic_packer.py:41
↓ 1 callersFunction_extract_characters_regex
(s: str)
experiments/olmo/eval/vqa.py:393
↓ 1 callersFunction_extract_complementary_data
Extract complementary data from a batch dictionary. This includes padding flags, task description, and indices. Args: batch: Th
experiments/lerobot/src/lerobot/processor/converters.py:157
↓ 1 callersFunction_extract_coordinate_from_answer
Extract coordinate from answer like '(A) (0.407, 0.852)' -> (0.407, 0.852).
experiments/olmo/data/spatial_datasets.py:853
↓ 1 callersMethod_extract_depth_predictions
( self, input_ids: torch.Tensor, logits: torch.Tensor, response_mask: Optional
experiments/olmo/train/trainer.py:1522
↓ 1 callersFunction_extract_depth_side_channel
(example: Dict[str, Any], example_ix: int)
experiments/olmo/data/dynamic_packer.py:52
↓ 1 callersFunction_extract_feature_names
(feature_spec: object)
experiments/launch_scripts/lerobot_utils/stats.py:139
↓ 1 callersMethod_extract_image
( self, example: Dict[str, Any], keys_to_use: Sequence[str], )
experiments/olmo/data/lerobot_wrapper.py:2422
↓ 1 callersFunction_extract_input_frames
(obs: dict)
sim_eval/run_eval.py:126
↓ 1 callersFunction_extract_input_observation
(item: Dict[str, Any], input_keys: Sequence[str])
experiments/scripts/run_open_loop_inference_lerobot.py:376
↓ 1 callersMethod_extract_prompt_from_example
(example: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:994
↓ 1 callersMethod_extract_question
(self, example: Dict[str, Any])
experiments/olmo/data/lerobot_wrapper.py:2378
↓ 1 callersMethod_extract_state
(obs: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:319
↓ 1 callersMethod_extract_state_action
( self, example: Dict[str, Any], )
experiments/olmo/data/lerobot_wrapper.py:2444
↓ 1 callersMethod_extract_task
(obs: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:333
↓ 1 callersFunction_extract_task_text
Extract task text from common MolmoAct keys.
examples/yam/lerobot_convert.py:105
↓ 1 callersFunction_feature_dim_from_normalizer
(normalizer: Optional["_FeatureNormalizer"])
experiments/olmo/data/robot_processing.py:133
↓ 1 callersFunction_feature_dim_from_stats
(stats: Optional[Mapping[str, Any]])
experiments/olmo/data/robot_processing.py:147
↓ 1 callersFunction_feature_names_for_key
( key: str, stats: Dict[str, object], *, prefix: bool, )
experiments/launch_scripts/lerobot_utils/stats.py:291
↓ 1 callersMethod_filter_all_but_start_end
(frames_data: List[PointTrajectoryEntry])
experiments/olmo/preprocessing/point_formatter.py:358
↓ 1 callersMethod_filter_for_initial_points
Filter frames_data to only include points AFTER initial_points Args: frames_data: List of frame data with points
experiments/olmo/preprocessing/point_formatter.py:334
↓ 1 callersFunction_filter_hf_loadable_features
( features: Dict[str, Dict[str, object]], *, repo_id: str, )
experiments/olmo/data/lerobot_wrapper.py:402
↓ 1 callersMethod_find_exo_ee
(self, model, ee_name: str = "ee")
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:164
↓ 1 callersFunction_find_extracted_checkpoint_dir
(extract_dir: Path)
experiments/olmo/util.py:668
↓ 1 callersMethod_find_file_and_row
Binary search to find which file contains the given index.
experiments/olmo/data/spatial_datasets.py:754
↓ 1 callersFunction_find_file_not_found_error
(exc: BaseException)
experiments/olmo/preprocessing/multimodal_preprocessor.py:32
↓ 1 callersMethod_find_human_readable_label
Find the original human-readable label for a normalized label.
experiments/olmo/models/molmo/data_formatter.py:859
↓ 1 callersMethod_find_image_path
Find image path across part directories.
experiments/olmo/data/spatial_datasets.py:1400
↓ 1 callersMethod_find_initial_points
Find initial points from their first visible frame. Used for findinig inital query points to track for point tracking Return
experiments/olmo/models/molmo/data_formatter.py:1367
↓ 1 callersFunction_find_nested_value
(value: Any, key: str)
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:55
↓ 1 callersFunction_find_normalizer_step
(preprocessor: Any)
experiments/scripts/run_open_loop_inference_lerobot.py:391
↓ 1 callersMethod_find_serial_number_from_name
Finds the serial number for a given unique camera name.
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:255
↓ 1 callersMethod_find_single_motor_p0
(self, motor: str, initial_baudrate: int | None = None)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:175
↓ 1 callersMethod_find_single_motor_p1
(self, motor: str, initial_baudrate: int | None = None)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:197
↓ 1 callersMethod_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:1083
↓ 1 callersMethod_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:984
↓ 1 callersMethod_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:1054
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:1018
↓ 1 callersFunction_flatten
(xs, prefix)
experiments/scripts/prepare_pretrained_model.py:29
↓ 1 callersFunction_force_resize_crop_mode
(model_cfg)
experiments/scripts/inference_molmoact2.py:86
↓ 1 callersFunction_force_resize_crop_mode
(model_cfg: Any)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:371
↓ 1 callersFunction_format
(val)
experiments/olmo/util.py:577
↓ 1 callersFunction_format_bytes
(num: Union[int, float], suffix="B")
experiments/olmo/io.py:487
↓ 1 callersMethod_format_video_point_start_end
Format as: id: ([x1,y1,t1], [x2,y2,t2])
experiments/olmo/preprocessing/point_formatter.py:761
↓ 1 callersMethod_format_video_point_track_all_frames_with_occlusion
Format as time {t}\n{id: [x, y, occluded], ...}
experiments/olmo/preprocessing/point_formatter.py:816
↓ 1 callersMethod_format_video_point_track_per_frame
Format as: time {t}\n{id: [x, y], ...}
experiments/olmo/preprocessing/point_formatter.py:745
↓ 1 callersMethod_format_video_single_point_track
Format as: [x1,y1,t1], [x2,y2,t2], ...
experiments/olmo/preprocessing/point_formatter.py:796
↓ 1 callersFunction_fractions_to_episode_indices
Convert split fractions to episode indices.
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:445
↓ 1 callersMethod_freeze_encoder
Freeze the encoder parameters.
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:159
↓ 1 callersMethod_frozen_joint_indices
(self)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:154
↓ 1 callersFunction_gcs_clear_directory
(bucket_name: str, prefix: str)
experiments/olmo/io.py:680
↓ 1 callersFunction_gcs_get_bytes_range
(bucket_name: str, key: str, bytes_start: int, num_bytes: int)
experiments/olmo/io.py:636
↓ 1 callersFunction_gcs_list_directory
( bucket_name: str, prefix: str, recurse: bool = False, include_files: bool = True, includ
experiments/olmo/io.py:719
↓ 1 callersFunction_gcs_upload
(source: Path, bucket_name: str, key: str, save_overwrite: bool = False)
experiments/olmo/io.py:655
↓ 1 callersMethod_generate_depth_conditioned_actions
( self, collated: Dict[str, Any], handles: _MolmoHandles, *, action_di
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1242
← previousnext →2,001–2,100 of 8,779, ranked by callers