MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunctionextract_video_points_start_end
Extract points from video_point_ground_start_end format prompt style. Text format example: 0: ([34.0, 63.0, 0.50], [35.0, 64.0, 1.00]
experiments/olmo/eval/object_tracking_utils.py:204
↓ 1 callersMethodextract_vision_info
(self, conversations: list[dict] | list[list[dict]])
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:500
↓ 1 callersFunctionf1_score
Compute F1 score from precision and recall. (Copied from olmo.eval.evaluators.py)
experiments/olmo/eval/object_tracking_utils.py:560
↓ 1 callersFunctionfetch_image
(ele: dict[str, str | Image.Image])
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:52
↓ 1 callersMethodfetch_videos
Convert a single or a list of urls into the corresponding `np.array` objects. If a single url is passed, the return value will be a
experiments/olmo/hf_model/video_processing_molmoact2.py:734
↓ 1 callersFunctionfilter_path_args
Filters command-line arguments related to fields with specific path arguments. Args: fields_to_filter (str | list[str]): A single st
experiments/lerobot/src/lerobot/configs/parser.py:161
↓ 1 callersFunctionfinalize_aggregation
Finalizes the dataset aggregation by writing summary files and statistics. Writes the tasks file, info file with total counts and splits, and
experiments/lerobot/src/lerobot/datasets/aggregate.py:627
↓ 1 callersFunctionfind_all_opencv_cameras
Finds all available OpenCV cameras plugged into the system. Returns: A list of all available OpenCV cameras with their metadata.
experiments/lerobot/src/lerobot/scripts/lerobot_find_cameras.py:49
↓ 1 callersFunctionfind_all_realsense_cameras
Finds all available RealSense cameras plugged into the system. Returns: A list of all available RealSense cameras with their metadat
experiments/lerobot/src/lerobot/scripts/lerobot_find_cameras.py:69
↓ 1 callersFunctionfind_and_print_cameras
Finds available cameras based on an optional filter and prints their information. Args: camera_type_filter: Optional string to filte
experiments/lerobot/src/lerobot/scripts/lerobot_find_cameras.py:91
↓ 1 callersMethodfind_cameras
Detects available Intel RealSense cameras connected to the system. Returns: List[Dict[str, Any]]: A list of dictionaries
experiments/lerobot/src/lerobot/cameras/realsense/camera_realsense.py:205
↓ 1 callersMethodfind_device
Look for the gamepad device by vendor and product ID.
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:343
↓ 1 callersFunctionfind_first_mask
(mask_list)
experiments/olmo/eval/object_tracking_utils.py:619
↓ 1 callersFunctionfind_first_padding_frame
Find the first padding frame for each batch. Args: pooled_patches_idx (torch.Tensor): Tensor of shape (B, NP, G) indicating the pooled pa
experiments/olmo/nn/temporal_image_vit.py:728
↓ 1 callersFunctionfind_float_index
(target, float_list, threshold=1e-6)
experiments/lerobot/src/lerobot/datasets/utils.py:1212
↓ 1 callersFunctionfind_free_port
Finds a free port on the local machine.
experiments/lerobot/tests/rl/test_actor_learner.py:64
↓ 1 callersFunctionfind_gt_box
(gt_coords, bb_centers, bb_sizes, bbs, strategy='center')
experiments/olmo/hf_datasets/android_control_utils.py:81
↓ 1 callersFunctionfind_joint_and_ee_bounds
(cfg: FindJointLimitsConfig)
experiments/lerobot/src/lerobot/scripts/lerobot_find_joint_limits.py:90
↓ 1 callersFunctionfind_missing_workers
Find workers that are not completed and returns their indices.
experiments/lerobot/examples/port_datasets/display_error_files.py:22
↓ 1 callersFunctionfind_out_of_range_token_ids
( token_ids: Sequence[int], max_token_id: Optional[int], )
experiments/olmo/extra_tokens.py:185
↓ 1 callersFunctionfind_port
()
experiments/lerobot/src/lerobot/scripts/lerobot_find_port.py:42
↓ 1 callersFunctionfind_source_video
Find the source video file, trying known extensions.
experiments/scripts/extract_coin_clips.py:37
↓ 1 callersMethodfind_video_path
(self, video_filename, all_files)
experiments/olmo/data/video_datasets.py:1552
↓ 1 callersFunctionfit_ellipse_opencv
Fit ellipse to (x,y) points using OpenCV. Returns center, axes, rotation matrix, and outline.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_calib.py:189
↓ 1 callersFunctionfix_options
(questions, questions_no_options, options)
experiments/olmo/hf_datasets/mantis_instruct.py:64
↓ 1 callersFunctionflatten_dict
(d: Dict)
experiments/olmo/safetensors_util.py:36
↓ 1 callersFunctionflatten_mesh
Flatten a multi-dimensional ``DeviceMesh`` into a 1D ``DeviceMesh``. :param device_mesh: The multi-dimensional ``DeviceMesh`` to flatten.
experiments/olmo/dist_util.py:237
↓ 1 callersMethodflow_loss
Compute flow matching loss (all computations in float32 for stability).
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:220
↓ 1 callersMethodformat_annotated_text
(self, answer, point_annotations)
experiments/olmo/models/molmo/data_formatter.py:866
↓ 1 callersMethodformat_answer_last_question
(self, question: str)
experiments/olmo/data/pixmo_datasets.py:1157
↓ 1 callersMethodformat_answer_last_question
(self, question: str, options: List[str], sep: str = ".")
experiments/olmo/data/pixmo_datasets.py:1235
↓ 1 callersMethodformat_data
(self, item: Dict[str, Any])
experiments/olmo/data/video_point_tracking_datasets.py:211
↓ 1 callersFunctionformat_dict_for_markdown
Formats a dictionary into a markdown-friendly bulleted list.
experiments/lerobot/src/lerobot/scripts/lerobot_info.py:112
↓ 1 callersMethodformat_image_boxes
Format bounding boxes for a single image. Args: boxes: Array of shape (N, 4) with (x1, y1, x2, y2) coordinates
experiments/olmo/preprocessing/box_formatter.py:31
↓ 1 callersMethodformat_messages
(cls, parts)
experiments/olmo/data/academic_datasets.py:1607
↓ 1 callersMethodformat_messages
Applies system formatting to ith message from a sequence of messages
experiments/olmo/models/molmo/data_formatter.py:1600
↓ 1 callersMethodformat_multi_image_points
Format multi-image points
experiments/olmo/preprocessing/point_formatter.py:47
↓ 1 callersMethodformat_multi_points
Format multi-image pointing and counting. Generates questions and answers for pointing to and counting objects across multiple images.
experiments/olmo/models/molmo/data_formatter.py:989
↓ 1 callersMethodformat_options_and_answer
(choices)
experiments/olmo/data/video_datasets.py:2329
↓ 1 callersMethodformat_options_and_answer
Format the options and answer for multiple choice questions.
experiments/olmo/data/video_datasets.py:2471
↓ 1 callersMethodformat_options_and_answer
(answer_idx, options)
experiments/olmo/data/video_datasets.py:2597
↓ 1 callersMethodformat_options_and_answer
(answer_idx, choices)
experiments/olmo/data/video_datasets.py:2756
↓ 1 callersMethodformat_options_and_answer
(answer_idx, choices)
experiments/olmo/data/video_datasets.py:2889
↓ 1 callersFunctionformat_timedelta
(td: timedelta)
experiments/olmo/util.py:750
↓ 1 callersFunctionformat_value
(value: float)
experiments/olmo/util.py:517
↓ 1 callersMethodformat_video_object_track_points
Format video points for tracking objects across frames. Keep only frames that match actual video timestamps. Sample frames at
experiments/olmo/models/molmo/data_formatter.py:1475
↓ 1 callersMethodformat_video_point_track_points
Format video points for tracking points across frames Input: example: dict with keys: style, points (list of dicts with
experiments/olmo/models/molmo/data_formatter.py:1568
↓ 1 callersMethodforward
Run the base VLM and (optionally) compute the action loss.
experiments/olmo/models/molmoact2/molmoact2.py:358
↓ 1 callersMethodforward
Training forward pass using Qwen2_5_VLMoEForAction. Args: batch: Dictionary containing preprocessed inputs from preproce
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:1930
↓ 1 callersMethodforward
(self, x)
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:702
↓ 1 callersMethodforward_attn_layer
( self, model_layers, inputs_embeds, layer_idx, position_ids,
experiments/lerobot/src/lerobot/policies/smolvla/smolvlm_with_expert.py:197
↓ 1 callersMethodforward_cross_attn_layer
( self, model_layers, inputs_embeds, layer_idx, position_ids,
experiments/lerobot/src/lerobot/policies/smolvla/smolvlm_with_expert.py:274
↓ 1 callersMethodforward_eagle
(self, vl_input: BatchFeature)
experiments/lerobot/src/lerobot/policies/groot/groot_n1.py:134
↓ 1 callersMethodforward_features
(self, x)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:637
↓ 1 callersMethodforward_indice
(self, encoding_indices: Tensor)
experiments/scripts/generate_depth_annotation.py:532
↓ 1 callersMethodforward_no_pruning
(self, x)
experiments/olmo/nn/temporal_image_vit.py:174
↓ 1 callersMethodfps_percentile
FPS corresponding to the p-th percentile time.
experiments/lerobot/src/lerobot/utils/utils.py:405
↓ 1 callersMethodfreeze_continuous_state_conditioning
(self)
experiments/olmo/nn/action_expert.py:724
↓ 1 callersFunctionfreeze_image_encoder
Freeze all parameters in the encoder
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:926
↓ 1 callersMethodfrom_dict
(cls, data: dict)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_calib.py:85
↓ 1 callersMethodfrom_pretrained
Load model from pretrained model path. Args: pretrained_model_path (str): Model directory path containing model.safetens
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:274
↓ 1 callersMethodfrom_pretrained
Load Groot policy from pretrained model. Handles two cases: 1. Base GR00T models (e.g., 'nvidia/GR00T-N1.5-3B') - loads the raw model
experiments/lerobot/src/lerobot/policies/groot/modeling_groot.py:100
↓ 1 callersMethodfrom_quat
Create rotation from quaternion. Args: quat: Quaternion [x, y, z, w] or [w, x, y, z] (specify convention in docstring)
experiments/lerobot/src/lerobot/utils/rotation.py:110
↓ 1 callersFunctionfunction_that_raises_exception
(dataset=None)
experiments/lerobot/tests/datasets/test_image_writer.py:360
↓ 1 callersFunctionfuzzy_matching
(pred: str)
experiments/olmo/eval/vsi_bench_utils.py:5
↓ 1 callersFunctiongaussian_sample_around_bbox_center
Generate a random point around the center of a bounding box using Gaussian distribution. The standard deviation is set to 1/3 * (1 - margin_p
experiments/olmo/data/pixmo_datasets.py:1371
↓ 1 callersFunctiongen_stage_emb
Generate one-hot stage embeddings from targets. Args: num_classes: Number of stage classes targets: Target values (B, T) whe
experiments/lerobot/src/lerobot/policies/sarm/modeling_sarm.py:335
↓ 1 callersMethodgenerate_actions
Generate an action trajectory via flow-matching integration.
experiments/olmo/models/molmoact2/molmoact2.py:502
↓ 1 callersMethodgenerate_actions
This function expects `batch` to have: { "observation.state": (B, n_obs_steps, state_dim) "observation.image
experiments/lerobot/src/lerobot/policies/diffusion/modeling_diffusion.py:284
↓ 1 callersFunctiongenerate_auto_sparse_annotations
Auto-generate single 'task' stage annotations for all episodes.
experiments/lerobot/src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:825
↓ 1 callersFunctiongenerate_episode_metadata_dict
( episodes_legacy_metadata, episodes_metadata, episodes_stats, episodes_videos=None )
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:374
↓ 1 callersFunctiongenerate_lerobot_frames
(tf_episode)
experiments/lerobot/examples/port_datasets/port_droid.py:250
↓ 1 callersMethodget
(self, item, epoch=0)
experiments/tests/data/test_data_iterator.py:33
↓ 1 callersMethodget
(self, idx, epoch=0)
experiments/olmo/data/dataset.py:75
↓ 1 callersMethodget
(self, item, rng)
experiments/olmo/data/dataset.py:132
↓ 1 callersMethodget
(self, item, rng)
experiments/olmo/data/molmo_hardcodes.py:77
↓ 1 callersMethodgetCurrentTime
(self)
experiments/lerobot/src/lerobot/motors/motors_bus.py:207
↓ 1 callersMethodgetData
(self, id, address, data_length)
experiments/lerobot/src/lerobot/motors/motors_bus.py:269
↓ 1 callersMethodget_abc_image
(self, image, annotations)
experiments/olmo/hf_datasets/ai2d.py:118
↓ 1 callersMethodget_action
(self)
experiments/lerobot/src/lerobot/teleoperators/phone/teleop_phone.py:408
↓ 1 callersMethodget_action
(self)
experiments/lerobot/src/lerobot/teleoperators/keyboard/teleop_keyboard.py:125
↓ 1 callersMethodget_action_dim
(self, norm_tag: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1112
↓ 1 callersMethodget_action_from_latent
(self, latent)
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:811
↓ 1 callersMethodget_action_horizon
(self, repo_id: Optional[str])
experiments/olmo/data/robot_processing.py:390
↓ 1 callersMethodget_action_horizon
(self, norm_tag: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1122
↓ 1 callersMethodget_action_horizon
(self)
examples/yam/molmoact_client.py:88
↓ 1 callersFunctionget_action_tokens
Convert normalized actions to action token strings. Args: normalized_actions: Normalized action arrays/tensors action_tokenizer:
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:542
↓ 1 callersFunctionget_aggregate_function
Get aggregate function by name from registry.
experiments/lerobot/src/lerobot/async_inference/configs.py:38
↓ 1 callersFunctionget_all_keys
(dicts)
experiments/olmo/util.py:500
↓ 1 callersFunctionget_audio_info
(video_path: Path | str)
experiments/lerobot/src/lerobot/datasets/video_utils.py:944
↓ 1 callersFunctionget_batch
()
experiments/tests/data/test_data_iterator.py:240
↓ 1 callersMethodget_buffered_example_ids
(self)
experiments/olmo/data/dynamic_packer.py:426
↓ 1 callersMethodget_by_example_id
Retrieve a dataset item by its example ID.
experiments/olmo/data/video_object_tracking_datasets.py:565
↓ 1 callersFunctionget_canonical_statements
(model_caption: str, openai_api_key: str)
experiments/olmo/eval/video_caption_utils.py:88
↓ 1 callersFunctionget_captioning_eval_result
(prompt: str, mc_answer: str, openai_api_key: str, maxtry: int=10)
experiments/olmo/eval/temp_compass_utils.py:139
↓ 1 callersFunctionget_causal_attention_bias
(cache: BufferCache, seq_len: int, device: torch.device)
experiments/olmo/nn/llm.py:1571
↓ 1 callersFunctionget_channel_first_image_shape
(image_shape: tuple)
experiments/lerobot/src/lerobot/utils/utils.py:233
↓ 1 callersFunctionget_chat_response
Run a query through an OpenAI model
experiments/olmo/eval/vixmo_caption_utils.py:15
↓ 1 callersFunctionget_chat_response
Run a query through an OpenAI model
experiments/olmo/eval/video_caption_utils.py:9
↓ 1 callersMethodget_chat_response
( self, prompt: str, sys_prompt: str = "You are a helpful assistant.",
experiments/olmo/eval/evaluators.py:1782
← previousnext →2,901–3,000 of 8,779, ranked by callers