MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersMethodget_clip_subtitles
Extract subtitles that overlap with the given time range.
experiments/olmo/data/video_datasets.py:3619
↓ 1 callersMethodget_code
(self, state)
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:819
↓ 1 callersFunctionget_collect_demos_logger
()
examples/yam/gello_min/logging_utils.py:40
↓ 1 callersMethodget_config
(self)
experiments/lerobot/src/lerobot/processor/policy_robot_bridge.py:39
↓ 1 callersMethodget_config
(self)
experiments/lerobot/src/lerobot/processor/policy_robot_bridge.py:61
↓ 1 callersMethodget_config
(self)
experiments/lerobot/src/lerobot/processor/rename_processor.py:53
↓ 1 callersMethodget_config
Returns the configuration of the step for serialization. Returns: A JSON-serializable dictionary of configuration parameters.
experiments/lerobot/src/lerobot/processor/pipeline.py:184
↓ 1 callersMethodget_config
(self)
experiments/lerobot/tests/processor/test_smolvla_processor.py:193
↓ 1 callersFunctionget_consistency_statements
( gt_caption: str, statements_str: str, openai_api_key: str )
experiments/olmo/eval/video_caption_utils.py:103
↓ 1 callersMethodget_continuous_state_conditioning_modules
(self)
experiments/olmo/nn/action_expert.py:721
↓ 1 callersMethodget_cp_buffers
(self, max_seq_len: int, device: torch.device)
experiments/olmo/nn/llm.py:1343
↓ 1 callersFunctionget_cp_mesh
Get the context parallel sub-mesh associated with a ``DeviceMesh`` created from :func:`build_world_mesh()`. :param device_mesh: The worl
experiments/olmo/dist_util.py:318
↓ 1 callersMethodget_decoder
Get a cached decoder or create a new one.
experiments/lerobot/src/lerobot/datasets/video_utils.py:267
↓ 1 callersFunctionget_default_device
Get the default device.
experiments/olmo/dist_util.py:377
↓ 1 callersMethodget_default_model_name
(cls)
experiments/olmo/models/model_config.py:84
↓ 1 callersMethodget_deltas
Get the current movement deltas (dx, dy, dz) in meters.
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:51
↓ 1 callersFunctionget_device_info
()
experiments/olmo/dist_util.py:48
↓ 1 callersFunctionget_directory_size
(directory: Path)
experiments/lerobot/benchmarks/video/run_video_benchmark.py:79
↓ 1 callersFunctionget_dp_mesh
Get the data parallel sub-mesh associated from a ``DeviceMesh`` created by :func:`build_world_mesh()`. .. important:: This is the me
experiments/olmo/dist_util.py:336
↓ 1 callersFunctionget_dp_model_mesh
Get the right sub-mesh for a data parallel model wrapper like FSDP or DDP from a ``DeviceMesh`` created by :func:`build_world_mesh()`. .
experiments/olmo/dist_util.py:148
↓ 1 callersFunctionget_dtype_from_parameters
Get a module's parameter dtype by checking one of its parameters. Note: assumes that all parameters have the same dtype.
experiments/lerobot/src/lerobot/policies/utils.py:59
↓ 1 callersMethodget_ego_exo_video_path
(self, item, row, egoexo_segment_id_to_camera_id)
experiments/olmo/data/video_datasets.py:241
↓ 1 callersFunctionget_elapsed_time_in_days_hours_minutes_seconds
(elapsed_time_s: float)
experiments/lerobot/src/lerobot/utils/utils.py:277
↓ 1 callersMethodget_embeddings_from_code
(self, encoding_indices)
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:803
↓ 1 callersMethodget_episode_end_status
Get the current episode end status. Returns: None if episode should continue, "success" or "failure" otherwise
experiments/lerobot/src/lerobot/teleoperators/gamepad/gamepad_utils.py:68
↓ 1 callersMethodget_episodes_file_paths
(self)
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:879
↓ 1 callersFunctionget_ffmpeg_version
Get the ffmpeg version if installed, otherwise return 'N/A'.
experiments/lerobot/src/lerobot/scripts/lerobot_info.py:37
↓ 1 callersFunctionget_file_size
Get the size of a local or remote file in bytes. :param path: Path/URL to the file.
experiments/olmo/io.py:87
↓ 1 callersFunctionget_float_dtype_by_name
(dtype)
experiments/olmo/eval/model_evaluator.py:56
↓ 1 callersMethodget_florence_config
Build (and cache) the Florence2 transformer config that should back the VLM.
experiments/lerobot/src/lerobot/policies/xvla/configuration_xvla.py:131
↓ 1 callersFunctionget_font_size
Get the font size based on the size of the image.
experiments/olmo/hf_datasets/ai2d.py:22
↓ 1 callersFunctionget_frame_coordinates_in_collage
Transform coordinates from original image to resized image with padding. Args: x_orig: X coordinate in original image y_
experiments/olmo/html_utils.py:67
↓ 1 callersFunctionget_frame_instruction
Extract frame-specific instruction from instruction dictionary. Args: instruction_info: Dictionary containing instruction components
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:345
↓ 1 callersMethodget_frame_selection_parameters
(self)
experiments/olmo/models/model.py:159
↓ 1 callersFunctionget_frame_times_and_chosen_fps
(selected_sampling_fps, total_frames, max_frames, video_fps)
experiments/olmo/data/video_loader.py:97
↓ 1 callersFunctionget_frame_times_and_chosen_fps
( selected_target_fps, total_frames, max_frames, video_fps )
experiments/olmo/hf_model/video_processing_molmoact2.py:536
↓ 1 callersFunctionget_frequency_stats
Get the frequency statistics of the policy. Args: timer (TimerManager): The timer with collected metrics. Returns: dict[str,
experiments/lerobot/src/lerobot/rl/actor.py:704
↓ 1 callersMethodget_gcs_blob
(resource: str)
experiments/olmo/io.py:980
↓ 1 callersFunctionget_gcs_url
(output_file)
experiments/olmo/eval/model_evaluator.py:75
↓ 1 callersFunctionget_gemma_config
Returns config for specified gemma variant.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:166
↓ 1 callersFunctionget_hf_model_config
(checkpoint: str, frame_loading_backend: str = "torchcodec_exact")
experiments/launch_scripts/lerobot_utils/hf.py:250
↓ 1 callersMethodget_html
(self)
experiments/olmo/eval/evaluators.py:88
↓ 1 callersFunctionget_image_from_lerobot_dataset
Find the first row in the dataset and extract the image in order to be used for the crop.
experiments/lerobot/src/lerobot/rl/crop_dataset_roi.py:151
↓ 1 callersFunctionget_image_keys
(root)
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:260
↓ 1 callersMethodget_image_tokens
(self, image_grid: np.ndarray)
experiments/olmo/hf_model/processing_molmoact2.py:112
↓ 1 callersFunctionget_image_truncation_token_ids
(tokenizer: Any)
experiments/olmo/preprocessing/sequence_length_utils.py:64
↓ 1 callersMethodget_intermediate_layers
( self, x: Tensor, n: Iterable[int], return_class_token: bool = True,
experiments/scripts/generate_depth_annotation.py:280
↓ 1 callersFunctionget_intermediate_size
(hidden_dim, ffn_dim_multiplier=4, multiple_of=256)
experiments/lerobot/src/lerobot/policies/smolvla/smolvlm_with_expert.py:54
↓ 1 callersMethodget_joint_pos
(self)
examples/yam/gello_min/yam.py:69
↓ 1 callersMethodget_joint_state
(self)
examples/yam/gello_min/robot.py:65
↓ 1 callersMethodget_joint_state
(self)
examples/yam/gello_min/yam.py:35
↓ 1 callersFunctionget_key_subresponses
(response)
experiments/olmo/eval/mmmu_eval_utils.py:165
↓ 1 callersMethodget_last
Get the most recent timing for a given timer name.
experiments/olmo/train/timer.py:88
↓ 1 callersMethodget_level_text
(self, record: logging.LogRecord)
experiments/olmo/util.py:378
↓ 1 callersFunctionget_libero_dummy_action
Get dummy/no-op action, used to roll out the simulation while the robot does nothing.
experiments/lerobot/src/lerobot/envs/libero.py:80
↓ 1 callersMethodget_location_text
(self, record: logging.LogRecord)
experiments/olmo/util.py:385
↓ 1 callersMethodget_max_grad_norm
( self, initial_max_grad_norm: Optional[float], step: int, max_steps: int )
experiments/olmo/train/optim.py:344
↓ 1 callersFunctionget_message
( images: list[Image.Image] | None, video_path: str | None, max_frames: int, frame_sample_mode
experiments/scripts/unified_demo.py:71
↓ 1 callersFunctionget_model
(checkpoint, model)
experiments/launch_scripts/sft.py:310
↓ 1 callersMethodget_model_layers
(self, models: list)
experiments/lerobot/src/lerobot/policies/smolvla/smolvlm_with_expert.py:389
↓ 1 callersFunctionget_most_similar
Use the Levenshtein distance (or edit distance) to determine which of the choices is most similar to the given prediction
experiments/olmo/eval/math_vista_utils.py:45
↓ 1 callersMethodget_multi_choice_info
Given the list of options for multiple choice question Return the index2ans and all_choices https://github.com/MMMU-Benchmark
experiments/olmo/eval/evaluators.py:2040
↓ 1 callersMethodget_n_action_steps
(self, norm_tag: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1125
↓ 1 callersFunctionget_node_rank
()
experiments/olmo/torch_util.py:66
↓ 1 callersMethodget_non_weight_decay_params
(self)
experiments/olmo/models/model.py:167
↓ 1 callersMethodget_number_tiles_based_on_image_size
Get the number of tiles based on the image size.
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:402
↓ 1 callersMethodget_obs
Return ``{cam_name: np.ndarray (H,W,3) uint8 RGB}`` with the latest frames.
examples/yam/camera_client.py:82
↓ 1 callersMethodget_observation
(self)
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi.py:341
↓ 1 callersMethodget_observation
Capture observations from the remote robot: current follower arm positions, present wheel speeds (converted to body-frame velocities:
experiments/lerobot/src/lerobot/robots/lekiwi/lekiwi_client.py:253
↓ 1 callersMethodget_observation
(self)
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_g1.py:412
↓ 1 callersMethodget_observations
(self)
examples/yam/gello_min/yam.py:60
↓ 1 callersMethodget_optim_params
(self)
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:60
↓ 1 callersMethodget_optimizer_preset
(self)
experiments/lerobot/src/lerobot/policies/sac/reward_model/configuration_classifier.py:61
↓ 1 callersMethodget_optimizer_preset
(self)
experiments/lerobot/src/lerobot/policies/diffusion/configuration_diffusion.py:214
↓ 1 callersMethodget_optimizer_preset
(self)
experiments/lerobot/src/lerobot/policies/act/configuration_act.py:154
↓ 1 callersMethodget_or_prepare_modulation_cache
( self, timesteps: Sequence[torch.Tensor], *, cache_key: Optional[Tuple[Any, .
experiments/olmo/hf_model/modeling_molmoact2.py:778
↓ 1 callersFunctionget_overlength_check
( example: dict[str, Any], max_length: Optional[int], image_truncation_token_ids: Iterable[int], )
experiments/olmo/preprocessing/sequence_length_utils.py:82
↓ 1 callersMethodget_param_groups
Separate parameters into connector/vit/llm weight decay and non weight decay groups.
experiments/olmo/train/optim.py:114
↓ 1 callersFunctionget_parquet_num_frames
(parquet_path: str | Path)
experiments/lerobot/src/lerobot/datasets/utils.py:128
↓ 1 callersFunctionget_parser
()
experiments/scripts/prepare_pretrained_model.py:582
↓ 1 callersFunctionget_path_arg
(field_name: str, args: Sequence[str] | None = None)
experiments/lerobot/src/lerobot/configs/parser.py:147
↓ 1 callersFunctionget_position_angle_vec
(position)
experiments/lerobot/src/lerobot/policies/act/modeling_act.py:675
↓ 1 callersFunctionget_recall_statements
( gt_statements: str, caption_str: str, openai_api_key: str )
experiments/olmo/eval/video_caption_utils.py:185
↓ 1 callersMethodget_replicate_and_shard_degree
(self, dp_world_size: int)
experiments/olmo/train/trainer_config.py:275
↓ 1 callersFunctionget_repo_versions
Return available valid versions (branches and tags) on a given Hub repo. Args: repo_id (str): The repository ID on the Hugging Face Hub.
experiments/lerobot/src/lerobot/datasets/utils.py:486
↓ 1 callersFunctionget_reward_model_path_from_parquet
Read reward_model_path from parquet metadata if available.
experiments/lerobot/src/lerobot/policies/sarm/compute_rabc_weights.py:66
↓ 1 callersMethodget_rope_buffers_for_cp
Get the RoPE buffers to pass to each layer.
experiments/olmo/models/molmo2/molmo2.py:350
↓ 1 callersMethodget_rope_index
Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: Each embedding se
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:1632
↓ 1 callersFunctionget_safe_dtype
mps is currently not compatible with float64
experiments/lerobot/src/lerobot/utils/utils.py:80
↓ 1 callersFunctionget_safe_dtype
Get a safe dtype for the given device type.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:70
↓ 1 callersFunctionget_safe_dtype
Get a safe dtype for the given device type.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:67
↓ 1 callersFunctionget_safe_wandb_artifact_name
WandB artifacts don't accept ":" or "/" in their name.
experiments/lerobot/src/lerobot/rl/wandb_utils.py:69
↓ 1 callersFunctionget_sampling_fps
Get the sampling fps that best spans the video and has the most frames sampled
experiments/olmo/data/video_loader.py:61
↓ 1 callersMethodget_segmentation_masks_for_example
Retrieve segmentation masks and metadata for a specific example. Args: example_id: Unique identifier for the vid
experiments/olmo/data/video_object_tracking_datasets.py:463
↓ 1 callersFunctionget_single_score
(result)
experiments/olmo/eval/tomato_eval.py:106
↓ 1 callersMethodget_size
(self, width: int, height: int)
experiments/scripts/generate_depth_annotation.py:484
↓ 1 callersMethodget_stats
Get statistics.
experiments/lerobot/src/lerobot/utils/rabc.py:279
↓ 1 callersFunctionget_sys_info
Run this to get basic system info to help for tracking issues & bugs.
experiments/lerobot/src/lerobot/scripts/lerobot_info.py:60
↓ 1 callersMethodget_system_prompt
(self, style, for_inference, messages, is_training, rng)
experiments/olmo/models/molmo/data_formatter.py:1626
↓ 1 callersFunctionget_target_fps
Get the target fps that best spans the video and has the most frames sampled
experiments/olmo/hf_model/video_processing_molmoact2.py:500
← previousnext →3,001–3,100 of 8,779, ranked by callers