MCPcopy Create free account

hub / github.com/allenai/molmoact2 / functions

Functions8,779 in github.com/allenai/molmoact2

↓ 1 callersFunctiontokenize_discrete_action
( action: Optional[np.ndarray], processor: Any, )
experiments/olmo/extra_tokens.py:175
↓ 1 callersMethodtokenize_message_list
Handle multi-annotation data where we have many annotations for one multi-modal input
experiments/olmo/preprocessing/text_preprocessor.py:118
↓ 1 callersMethodtrack
Proxy method to track debug information. If tracker is None or disabled, this method does nothing. Otherwise, it forwards the call to
experiments/lerobot/src/lerobot/policies/rtc/modeling_rtc.py:56
↓ 1 callersFunctiontrain
Main training function that initializes and runs the training process. Args: cfg (TrainRLServerPipelineConfig): The training configu
experiments/lerobot/src/lerobot/rl/learner.py:122
↓ 1 callersMethodtrain_batch
( self, batch: Dict[str, Any], compute_metrics, )
experiments/olmo/train/trainer.py:1725
↓ 1 callersFunctiontrain_cli
(cfg: TrainRLServerPipelineConfig)
experiments/lerobot/src/lerobot/rl/learner.py:107
↓ 1 callersFunctiontrain_fast_tokenizer
Train FAST tokenizer (BPE on DCT coefficients) on action chunks. Uses the .fit() method to train a new tokenizer on the provided data.
experiments/lerobot/src/lerobot/scripts/lerobot_train_tokenizer.py:284
↓ 1 callersMethodtrain_step
( self, batch: Dict[str, Any], compute_metrics: bool = True, )
experiments/olmo/train/trainer.py:1914
↓ 1 callersFunctiontrain_tokenizer
Train FAST tokenizer for action encoding. Args: cfg: TokenizerTrainingConfig dataclass with all configuration parameters
experiments/lerobot/src/lerobot/scripts/lerobot_train_tokenizer.py:379
↓ 1 callersMethodtrainer_state_dict
(self)
experiments/olmo/train/trainer.py:1083
↓ 1 callersMethodtransform_features
Returns the input features unchanged. Device and dtype transformations do not alter the fundamental definition of the features (e.g.
experiments/lerobot/src/lerobot/processor/device_processor.py:180
↓ 1 callersMethodtransform_features
( self, features: dict[PipelineFeatureType, dict[str, PolicyFeature]] )
experiments/lerobot/src/lerobot/policies/smolvla/processor_smolvla.py:138
↓ 1 callersMethodtransform_features
( self, features: dict[PipelineFeatureType, dict[str, PolicyFeature]] )
experiments/lerobot/tests/processor/test_pipeline.py:1997
↓ 1 callersFunctiontraverse_nodes
(nodes)
experiments/olmo/hf_datasets/android_control_utils.py:186
↓ 1 callersMethodtruncated
Processes a 'truncated' flag. Subclasses must implement this method. Args: truncated: The input 'truncated' flag from the transit
experiments/lerobot/src/lerobot/processor/pipeline.py:1619
↓ 1 callersMethodtxRxPacket
(self, port, txpacket)
experiments/lerobot/src/lerobot/motors/motors_bus.py:218
↓ 1 callersMethodulysses
(cls, degree: int, head_stride: int = 1)
experiments/olmo/train/trainer_config.py:399
↓ 1 callersFunctionunflatten_dict
(d: Dict[STKey, torch.Tensor])
experiments/olmo/safetensors_util.py:52
↓ 1 callersMethodunnormalize
(self, x: Any)
experiments/olmo/hf_model/modeling_molmoact2.py:1044
↓ 1 callersMethodunnormalize_action
(self, action: Any, norm_tag: str)
experiments/olmo/hf_model/modeling_molmoact2.py:1108
↓ 1 callersFunctionunnormalize_image
Normalizes the image to zero mean and unit variance.
experiments/olmo/html_utils.py:47
↓ 1 callersMethodupdate
( self, batch: Dict[str, torch.Tensor], model_out, cross_entropy_loss: torch.T
experiments/olmo/eval/loss_evaluator.py:106
↓ 1 callersMethodupdate_affine
(self, data, embed, mask=None)
experiments/lerobot/src/lerobot/policies/vqbet/vqbet_utils.py:1279
↓ 1 callersFunctionupdate_data_df
Updates a data DataFrame with new indices and task mappings for aggregation. Adjusts episode indices, frame indices, and task indices to account
experiments/lerobot/src/lerobot/datasets/aggregate.py:83
↓ 1 callersFunctionupdate_ema_parameters
Update EMA parameters in place with ema_param <- alpha * ema_param + (1 - alpha) * param.
experiments/lerobot/src/lerobot/policies/tdmpc/modeling_tdmpc.py:797
↓ 1 callersMethodupdate_legacy_settings
Update the legacy config settings whose schemas have undergone backwards-incompatible changes.
experiments/olmo/config.py:23
↓ 1 callersMethodupdate_legacy_settings
(cls, config: D)
experiments/olmo/models/molmo/molmo.py:80
↓ 1 callersFunctionupdate_meta_data
Updates metadata DataFrame with new chunk, file, and timestamp indices. Adjusts all indices and timestamps to account for previously aggregated
experiments/lerobot/src/lerobot/datasets/aggregate.py:107
↓ 1 callersMethodupdate_motor_state
(self, motor: NameOrID)
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:264
↓ 1 callersFunctionupdate_policy
Performs a single training step to update the policy's weights. This function executes the forward and backward passes, clips gradients, and
experiments/lerobot/src/lerobot/scripts/lerobot_train.py:59
↓ 1 callersFunctionupdate_policy_parameters
(policy: SACPolicy, parameters_queue: Queue, device)
experiments/lerobot/src/lerobot/rl/actor.py:652
↓ 1 callersMethodupdate_video_info
Warning: this function writes info from first episode videos, implicitly assuming that all videos have been encoded the same way. Als
experiments/lerobot/src/lerobot/datasets/lerobot_dataset.py:427
↓ 1 callersMethodupdate_visualization
(self)
experiments/lerobot/src/lerobot/teleoperators/unitree_g1/exo_ik.py:265
↓ 1 callersFunctionupload_dataset_to_hf
Upload local LeRobot dataset directory to the HF dataset repo.
examples/yam/lerobot_convert.py:485
↓ 1 callersFunctionvalidate_all_metadata
Validates that all dataset metadata have consistent properties. Ensures all datasets have the same fps, robot_type, and features to guarantee
experiments/lerobot/src/lerobot/datasets/aggregate.py:47
↓ 1 callersFunctionvalidate_camera
(info: dict[str, Any], camera_key: str)
experiments/scripts/generate_depth_annotation.py:743
↓ 1 callersFunctionvalidate_episode_buffer
Validate the episode buffer before it's written to disk. Ensures the buffer has the required keys, contains at least one frame, and has featu
experiments/lerobot/src/lerobot/datasets/utils.py:1133
↓ 1 callersFunctionvalidate_feature_dtype_and_shape
Validate the dtype and shape of a single feature's value. Args: name (str): The name of the feature. feature (dict): The feature
experiments/lerobot/src/lerobot/datasets/utils.py:1030
↓ 1 callersFunctionvalidate_feature_image_or_video
Validate a feature that is expected to be an image or video frame. Accepts `np.ndarray` (channel-first or channel-last) or `PIL.Image.Image`.
experiments/lerobot/src/lerobot/datasets/utils.py:1088
↓ 1 callersFunctionvalidate_feature_numpy_array
Validate a feature that is expected to be a numpy array. Args: name (str): The name of the feature. expected_dtype (str): The exp
experiments/lerobot/src/lerobot/datasets/utils.py:1058
↓ 1 callersFunctionvalidate_feature_string
Validate a feature that is expected to be a string. Args: name (str): The name of the feature. value (str): The value to validate
experiments/lerobot/src/lerobot/datasets/utils.py:1118
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/configs/policies.py:127
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/diffusion/configuration_diffusion.py:228
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
experiments/lerobot/src/lerobot/policies/pi0/configuration_pi0.py:117
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/vqbet/configuration_vqbet.py:156
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/tdmpc/configuration_tdmpc.py:184
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
experiments/lerobot/src/lerobot/policies/pi0_fast/configuration_pi0_fast.py:111
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/smolvla/configuration_smolvla.py:126
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
experiments/lerobot/src/lerobot/policies/wall_x/configuration_wall_x.py:100
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/act/configuration_act.py:163
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/sarm/configuration_sarm.py:200
↓ 1 callersMethodvalidate_features
(self)
experiments/lerobot/src/lerobot/policies/xvla/configuration_xvla.py:145
↓ 1 callersMethodvalidate_features
Validate and set up input/output features for Groot.
experiments/lerobot/src/lerobot/policies/groot/configuration_groot.py:132
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
experiments/lerobot/src/lerobot/policies/pi05/configuration_pi05.py:118
↓ 1 callersFunctionvalidate_features_presence
Check for missing or extra features in a frame. Args: actual_features (set[str]): The set of feature names present in the frame.
experiments/lerobot/src/lerobot/datasets/utils.py:1006
↓ 1 callersFunctionvalidate_frame
(frame: dict, features: dict)
experiments/lerobot/src/lerobot/datasets/utils.py:985
↓ 1 callersMethodvalidate_inputs
(self, inputs)
experiments/lerobot/src/lerobot/policies/groot/groot_n1.py:224
↓ 1 callersFunctionvalidate_local_dataset_version
Validate that the local dataset has the expected v2.1 version.
experiments/lerobot/src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:161
↓ 1 callersFunctionvalidate_post_fsdp2_lora_shapes
(module: torch.nn.Module, label: str)
experiments/olmo/train/peft_compat.py:42
↓ 1 callersFunctionvalidate_visual_features_consistency
Validates visual feature consistency between a policy config and provided dataset/environment features. Validation passes if EITHER: - P
experiments/lerobot/src/lerobot/policies/utils.py:226
↓ 1 callersFunctionverify_torchcodec_runtime
(video_path: Optional[str] = None)
experiments/olmo/torchcodec_utils.py:88
↓ 1 callersMethodversion
(self)
experiments/olmo/data/iterable_dataset_mixture.py:51
↓ 1 callersFunctionvideo_path_for_episode
(dataset_root: Path, info: dict[str, Any], camera_key: str, metadata: dict[str, Any])
experiments/scripts/generate_depth_annotation.py:1010
↓ 1 callersFunctionvisualize_episode
Create visualization with progress plot, stage probabilities, and sample frames. Same as sarm_inference_visualization.py
experiments/lerobot/src/lerobot/policies/sarm/compute_rabc_weights.py:136
↓ 1 callersFunctionvisualize_image_transforms
(cfg: DatasetConfig, output_dir: Path = OUTPUT_DIR, n_examples: int = 5)
experiments/lerobot/src/lerobot/scripts/lerobot_imgtransform_viz.py:108
↓ 1 callersFunctionvqa_score
Evaluation with VQA 2 style preprocessing
experiments/olmo/eval/vqa.py:100
↓ 1 callersMethodvqvae_forward
(self, state)
experiments/lerobot/src/lerobot/policies/vqbet/modeling_vqbet.py:833
↓ 1 callersFunctionvsi_bench_na_score
( pred: str, target: str, start: float = 0.5, end: float = 0.95, interval: float = 0.05, )
experiments/olmo/eval/vsi_bench_utils.py:38
↓ 1 callersFunctionwarmup
Run one inference on a dummy frame so the first real request is fast.
examples/droid/host_server_droid.py:300
↓ 1 callersFunctionwarmup
(policy: Policy)
examples/yam/host_server_yam.py:301
↓ 1 callersFunctionwindow_partition
(x, window_size: int)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:385
↓ 1 callersFunctionwindow_reverse
(windows, batch_size: int, window_size: int, height: int, width: int)
experiments/lerobot/src/lerobot/policies/xvla/modeling_florence2.py:392
↓ 1 callersFunctionwithin_bounding_box
(coords, box)
experiments/olmo/hf_datasets/android_control_utils.py:116
↓ 1 callersFunctionwithout_depth_columns
(table: pa.Table)
experiments/scripts/generate_depth_annotation.py:1134
↓ 1 callersMethodwrap
(cls, scheduler: Scheduler, warmup_start: int, warmup_end: int)
experiments/olmo/train/optim.py:427
↓ 1 callersMethodwrap_backbone_lora
(self, r=128, lora_alpha=256, lora_dropout=0.05)
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:170
↓ 1 callersMethodwrap_llm_lora
(self, r=128, lora_alpha=256, lora_dropout=0.05)
experiments/lerobot/src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:187
↓ 1 callersMethodwrap_with_peft
Wrap this policy with PEFT adapters for parameter-efficient fine-tuning. This method is the single entry point for PEFT integration.
experiments/lerobot/src/lerobot/policies/pretrained.py:269
↓ 1 callersMethodwrite
Write a value to a single motor. Positions are always in degrees.
experiments/lerobot/src/lerobot/motors/robstride/robstride.py:749
↓ 1 callersMethodwrite
Builds a "Write" instruction. https://emanual.robotis.com/docs/en/dxl/protocol2/#write-0x03 The parameters for Write (Protoc
experiments/lerobot/tests/mocks/mock_dynamixel.py:228
↓ 1 callersMethodwriteTxRx
(self, port, id, address, length, data)
experiments/lerobot/src/lerobot/motors/motors_bus.py:234
↓ 1 callersMethodwrite_err
Drop a marker file explaining why this rollout is incomplete.
examples/yam/eval_utils.py:162
↓ 1 callersMethodwrite_file
(self, dir: PathOrStr, fname: str, contents: Union[str, bytes, Callable])
experiments/olmo/train/checkpointer.py:282
↓ 1 callersFunctionwrite_hf_dataset
Writes a Hugging Face Dataset to one or more Parquet files in a structured directory format. If the dataset size is within `DEFAULT_DATA_FIL
experiments/lerobot/tests/fixtures/files.py:36
↓ 1 callersFunctionwrite_json
(path: Path, payload: dict[str, Any])
experiments/scripts/generate_depth_annotation.py:739
MethodGetActions
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:282
MethodGetActions
(request, target, options=(), channel_credentials=None, call_c
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:364
MethodReady
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:85
MethodReady
(request, target, options=(), channel_credentials=None, call_c
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:209
MethodReady
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:294
MethodReady
(request, target, options=(), channel_credentials=None, call_c
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:418
MethodSendInteractions
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:79
MethodSendInteractions
(request_iterator, target, options=(), channel_credentials=None,
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:182
MethodSendObservations
Robot -> Policy to share observations with a remote inference server Policy -> Robot to share actions predicted for given observations
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:274
MethodSendObservations
(request_iterator, target, options=(), channel_credentials=None,
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:337
MethodSendPolicyInstructions
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:288
MethodSendPolicyInstructions
(request, target, options=(), channel_credentials=None, call_c
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:391
MethodSendTransitions
Missing associated documentation comment in .proto file.
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:73
MethodSendTransitions
(request_iterator, target, options=(), channel_credentials=None,
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:155
MethodStreamParameters
Actor -> Learner to store transitions
experiments/lerobot/src/lerobot/transport/services_pb2_grpc.py:66
← previousnext →3,701–3,800 of 8,779, ranked by callers