MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunctionremove_normalization_layers
Creates a new state_dict with all normalization-related layers removed. This function filters the original state dictionary, excluding any k
experiments/lerobot/src/lerobot/processor/migrate_policy_normalization.py:250
↓ 1 callersFunctionrename_vlm_train_metrics
(metrics: Dict[str, Any])
experiments/olmo/train/trainer.py:175
↓ 1 callersMethodrender
Display robot camera feeds.
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:281
↓ 1 callersMethodrender
Render the current environment frame. Returns: np.ndarray: The rendered RGB image from the environment.
experiments/lerobot/src/lerobot/envs/metaworld.py:139
↓ 1 callersMethodrender_message
(self, *, record: logging.LogRecord, message: str)
experiments/olmo/util.py:363
↓ 1 callersFunctionreplace_action_token
Replace action placeholders in text with actual action tokens. Args: text: List of text strings with action placeholders norm_act
experiments/lerobot/src/lerobot/policies/wall_x/utils.py:590
↓ 1 callersMethodreplace_media_placeholder
( self, text, image_list, video_list, timestamps_list, fps_list, **output_kwargs )
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:167
↓ 1 callersMethodreplace_placehoders_by_source
(self, question: str, source: str)
experiments/olmo/data/academic_datasets.py:1485
↓ 1 callersFunctionreplay
(cfg: ReplayConfig)
experiments/lerobot/examples/backward_compatibility/replay.py:75
↓ 1 callersFunctionreplay_trajectory
Replay recorded trajectory on robot environment.
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:743
↓ 1 callersMethodreset
(self)
experiments/olmo/eval/loss_evaluator.py:46
↓ 1 callersMethodreset
(self)
experiments/lerobot/src/lerobot/utils/utils.py:366
↓ 1 callersMethodreset
Resets the internal state of the processor step, if any.
experiments/lerobot/src/lerobot/processor/pipeline.py:208
↓ 1 callersMethodreset
Resets the state of all stateful steps in the pipeline.
experiments/lerobot/src/lerobot/processor/pipeline.py:1288
↓ 1 callersMethodreset
Clear observation and action queues. Should be called on `env.reset()`
experiments/lerobot/src/lerobot/policies/diffusion/modeling_diffusion.py:82
↓ 1 callersMethodreset
Reset internal state - called when environment resets.
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:1144
↓ 1 callersMethodreset
Clear observation and action queues. Should be called on `env.reset()` queues are populated during rollout of the policy, they contai
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:107
↓ 1 callersMethodreset
Clear observation and action queues. Clear previous means for warm starting of MPPI/CEM. Should be called on `env.reset()`
experiments/lerobot/src/lerobot/policies/tdmpc/modeling_tdmpc.py:89
↓ 1 callersMethodreset
Reset internal state - called when environment resets.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1014
↓ 1 callersMethodreset
This should be called whenever the environment is reset.
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:248
↓ 1 callersMethodreset
Reset action queue.
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:1726
↓ 1 callersMethodreset
This should be called whenever the environment is reset.
experiments/lerobot/src/lerobot/policies/act/modeling_act.py:92
↓ 1 callersMethodreset
Resets the online computation variables.
experiments/lerobot/src/lerobot/policies/act/modeling_act.py:213
↓ 1 callersMethodreset
Clear all recorded latencies.
experiments/lerobot/src/lerobot/policies/rtc/latency_tracker.py:36
↓ 1 callersMethodreset
Clear all recorded debug information.
experiments/lerobot/src/lerobot/policies/rtc/debug_tracker.py:118
↓ 1 callersMethodreset
(self)
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:284
↓ 1 callersMethodreset
Reset policy state when environment resets.
experiments/lerobot/src/lerobot/policies/groot/modeling_groot.py:95
↓ 1 callersMethodreset
Reset internal state - called when environment resets.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:1119
↓ 1 callersMethodreset
(self)
experiments/lerobot/tests/processor/test_smolvla_processor.py:190
↓ 1 callersMethodreset_action_expert_depth_gate_parameters
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:2830
↓ 1 callersFunctionreset_follower_position
Reset robot arm to target position using smooth trajectory.
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:107
↓ 1 callersMethodreset_parameters
(self)
experiments/olmo/hf_model/modeling_molmoact2.py:603
↓ 1 callersMethodreset_parameters
(self)
experiments/olmo/nn/image_vit.py:455
↓ 1 callersMethodreset_parameters
(self)
experiments/olmo/nn/image_vit.py:628
↓ 1 callersMethodreset_parameters
(self)
experiments/olmo/nn/action_expert.py:619
↓ 1 callersFunctionreset_tag_metadata
()
experiments/launch_scripts/data_mixtures.py:18
↓ 1 callersFunctionresize_and_pad
Resize an image while padding to preserve uts aspect ratio.
experiments/olmo/preprocessing/image_preprocessor.py:196
↓ 1 callersFunctionresize_image
( image: np.ndarray, desired_output_size: list[int], resample: PILImageResampling, )
experiments/olmo/hf_model/video_processing_molmoact2.py:63
↓ 1 callersFunctionresize_or_init_base_embedding_for_checkpoint
( state_dict: Dict[str, torch.Tensor], model: torch.nn.Module, source_layout: TokenLayout | None =
experiments/olmo/train/checkpoint_loading.py:482
↓ 1 callersFunctionresize_video
Resizes `video` to specified spatial dimensions using a Lanczos filter. Args: video: Iterable of images. shape: 2D spatial dimensions
experiments/olmo/data/video_point_tracking_datasets.py:305
↓ 1 callersMethodresize_video
Resize a video to output_size.
experiments/olmo/data/video_point_tracking_datasets.py:354
↓ 1 callersFunctionresize_with_pad
(img, width, height, pad_value=-1)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:134
↓ 1 callersFunctionresize_with_pad
(img: torch.Tensor, height: int, width: int, pad_value: float = 0.0)
experiments/lerobot/src/lerobot/policies/xvla/modeling_xvla.py:500
↓ 1 callersFunctionresize_with_pad_torch
PyTorch version of resize_with_pad. Resizes an image to a target height and width without distortion by padding with black. If the image is float3
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:154
↓ 1 callersFunctionresize_with_pad_torch
PyTorch version of resize_with_pad. Resizes an image to a target height and width without distortion by padding with black. If the image is float3
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:80
↓ 1 callersFunctionresize_with_pad_torch
PyTorch version of resize_with_pad. Resizes an image to a target height and width without distortion by padding with black. If the image is float3
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:151
↓ 1 callersFunctionresolve_dataset
(repo_id_or_path: str, output_dir: str | None, revision: str | None)
experiments/scripts/generate_depth_annotation.py:716
↓ 1 callersFunctionresolve_global_task
Resolve one task string to use across all episodes.
examples/yam/lerobot_convert.py:326
↓ 1 callersFunctionresolve_hf_path
Resolve a path that may be a HuggingFace URL (hf://datasets/...) to a local path.
experiments/lerobot/src/lerobot/utils/rabc.py:26
↓ 1 callersFunctionresolve_label
Decide where a rollout goes given its end reason. Returns the label (``"success"`` / ``"failure"``) or ``None`` for stay-in-eval. Timeout tri
examples/yam/eval_utils.py:541
↓ 1 callersFunctionresolve_source_layout_from_state_dict
( config_layout: TokenLayout | None, state_dict: Dict[str, torch.Tensor], )
experiments/olmo/token_layout.py:185
↓ 1 callersMethodrestore_checkpoint
( self, load_path: PathOrStr, local_cache: Optional[PathOrStr] = None, load_op
experiments/olmo/train/trainer.py:1402
↓ 1 callersMethodrestore_rng_state
(self, rng_state: Dict[str, Any])
experiments/olmo/train/trainer.py:1203
↓ 1 callersMethodreward
Processes a reward. Subclasses must implement this method. Args: reward: The input reward from the transition. Returns:
experiments/lerobot/src/lerobot/processor/pipeline.py:1561
↓ 1 callersMethodrobot
Get the robot object. Returns: robot: the robot object.
examples/yam/gello_min/env.py:48
↓ 1 callersFunctionrollout
Run a batched policy rollout once through a batch of environments. Note that all environments in the batch are run until the last environment is
experiments/lerobot/src/lerobot/scripts/lerobot_eval.py:95
↓ 1 callersMethodrot_pos_emb
(self, grid_thw)
experiments/lerobot/src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:459
↓ 1 callersFunctionrotate6d_to_axis_angle
r6d: np.ndarray, shape (N, 6) return: np.ndarray, shape (N, 3), axis-angle vectors
experiments/lerobot/src/lerobot/policies/xvla/utils.py:72
↓ 1 callersMethodrotate_half
(self, x: torch.Tensor)
experiments/olmo/nn/llm.py:1348
↓ 1 callersMethodrun
( self, next_input_ids: torch.Tensor, *, past_key_values: Cache, atten
experiments/olmo/hf_model/inference.py:558
↓ 1 callersMethodrun
(self, data=None, rank: int = 0, world_size: int = 1)
experiments/lerobot/examples/dataset/slurm_compute_rabc.py:224
↓ 1 callersMethodrun
(self, data=None, rank: int = 0, world_size: int = 1)
experiments/lerobot/examples/port_datasets/slurm_port_shards.py:36
↓ 1 callersMethodrun
(self, data=None, rank: int = 0, world_size: int = 1)
experiments/lerobot/examples/port_datasets/slurm_aggregate_shards.py:36
↓ 1 callersMethodrun
(self, data=None, rank: int = 0, world_size: int = 1)
experiments/lerobot/examples/port_datasets/slurm_upload.py:152
↓ 1 callersMethodrun_action_flow
( self, inputs: _ActionFlowInputs, steps: int, run_loop, )
experiments/olmo/hf_model/inference.py:209
↓ 1 callersMethodrun_evaluation
Run evaluation on two random dataset samples using three separate policies. Note: Policies are deinitalized after each step to free memory. L
experiments/lerobot/examples/rtc/eval_dataset.py:421
↓ 1 callersFunctionrun_exo_calibration
Run interactive calibration for an exoskeleton arm.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_calib.py:141
↓ 1 callersFunctionrun_one_rollout
Execute one rollout and buffer per-step observations into ``saver``. End conditions: * ``cv2`` keypress ``y`` -> success (labeled) * ``c
examples/yam/launch_yaml_eval_molmoact.py:207
↓ 1 callersFunctionrun_session
Drive ``num_rollouts`` rollouts; convert the labeled set to LeRobot at the end. Catches ``KeyboardInterrupt`` so an in-progress rollout still get
examples/yam/launch_yaml_eval_molmoact.py:275
↓ 1 callersFunctionrun_setup
Setup CAN interfaces.
experiments/lerobot/src/lerobot/scripts/lerobot_setup_can.py:273
↓ 1 callersFunctionrun_speed
Run speed tests on CAN interfaces.
experiments/lerobot/src/lerobot/scripts/lerobot_setup_can.py:328
↓ 1 callersMethodrun_step
(self, action: dict, lowstate)
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_g1.py:73
↓ 1 callersFunctionrun_test
Test motors on CAN interfaces.
experiments/lerobot/src/lerobot/scripts/lerobot_setup_can.py:298
↓ 1 callersMethodrun_visualization_loop
Run interactive Meshcat visualization loop to verify tracking.
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/unitree_g1.py:304
↓ 1 callersFunctionrunning_feature_mean_std_from_tensors
( tensors: Iterable[torch.Tensor], feature_dim: int, chunk_rows: int = 8192, )
experiments/olmo/train/checkpoint_loading.py:286
↓ 1 callersFunctionsafe_arcsin
(value)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:178
↓ 1 callersFunctionsafetensors_file_to_state_dict
(filename: PathOrStr, map_location: Optional[str] = None)
experiments/olmo/safetensors_util.py:77
↓ 1 callersMethodsample_actions
Do a full inference forward and compute the action (batch_size x num_steps x num_motors)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:799
↓ 1 callersMethodsample_actions
Do a full inference forward and compute the action.
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:786
↓ 1 callersMethodsample_actions_fast_kv_cache
Optimized autoregressive decoding for FAST tokens using KV Caching.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:689
↓ 1 callersMethodsample_beams
Returns the beams with the highest perturbed log probabilities.
experiments/olmo/nn/beam_search.py:486
↓ 1 callersFunctionsample_beta
(alpha, beta, bsize, device)
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:103
↓ 1 callersFunctionsample_beta
(alpha, beta, bsize, device)
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:100
↓ 1 callersMethodsample_frames
(self, video_path: str)
experiments/olmo/data/video_datasets.py:6579
↓ 1 callersFunctionsample_multinomial
(total_count, probs)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1036
↓ 1 callersMethodsample_nodes
( self, log_probs: torch.Tensor, per_node_beam_size: int, state: StateType )
experiments/olmo/nn/beam_search.py:101
↓ 1 callersMethodsample_nodes
( self, log_probs: torch.Tensor, per_node_beam_size: int, state: StateType )
experiments/olmo/nn/beam_search.py:147
↓ 1 callersMethodsample_nodes
( self, log_probs: torch.Tensor, per_node_beam_size: int, state: StateType )
experiments/olmo/nn/beam_search.py:183
↓ 1 callersMethodsample_queries_first
Package a set of frames and tracks for use in TAPNet evaluations. Given a set of frames and tracks with no query points, use the first
experiments/olmo/data/video_point_tracking_datasets.py:360
↓ 1 callersMethodsample_queries_strided
Package a set of frames and tracks for use in TAPNet evaluations. Given a set of frames and tracks with no query points, sample queries
experiments/olmo/data/video_point_tracking_datasets.py:402
↓ 1 callersMethodsample_time
(self, bsize, device)
experiments/lerobot/src/lerobot/policies/pi0/modeling_pi0.py:637
↓ 1 callersMethodsample_time
(self, bsize, device)
experiments/lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py:618
↓ 1 callersMethodsample_time
Sample timesteps using Beta distribution (always in float32 for numerical stability).
experiments/lerobot/src/lerobot/policies/wall_x/modeling_wall_x.py:146
↓ 1 callersMethodsample_time
(self, batch_size, device, dtype)
experiments/lerobot/src/lerobot/policies/groot/action_head/flow_matching_action_head.py:252
↓ 1 callersMethodsample_time
(self, bsize, device)
experiments/lerobot/src/lerobot/policies/pi05/modeling_pi05.py:633
↓ 1 callersFunctionsample_timestamps
(timestamps_mode: str, ep_num_images: int, fps: int)
experiments/lerobot/benchmarks/video/run_video_benchmark.py:136
↓ 1 callersFunctionsanitize_episode_metadata_for_online_viz
Drop quantile-only columns from episode metadata for broader viewer compatibility.
examples/yam/lerobot_convert.py:339
↓ 1 callersFunctionsanity_check_dataset_name
Validates the dataset repository name against the presence of a policy configuration. This function enforces a naming convention: a dataset
experiments/lerobot/src/lerobot/utils/control_utils.py:171
↓ 1 callersFunctionsanity_check_dataset_robot_compatibility
Checks if a dataset's metadata is compatible with the current robot and recording setup. This function compares key metadata fields (`robot_
experiments/lerobot/src/lerobot/utils/control_utils.py:202
↓ 1 callersFunctionsave
( checkpoint_dir: str, output_dir: str, attn_implementation: str, override_max_model_len: Opti
experiments/olmo/hf_model/convert_molmoact2_to_hf.py:615
← previousnext →3,501–3,600 of 8,779, ranked by callers