MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 3 callersMethod_resolve_action_dim_for_tag
(handles: _MolmoHandles, norm_tag: Optional[str])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1144
↓ 3 callersMethod_resolve_episode_index
( self, frame: Dict[str, Any], mapped_index: Optional[int], )
experiments/olmo/data/lerobot_wrapper.py:1859
↓ 3 callersFunction_resolve_indexed_token_family
( tokenizer: Any, added_tokens: list[str], *, prefix: str, )
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:195
↓ 3 callersFunction_resolve_molmoact2_style
(policy_cfg: PreTrainedConfig, policy: torch.nn.Module)
experiments/scripts/run_open_loop_inference_lerobot.py:201
↓ 3 callersMethod_run_backbone
( self, output_hidden_states: bool, collect_layer_hidden_states: bool, collect
experiments/olmo/models/molmoact2/molmoact2.py:648
↓ 3 callersFunction_sanitize_filename
(text: str)
experiments/scripts/serve_policy.py:172
↓ 3 callersMethod_select_layer_kv_states
( self, layer_kv_states: Sequence[Tuple[torch.Tensor, torch.Tensor]], )
experiments/olmo/models/molmoact2/molmoact2.py:925
↓ 3 callersMethod_split_heads
(self, hidden_states, num_heads)
experiments/olmo/hf_model/modeling_molmoact2.py:1533
↓ 3 callersMethod_split_heads
(self, hidden_states, num_heads)
experiments/olmo/nn/image_vit.py:199
↓ 3 callersFunction_store_env_json_in_file
(name: str, payload: object)
experiments/launch_scripts/lerobot_utils/env.py:43
↓ 3 callersMethod_suggest_processor_migration
Raise migration error when we detect JSON files but no processor configs. This method is called when migration detection determines that a mo
experiments/lerobot/src/lerobot/processor/pipeline.py:1169
↓ 3 callersMethod_sync_write
( self, addr: int, length: int, ids_values: dict[int, int], num_retry:
experiments/lerobot/src/lerobot/motors/motors_bus.py:1246
↓ 3 callersFunction_to_numpy
(value: Any)
experiments/olmo/data/lerobot_wrapper.py:1092
↓ 3 callersFunction_to_pil
(arr: Any)
examples/yam/host_server_yam.py:220
↓ 3 callersFunction_to_pil
(arr: Any)
examples/yam/molmoact_client.py:327
↓ 3 callersMethod_uint_to_float
Convert unsigned integer from CAN to float.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:659
↓ 3 callersMethod_uint_to_float
Convert unsigned integer from CAN to float.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:536
↓ 3 callersMethod_val_from_pos
(self, x)
experiments/lerobot/src/lerobot/motors/calibration_gui.py:83
↓ 3 callersFunction_validate_config
(cfg: EditDatasetConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_edit_dataset.py:571
↓ 3 callersFunction_validate_continuous_action_training_args
(action_format: str)
experiments/launch_scripts/lerobot_utils/train_plan.py:184
↓ 3 callersFunction_validate_release_config
(model_config: BaseModelConfig, *, add_action_expert: bool = True)
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:173
↓ 3 callersFunction_write_parquet
Write DataFrame to parquet This ensures images are properly embedded and the file can be loaded correctly by HF datasets.
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:913
↓ 3 callersFunctionaggregate_feature_stats
Aggregates stats for a single feature.
experiments/lerobot/src/lerobot/datasets/compute_stats.py:565
↓ 3 callersMethodapply_fsdp2
Fully shard this model using `fully_shard`
experiments/olmo/models/molmo2/molmo2.py:273
↓ 3 callersFunctionapply_multimodal_rotary_pos_emb
Applies Rotary Position Embedding with Multimodal Sections to the query and key tensors (https://qwenlm.github.io/blog/qwen2-vl/). Explanation:
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:707
↓ 3 callersFunctionarange_for_pooling
( idx_arr: np.ndarray, pool_h: int, pool_w: int, )
experiments/olmo/hf_model/image_processing_molmoact2.py:240
↓ 3 callersMethodas_rotvec
Convert rotation to rotation vector. Returns: Rotation vector [x, y, z] where magnitude is angle in radians
experiments/lerobot/src/lerobot/utils/rotation.py:142
↓ 3 callersFunctionassert_dataset_content_integrity
Test that the content of both datasets is preserved correctly in the aggregated dataset.
experiments/lerobot/tests/datasets/test_aggregate.py:37
↓ 3 callersFunctionassert_episode_and_frame_counts
Test that total number of episodes and frames are correctly aggregated.
experiments/lerobot/tests/datasets/test_aggregate.py:27
↓ 3 callersFunctionassert_episode_indices_updated_correctly
Test that episode indices are correctly updated after aggregation.
experiments/lerobot/tests/datasets/test_aggregate.py:125
↓ 3 callersFunctionassert_metadata_consistency
Test that metadata is correctly aggregated.
experiments/lerobot/tests/datasets/test_aggregate.py:108
↓ 3 callersFunctionassert_video_timestamps_within_bounds
Test that all video timestamps are within valid bounds for their respective video files. This catches bugs where timestamps point to frames beyon
experiments/lerobot/tests/datasets/test_aggregate.py:185
↓ 3 callersMethodasync_read
Reads the latest available frame asynchronously. This method retrieves the most recent frame captured by the background read
experiments/lerobot/src/lerobot/cameras/opencv/camera_opencv.py:491
↓ 3 callersMethodbatch_shard
Shard inputs on their sequence dimension, optionally adding padding if needed. .. important:: If using intra-document ma
experiments/olmo/nn/cp_load_balancer.py:68
↓ 3 callersMethodbuild_added_tokens
(self, num_tokens: int)
experiments/olmo/extra_tokens.py:19
↓ 3 callersFunctionbuild_image_asset
(image_src, src_folder=None)
experiments/olmo/html_utils.py:191
↓ 3 callersMethodbuild_model
(self, device=None)
experiments/olmo/models/molmo2/molmo2.py:160
↓ 3 callersMethodbuild_optimizer
(self, max_grad_norm, max_grad_norm_ratio, model: nn.Module)
experiments/olmo/train/optim.py:200
↓ 3 callersMethodbuild_processor
(self)
experiments/olmo/data/robot_processing.py:462
↓ 3 callersMethodbuild_single_crop
(self, image, is_training, rng, image_size=None, apply_augmentation: bool = True)
experiments/olmo/preprocessing/image_preprocessor.py:458
↓ 3 callersFunctioncheck_interface_status
Check if CAN interface is UP and configured.
experiments/lerobot/src/lerobot/scripts/lerobot_setup_can.py:77
↓ 3 callersFunctioncheck_nan_in_transition
Check for NaN values in transition data. Args: observations: Dictionary of observation tensors actions: Action tensor
experiments/lerobot/src/lerobot/rl/learner.py:1048
↓ 3 callersMethodclear
Clears all processor steps from the registry.
experiments/lerobot/src/lerobot/processor/pipeline.py:138
↓ 3 callersMethodclose
(self)
examples/yam/eval_utils.py:464
↓ 3 callersMethodcompute
(self)
experiments/olmo/eval/evaluators.py:2603
↓ 3 callersFunctioncompute_area
(bbox: list, invalid: float=None)
experiments/olmo/eval/evaluators.py:1056
↓ 3 callersFunctioncompute_hash
(string: Union[str, bytes])
experiments/olmo/data/download_urls.py:54
↓ 3 callersFunctionconvert_image_to_video_dataset
Convert image-to-video dataset. Creates a new LeRobotDataset with images encoded as videos, following the proper LeRobot dataset structure wi
experiments/lerobot/src/lerobot/datasets/dataset_tools.py:1532
↓ 3 callersFunctionconvert_point_tracking_to_trajectory_format
Convert extracted point tracking data to standardized trajectory format. Args: points_data: List of dicts with 'time' and 'point
experiments/olmo/eval/object_tracking_utils.py:306
↓ 3 callersFunctioncreate_dummy_data
Create dummy data for testing both implementations.
experiments/lerobot/tests/policies/xvla/test_xvla_original_vs_lerobot.py:104
↓ 3 callersMethodcreate_episode_buffer
(self, episode_index: int | None = None)
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1141
↓ 3 callersFunctioncreate_observation_batch
(batch_size: int = 8, state_dim: int = 10)
experiments/lerobot/tests/policies/test_sac_policy.py:128
↓ 3 callersMethodcritic_forward
Forward pass through a critic network ensemble Args: observations: Dictionary of observations actions: Action tensor
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:100
↓ 3 callersFunctiondecode_sign_magnitude
https://en.wikipedia.org/wiki/Signed_number_representations#Sign%E2%80%93magnitude
experiments/lerobot/src/lerobot/motors/encoding_utils.py:29
↓ 3 callersFunctiondecode_twos_complement
https://en.wikipedia.org/wiki/Signed_number_representations#Two%27s_complement
experiments/lerobot/src/lerobot/motors/encoding_utils.py:59
↓ 3 callersFunctiondetect_available_hw_encoders
Probe PyAV/FFmpeg for available hardware video encoders.
experiments/lerobot/src/lerobot/datasets/video_utils.py:89
↓ 3 callersMethoddisable_torque
Disable torque on selected motors.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:391
↓ 3 callersMethoddisconnect
Cleans ZMQ comms
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:329
↓ 3 callersMethoddisconnect
Disconnects from the camera, stops the pipeline, and cleans up resources. Stops the background read thread (if running) and stops th
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:610
↓ 3 callersMethoddiscrete_critic_forward
Forward pass through a discrete critic network Args: observations: Dictionary of observations use_target: If True, us
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:122
↓ 3 callersFunctiondispatch_flash_attn
( q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, *, cu_seqlens: Optional[torch.Tensor]
experiments/olmo/nn/flash_attention_api.py:24
↓ 3 callersFunctiondownload_file
(url, filename)
experiments/olmo/hf_datasets/a_okvqa.py:40
↓ 3 callersFunctiondraw_points
(image, points)
experiments/scripts/unified_demo.py:58
↓ 3 callersMethodembed_language_tokens
(self, tokens: torch.Tensor)
experiments/lerobot/src/lerobot/policies/smolvla/smolvlm_with_expert.py:194
↓ 3 callersMethodembed_prefix_fast
Embed images, language tokens, and FAST action tokens. Attention pattern: - Images + Language: bidirectional among themselves
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:364
↓ 3 callersMethodenable_torque
Enable torque on selected motors.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:295
↓ 3 callersFunctionensure_multiple_of
(x: int, of: int)
experiments/olmo/util.py:60
↓ 3 callersFunctionescape_html
(text)
experiments/olmo/html_utils.py:63
↓ 3 callersFunctioneval_caption_consistency
( statements_list, category_list, data: Dict, openai_api_key: str, bat
experiments/olmo/eval/vixmo_caption_utils.py:230
↓ 3 callersFunctioneval_caption_recall
( prediction: str, data: Dict, openai_api_key: str, batch_size: int = -1 )
experiments/olmo/eval/vixmo_caption_utils.py:299
↓ 3 callersMethodextract_images_and_labels
Extract image tensors and label tensors from batch.
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:214
↓ 3 callersFunctionextract_multi_image_points
(text, image_w, image_h)
experiments/olmo/preprocessing/point_formatter.py:96
↓ 3 callersMethodextract_segment
Extract a segment from the video that contains the moment. Args: moment_start (float): Start time of the moment in second
experiments/olmo/data/video_datasets.py:3224
↓ 3 callersFunctionextract_state_from_raw_observation
Extract the state from a raw observation.
experiments/lerobot/src/lerobot/async_inference/helpers.py:115
↓ 3 callersMethodextract_trajectories
(self, text, width, height, video_fps, format=None)
experiments/olmo/preprocessing/point_formatter.py:59
↓ 3 callersFunctionfake_rgb
(h, w)
experiments/lerobot/tests/policies/pi0_fast/test_pi0_fast_original_vs_lerobot.py:138
↓ 3 callersMethodfinish
(self)
experiments/olmo/train/trainer.py:272
↓ 3 callersFunctionflatten_list
(lst)
experiments/olmo/util.py:506
↓ 3 callersMethodformat_input_timestamps
Format input timestamp as text
experiments/olmo/models/molmo/data_formatter.py:1726
↓ 3 callersMethodforward
Do a full training forward pass to compute the loss. Args: batch: Training batch containing observations and actions.
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:355
↓ 3 callersMethodforward
(self, x, size)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:256
↓ 3 callersMethodforward_kinematics
Compute forward kinematics for given joint configuration given the target frame name in the constructor. Args: joint_pos
experiments/lerobot/src/lerobot/model/kinematics.py:55
↓ 3 callersMethodfrom_config
(cls, config)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:654
↓ 3 callersMethodfrom_matrix
Create rotation from 3x3 rotation matrix. Args: matrix: 3x3 rotation matrix Returns: Rotation insta
experiments/lerobot/src/lerobot/utils/rotation.py:66
↓ 3 callersMethodfrom_pretrained
( cls: builtins.type["TrainPipelineConfig"], pretrained_name_or_path: str | Path, *,
experiments/lerobot/src/lerobot/configs/train.py:167
↓ 3 callersMethodfrom_rotvec
Create rotation from rotation vector using Rodrigues' formula. Args: rotvec: Rotation vector [x, y, z] where magnitude i
experiments/lerobot/src/lerobot/utils/rotation.py:38
↓ 3 callersFunctionfrom_tensor_to_numpy
Convert a PyTorch tensor to a numpy array or scalar if applicable. If the input is not a tensor, it is returned unchanged. Args:
experiments/lerobot/src/lerobot/processor/converters.py:140
↓ 3 callersFunctiongather_object
(obj: Any)
experiments/olmo/torch_util.py:277
↓ 3 callersMethodgenerate_actions_from_inputs
( self, *, input_ids: torch.LongTensor, pixel_values: Optional[torch.Tensor] =
experiments/olmo/hf_model/modeling_molmoact2.py:3177
↓ 3 callersMethodgenerate_inference_result_from_observations
( self, observations: List[Dict[str, Any]], *, norm_tag: Optional[str] = None,
experiments/lerobot/src/lerobot/policies/molmoact2/hf_backend.py:382
↓ 3 callersFunctionget_candidate_sampling_fps
Return the subset of `video_fps` factors that remain multiples of `sampling_fps`. Examples: >>> get_candidate_sampling_fps(video_fps
experiments/olmo/data/video_object_tracking_datasets.py:126
↓ 3 callersFunctionget_checkpoint_metadata
Load the metadata from a checkpoint. :param dir: The path/URL to the checkpoint.
experiments/olmo/train/distributed_checkpointing.py:587
↓ 3 callersFunctionget_checkpoint_wte_rows
(state_dict: Dict[str, torch.Tensor])
experiments/olmo/token_layout.py:177
↓ 3 callersFunctionget_default_thread_count
Get the default maximum number of threads allowed.
experiments/olmo/util.py:465
↓ 3 callersFunctionget_delta_indices
Convert delta timestamps in seconds to delta indices in frames. Args: delta_timestamps (dict): A dictionary of time deltas in seconds.
experiments/lerobot/src/lerobot/datasets/utils.py:877
↓ 3 callersFunctionget_device_ids
()
examples/yam/gello_min/realsense_camera.py:14
↓ 3 callersFunctionget_eval_result
(prompt: str, openai_api_key: str, maxtry: int=10, system_prompt: str=None)
experiments/olmo/eval/temp_compass_utils.py:103
↓ 3 callersFunctionget_frames_expected_order
Replicates the shuffling logic of StreamingLeRobotDataset to get the expected order of indices.
experiments/lerobot/tests/datasets/test_streaming.py:26
↓ 3 callersMethodget_input_embeddings
(self)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:1514
↓ 3 callersMethodget_input_embeddings
(self)
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:374
← previousnext →901–1,000 of 8,779, ranked by callers