MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 5 callersFunctionget_rank
Get the rank within the process group.
experiments/olmo/torch_util.py:98
↓ 5 callersFunctionget_special_token_ids
(tokenizer)
experiments/olmo/tokenizer.py:287
↓ 5 callersFunctionget_step_identifier
(step: int, total_steps: int)
experiments/lerobot/src/lerobot/utils/train_utils.py:37
↓ 5 callersMethodis_debug_enabled
Check if debug tracking is enabled. Returns True if tracker exists and is enabled.
experiments/lerobot/src/lerobot/policies/rtc/modeling_rtc.py:99
↓ 5 callersFunctionis_unsharded_checkoint
(dir: PathOrStr)
experiments/olmo/train/checkpointer.py:163
↓ 5 callersFunctionjoin_path
Join two paths. :param path1: The first path. :param path2: The second path. :returns: The joined result.
experiments/olmo/io.py:49
↓ 5 callersMethodlist
Returns a list of all registered processor step names.
experiments/lerobot/src/lerobot/processor/pipeline.py:133
↓ 5 callersFunctionload_image
(image_path)
experiments/olmo/preprocessing/image_preprocessor.py:112
↓ 5 callersFunctionload_info
Load dataset info metadata from its standard file path. Also converts shape lists to tuples for consistency. Args: local_dir (Path):
experiments/lerobot/src/lerobot/datasets/utils.py:276
↓ 5 callersMethodlog_dict
( self, d: dict, step: int | None = None, mode: str = "train", custom_step_key: str | None = None
experiments/lerobot/src/lerobot/rl/wandb_utils.py:158
↓ 5 callersMethodlog_metrics_to_console
(self, prefix: str, metrics: Dict[str, float])
experiments/olmo/train/trainer.py:2155
↓ 5 callersFunctionlog_rerun_data
Logs observation and action data to Rerun for real-time visualization. This function iterates through the provided observation and action di
experiments/lerobot/src/lerobot/utils/visualization_utils.py:53
↓ 5 callersFunctionmake_robot_action
Converts a policy's output tensor into a dictionary of named actions. This function translates the numerical output from a policy model into a
experiments/lerobot/src/lerobot/policies/utils.py:175
↓ 5 callersFunctionmake_robot_env
Create robot environment from configuration. Args: cfg: Environment configuration. Returns: Tuple of (gym environment, teleo
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:303
↓ 5 callersFunctionmove_to_start_position
Interpolate the robot to ``agent.start_joints`` if specified in config.
examples/yam/gello_min/launch_utils.py:32
↓ 5 callersMethodnormalize_state
(self, state, repo_id: Optional[str])
experiments/olmo/data/robot_processing.py:316
↓ 5 callersMethodnum_params
(self, include_embedding: bool = True, include_inactive_params: bool = True)
experiments/olmo/models/model.py:174
↓ 5 callersMethodpredict
Forward pass of the classifier for inference.
experiments/lerobot/src/lerobot/policies/sac/reward_model/modeling_classifier.py:222
↓ 5 callersMethodpredict_action_chunk
Predict a chunk of actions given environment observations.
experiments/lerobot/src/lerobot/policies/sac/modeling_sac.py:79
↓ 5 callersMethodpredict_action_chunk
Return a chunk of 20 dummy actions.
experiments/lerobot/tests/async_inference/test_policy_server.py:46
↓ 5 callersMethodread
Builds a 'Read' status packet. Args: scs_id (int): ID of the servo responding. value (int): Desired value to be retur
experiments/lerobot/tests/mocks/mock_feetech.py:246
↓ 5 callersMethodread
Read a frame from the camera. Args: img_size: The size of the image to return. If None, the original size is returned.
examples/yam/gello_min/camera.py:32
↓ 5 callersMethodread_metadata
(self)
experiments/olmo/train/remote_filesystem.py:424
↓ 5 callersMethodreset
(self)
experiments/olmo/train/trainer.py:365
↓ 5 callersFunctionreshape_for_pooling
Reshape the mask to match the pooled patches index. Args: mask (torch.Tensor): Input tensor of shape (B*T, N). pooled_pa
experiments/olmo/nn/temporal_image_vit.py:554
↓ 5 callersMethodrun
(self)
experiments/olmo/eval/model_evaluator.py:375
↓ 5 callersFunctionsave_annotations_to_dataset
Save annotations to LeRobot dataset parquet format.
experiments/lerobot/src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:745
↓ 5 callersMethodset_from_exo
(self, raw16: list[int] | None, side: str)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/unitree_g1.py:125
↓ 5 callersMethodset_zero_position
Set current position as zero for selected motors.
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:334
↓ 5 callersMethodstart
Start the robot client and connect to the policy server
experiments/lerobot/src/lerobot/async_inference/robot_client.py:144
↓ 5 callersMethodstart
Start the capture thread.
experiments/lerobot/src/lerobot/cameras/zmq/image_server.py:58
↓ 5 callersFunctionstate_dims
()
experiments/lerobot/tests/utils/test_replay_buffer.py:29
↓ 5 callersMethodsync_read
Builds a "Sync_Read" broadcast instruction. The parameters for Sync Read are: param[0] = start_address par
experiments/lerobot/tests/mocks/mock_feetech.py:141
↓ 5 callersMethodto_dict
(self)
experiments/olmo/hf_model/configuration_molmoact2.py:300
↓ 5 callersMethodto_lerobot_dataset
Converts all transitions in this ReplayBuffer into a single LeRobotDataset object.
experiments/lerobot/src/lerobot/rl/buffer.py:509
↓ 5 callersMethodtransform_features
Applies feature transformations from all steps sequentially. This method propagates a feature description dictionary through each step's
experiments/lerobot/src/lerobot/processor/pipeline.py:1317
↓ 5 callersMethodtransform_features
Transforms feature keys from the Gym standard to the LeRobot standard. This method standardizes the feature dictionary by renaming k
experiments/lerobot/src/lerobot/processor/observation_processor.py:131
↓ 5 callersFunctionunflatten_dict
(xs, sep=None)
experiments/scripts/prepare_pretrained_model.py:42
↓ 5 callersMethodunregister
Removes a processor step from the registry. Args: name: The name of the step to unregister.
experiments/lerobot/src/lerobot/processor/pipeline.py:124
↓ 5 callersFunctionupload
Upload source file to a target location on GCS or S3. :param source: Path to the file to upload. :param target: Target URL to upload to.
experiments/olmo/io.py:165
↓ 5 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/sac/configuration_sac.py:217
↓ 5 callersMethodvalidate_tag
(self, norm_tag: Optional[str])
experiments/olmo/hf_model/modeling_molmoact2.py:1088
↓ 5 callersFunctionvit_activation_checkpoint_function
(cfg: VitConfig)
experiments/olmo/nn/image_vit.py:116
↓ 5 callersFunctionwait_for
Wait for the condition function to return True.
experiments/olmo/util.py:391
↓ 5 callersFunctionwrite_json
(path: PathOrStr, data: Any, **kwargs)
experiments/olmo/io.py:127
↓ 4 callersMethodInit
Initialize the publisher (no-op for ZMQ).
experiments/lerobot/src/lerobot/robots/unitree_g1/unitree_sdk2_socket.py:144
↓ 4 callersMethodStreamParameters
(self, request, context)
experiments/lerobot/src/lerobot/rl/learner_service.py:53
↓ 4 callersMethod__init__
( self, vit_config: MolmoAct2VitConfig = None, adapter_config: MolmoAct2AdapterConfig
experiments/olmo/hf_model/configuration_molmoact2.py:358
↓ 4 callersMethod__init__
( self, end_index: int, *, max_steps: int = 50, beam_size: int = 10,
experiments/olmo/nn/beam_search.py:941
↓ 4 callersMethod__init__
( self, in_features: int, hidden_features: int | None = None, out_features: in
experiments/lerobot/src/lerobot/policies/xvla/soft_transformer.py:54
↓ 4 callersMethod__init__
(self, num_categories, input_dim, hidden_dim, output_dim)
experiments/lerobot/src/lerobot/policies/groot/action_head/flow_matching_action_head.py:57
↓ 4 callersMethod__init__
( self, num_attention_heads: int = 8, attention_head_dim: int = 64, output_dim
experiments/lerobot/src/lerobot/policies/groot/action_head/cross_attention_dit.py:191
↓ 4 callersMethod_add_figure_legend
Add a legend outside the plot area on the right side. Args: fig: Matplotlib figure to add legend to axs: Array of axe
experiments/lerobot/examples/rtc/eval_dataset.py:747
↓ 4 callersMethod_add_leading_ones
(self, weights, start, total)
experiments/lerobot/src/lerobot/policies/rtc/modeling_rtc.py:290
↓ 4 callersMethod_add_trailing_zeros
(self, weights, total, end)
experiments/lerobot/src/lerobot/policies/rtc/modeling_rtc.py:281
↓ 4 callersMethod_build_generation_batch
(collated: Dict[str, Any])
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1078
↓ 4 callersMethod_build_preprocessor_kwargs
( self, dataset_name: Optional[str], *, allow_missing_visual_skips: bool = Tru
experiments/olmo/data/data_loader.py:142
↓ 4 callersFunction_capture_cuda_graph
( fn, device: torch.device, *, after_warmup=None, )
experiments/olmo/hf_model/inference.py:751
↓ 4 callersFunction_create_action_features
()
experiments/lerobot/tests/processor/test_normalize_processor.py:492
↓ 4 callersMethod_create_figure
(self, title)
experiments/lerobot/examples/rtc/eval_dataset.py:736
↓ 4 callersFunction_create_full_features
()
experiments/lerobot/tests/processor/test_normalize_processor.py:614
↓ 4 callersFunction_create_full_norm_map
()
experiments/lerobot/tests/processor/test_normalize_processor.py:622
↓ 4 callersMethod_create_message_list
Create message list for a single example, formatting point data based on prompt_type. Args: ex (dict): Dataset e
experiments/olmo/data/video_object_tracking_datasets.py:588
↓ 4 callersFunction_create_observation_features
()
experiments/lerobot/tests/processor/test_normalize_processor.py:101
↓ 4 callersFunction_create_observation_norm_map
()
experiments/lerobot/tests/processor/test_normalize_processor.py:108
↓ 4 callersMethod_enqueue_observation
Enqueue an observation if it must go through processing, otherwise skip it. Observations not in queue are never run through the policy network
experiments/lerobot/src/lerobot/async_inference/policy_server.py:297
↓ 4 callersFunction_flatten_generated_token_ids
(token_ids: torch.Tensor)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:225
↓ 4 callersMethod_functional_masked_add
( hidden_states: torch.Tensor, flat_mask: torch.Tensor, added_features: torch.Tensor,
experiments/olmo/models/molmo2/molmo2.py:216
↓ 4 callersMethod_get_encoder_attention_mask
( self, input_ids: Optional[torch.Tensor], attention_mask: Optional[torch.Tensor],
experiments/olmo/models/molmoact2/molmoact2.py:686
↓ 4 callersFunction_get_env_str
(name: str, default: str)
experiments/olmo/data/lerobot_wrapper.py:561
↓ 4 callersFunction_get_hf_robot_stats
(policy: torch.nn.Module)
experiments/scripts/run_open_loop_inference_lerobot.py:420
↓ 4 callersMethod_get_motors_list
(self, motors: NameOrID | Sequence[NameOrID] | None)
experiments/lerobot/src/lerobot/motors/motors_bus.py:418
↓ 4 callersMethod_get_normalizer
( self, mapping: Mapping[str, _FeatureNormalizer], repo_id: Optional[str] )
experiments/olmo/data/robot_processing.py:334
↓ 4 callersMethod_get_observation
Get current robot observation including joint positions and camera images.
experiments/lerobot/src/lerobot/rl/gym_manipulator.py:168
↓ 4 callersMethod_is_processor_config
Check if config follows DataProcessorPipeline format. This method validates the processor configuration structure: **Required Struct
experiments/lerobot/src/lerobot/processor/pipeline.py:1100
↓ 4 callersMethod_linweights
(self, start, end, total)
experiments/lerobot/src/lerobot/policies/rtc/modeling_rtc.py:271
↓ 4 callersFunction_load_hf_tokenizer
(*, local_files_only: bool)
experiments/olmo/tokenizer.py:181
↓ 4 callersFunction_make_fusion_block
(features: int, size: tuple[int, int] | None = None)
experiments/scripts/generate_depth_annotation.py:305
↓ 4 callersFunction_merge_lora_into_module
(module: torch.nn.Module, lora_dir: str, name: str)
experiments/scripts/merge_lora.py:83
↓ 4 callersFunction_modulate
( x: torch.Tensor, shift: torch.Tensor, scale: torch.Tensor )
experiments/olmo/hf_model/modeling_molmoact2.py:90
↓ 4 callersFunction_modulate
(x: torch.Tensor, shift: torch.Tensor, scale: torch.Tensor)
experiments/olmo/nn/action_expert.py:15
↓ 4 callersFunction_module_version
(name: str)
experiments/olmo/torchcodec_utils.py:13
↓ 4 callersFunction_normalize_image_for_cache
(image: Any)
experiments/olmo/hf_model/modeling_molmoact2.py:1140
↓ 4 callersMethod_obs_sanity_checks
Check if the observation is valid to be processed by the policy
experiments/lerobot/src/lerobot/async_inference/policy_server.py:279
↓ 4 callersMethod_pad_to_model_dim
If last dim is REAL_DIM (12), pad zeros to reach dim_action (20).
experiments/lerobot/src/lerobot/policies/xvla/action_hub.py:468
↓ 4 callersMethod_prepare_attention_masks_4d
Helper method to prepare 4D attention masks for transformer.
experiments/lerobot/src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:356
↓ 4 callersMethod_prepare_attention_qkv
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, position_id
experiments/olmo/nn/llm.py:1762
↓ 4 callersFunction_prepare_state_dict
( model: nn.Module, optim: Optional[torch.optim.Optimizer] = None, process_group: Optional[dist.Pr
experiments/olmo/train/distributed_checkpointing.py:625
↓ 4 callersFunction_raise_missing_stats
(mode: str, stats: Mapping[str, Sequence[float]], required_keys: Sequence[str])
experiments/olmo/data/robot_processing.py:164
↓ 4 callersFunction_require_non_empty_string_sequence
(values: Sequence[str], *, label: str)
experiments/olmo/data/lerobot_wrapper.py:625
↓ 4 callersFunction_require_positive_tag_metadata_int
(tag: str, metadata: Dict[str, object], key: str)
experiments/launch_scripts/lerobot_utils/train_plan.py:62
↓ 4 callersMethod_rescale_axes
Rescale axes to show all data with proper margins. Args: axes: Array of matplotlib axes to rescale
experiments/lerobot/examples/rtc/eval_dataset.py:908
↓ 4 callersFunction_resize_token_matrix_rows_for_layout
( tensor: torch.Tensor, *, key: str, target_layout: TokenLayout, source_layout: TokenLayou
experiments/olmo/train/checkpoint_loading.py:324
↓ 4 callersMethod_resolve_style_for_inference
(handles: _MolmoHandles)
experiments/lerobot/src/lerobot/policies/molmoact2/modeling_molmoact2.py:1082
↓ 4 callersMethod_resolve_tag
(self, repo_id: Optional[str])
experiments/olmo/data/robot_processing.py:354
↓ 4 callersMethod_save_episode_video
( self, video_key: str, episode_index: int, temp_path: Path | None = None,
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:1504
↓ 4 callersMethod_save_figure
(self, fig, path)
experiments/lerobot/examples/rtc/eval_dataset.py:779
↓ 4 callersMethod_send_simple_command
Helper to send simple 8-byte commands (Enable, Disable, Zero).
experiments/lerobot/src/lerobot/motors/damiao/damiao.py:278
↓ 4 callersFunction_split_into_byte_chunks
(value: int, length: int)
experiments/lerobot/src/lerobot/motors/feetech/feetech.py:68
↓ 4 callersFunction_split_into_byte_chunks
(value: int, length: int)
experiments/lerobot/src/lerobot/motors/dynamixel/dynamixel.py:85
← previousnext →601–700 of 8,779, ranked by callers