MCPcopy Create free account

hub / github.com/ZZongzheng0918/TA-VLA / functions

Functions459 in github.com/ZZongzheng0918/TA-VLA

↓ 1 callersFunction_should_invalidate_cache
Invalidate the cache if it is expired. Return True if the cache was invalidated.
src/openpi/shared/download.py:319
↓ 1 callersMethod_step
A single step of the runtime loop.
packages/openpi-client/src/openpi_client/runtime/runtime.py:80
↓ 1 callersMethod_update_cache
Update KV cache with new values
src/openpi/models/gemma_fast.py:175
↓ 1 callersMethod_update_histograms
Update histograms with new vectors.
src/openpi/shared/normalize.py:101
↓ 1 callersMethod_wait_for_server
(self)
packages/openpi-client/src/openpi_client/websocket_client_policy.py:26
↓ 1 callersMethodapply_action
Take an action in the environment.
packages/openpi-client/src/openpi_client/runtime/environment.py:31
↓ 1 callersFunctionconvert_image
(img)
src/openpi/policies/aloha_policy.py:169
↓ 1 callersFunctioncreate_dataset
Create a dataset for training.
src/openpi/training/data_loader.py:89
↓ 1 callersFunctioncreate_default_policy
Create a default policy for the given environment.
scripts/serve_policy.py:79
↓ 1 callersFunctioncreate_empty_dataset
( repo_id: str, robot_type: str, mode: Literal["video", "image"] = "video", *, has_velocit
examples/aloha_real/convert_aloha_data_to_lerobot.py:34
↓ 1 callersFunctioncreate_empty_dataset
( repo_id: str, robot_type: str, cameras: List[str], mode: Literal["video", "image"] = "video"
examples/aloha_real/convert_self_data_to_lerobot.py:45
↓ 1 callersFunctioncreate_policy
Create a policy from the given arguments.
scripts/serve_policy.py:88
↓ 1 callersFunctiondecode_variant
Converts a string like "B" or "B/32" into a params dict.
src/openpi/models/siglip.py:298
↓ 1 callersFunctiondeserialize_json
Deserialize the running statistics from a JSON string.
src/openpi/shared/normalize.py:130
↓ 1 callersFunctiondetect_cameras
Detect available cameras in the HDF5 files.
examples/aloha_real/convert_self_data_to_lerobot.py:35
↓ 1 callersMethodembed
(self, tokens: at.Int[at.Array, "b t"])
src/openpi/models/gemma.py:367
↓ 1 callersMethodencode
(self, x)
src/openpi/models/gemma_fast.py:115
↓ 1 callersMethodget_action
Query the agent for the next action.
packages/openpi-client/src/openpi_client/runtime/agent.py:12
↓ 1 callersMethodget_effort
(self)
examples/aloha_real/real_env.py:88
↓ 1 callersMethodget_images
(self)
examples/aloha_real/real_env.py:95
↓ 1 callersMethodget_observation
Query the environment for the current state.
packages/openpi-client/src/openpi_client/runtime/environment.py:27
↓ 1 callersFunctionget_posemb
(self, typ, seqshape, width, name, dtype=jnp.float32)
src/openpi/models/siglip.py:40
↓ 1 callersMethodget_qpos
(self)
examples/aloha_real/real_env.py:66
↓ 1 callersMethodget_qvel
(self)
examples/aloha_real/real_env.py:79
↓ 1 callersFunctionhas_effort
(hdf5_files: list[Path])
examples/aloha_real/convert_aloha_data_to_lerobot.py:139
↓ 1 callersFunctionhas_effort
(hdf5_files: list[Path])
examples/aloha_real/convert_self_data_to_lerobot.py:139
↓ 1 callersFunctionhas_velocity
(hdf5_files: list[Path])
examples/aloha_real/convert_aloha_data_to_lerobot.py:134
↓ 1 callersFunctionhas_velocity
(hdf5_files: list[Path])
examples/aloha_real/convert_self_data_to_lerobot.py:134
↓ 1 callersMethodinfer
(self, obs: Dict)
packages/openpi-client/src/openpi_client/action_chunk_broker.py:28
↓ 1 callersMethodinfer
Infer actions from observations.
packages/openpi-client/src/openpi_client/base_policy.py:7
↓ 1 callersFunctioninit_logging
Custom logging format for better readability.
scripts/train.py:30
↓ 1 callersFunctioninit_train_state
( config: _config.TrainConfig, init_rng: at.KeyArrayLike, mesh: jax.sharding.Mesh, *, resume: bool )
scripts/train.py:84
↓ 1 callersFunctioninit_wandb
(config: _config.TrainConfig, *, resuming: bool, log_code: bool = False, enabled: bool = True)
scripts/train.py:49
↓ 1 callersMethodinputs_spec
(self, *, batch_size: int = 1)
src/openpi/models/pi0.py:92
↓ 1 callersMethodis_episode_complete
Allow the environment to signal that the episode is complete. This will be called after each step. It should return `True` if the episode is
packages/openpi-client/src/openpi_client/runtime/environment.py:19
↓ 1 callersFunctionleft_to_right_align
Converts input from left-align to right-aligned.
src/openpi/models/pi0_fast.py:51
↓ 1 callersFunctionlinear_to_radian
(linear_position, arm_length, horn_radius)
src/openpi/policies/aloha_policy.py:133
↓ 1 callersFunctionload_raw_episode_data
( ep_path: Path, )
examples/aloha_real/convert_aloha_data_to_lerobot.py:165
↓ 1 callersFunctionload_raw_episode_data
( ep_path: Path, cameras: List[str], )
examples/aloha_real/convert_self_data_to_lerobot.py:174
↓ 1 callersFunctionload_raw_images_per_camera
(ep: h5py.File, cameras: list[str])
examples/aloha_real/convert_aloha_data_to_lerobot.py:144
↓ 1 callersFunctionload_raw_images_per_camera
(ep: h5py.File, cameras: list[str])
examples/aloha_real/convert_self_data_to_lerobot.py:144
↓ 1 callersFunctionmain
(config: _config.TrainConfig)
scripts/train.py:193
↓ 1 callersFunctionmain
(args: Args)
scripts/serve_policy.py:99
↓ 1 callersFunctionmain
(args: Args)
examples/simple_client/main.py:29
↓ 1 callersFunctionmain
(args: Args)
examples/droid/main.py:73
↓ 1 callersMethodmark_episode_complete
Marks the end of an episode.
packages/openpi-client/src/openpi_client/runtime/runtime.py:46
↓ 1 callersMethodmetadata
(self)
src/openpi/policies/policy.py:59
↓ 1 callersFunctionmove_arms
(bot_list, target_pose_list, move_time=1)
examples/aloha_real/robot_utils.py:180
↓ 1 callersFunctionmove_grippers
(bot_list, target_pose_list, move_time)
examples/aloha_real/robot_utils.py:193
↓ 1 callersMethodon_episode_end
Called when an episode ends.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:19
↓ 1 callersMethodon_episode_start
Called when an episode starts.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:11
↓ 1 callersMethodon_step
Append a step to the episode.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:15
↓ 1 callersFunctionpopulate_dataset
( dataset: LeRobotDataset, hdf5_files: list[Path], task: str, episodes: list[int] | None = Non
examples/aloha_real/convert_aloha_data_to_lerobot.py:193
↓ 1 callersFunctionpopulate_dataset
( dataset: LeRobotDataset, hdf5_files: list[Path], cameras: List[str], task: str, episodes
examples/aloha_real/convert_self_data_to_lerobot.py:201
↓ 1 callersFunctionposemb_sincos
Computes sine-cosine positional embedding vectors for scalar positions.
src/openpi/models/pi0.py:50
↓ 1 callersFunctionposemb_sincos_2d
Follows the MoCo v3 logic.
src/openpi/models/siglip.py:27
↓ 1 callersFunctionprevent_keyboard_interrupt
Temporarily prevent keyboard interrupts by delaying them until after the protected code.
examples/droid/main.py:55
↓ 1 callersFunctionput_along_last_axis
Like np.put_along_axis(..., axis=-1), since jax is missing it.
src/openpi/models/pi0_fast.py:66
↓ 1 callersMethodsample_actions
( self, rng: at.KeyArrayLike, observation: _model.Observation, *, num_
src/openpi/models/pi0.py:371
↓ 1 callersFunctionserialize_json
Serialize the running statistics to a JSON string.
src/openpi/shared/normalize.py:125
↓ 1 callersMethodset_gripper_pose
(self, left_gripper_desired_pos_normalized, right_gripper_desired_pos_normalized)
examples/aloha_real/real_env.py:98
↓ 1 callersFunctionset_jax_cpu_backend_if_no_gpu
()
src/openpi/conftest.py:7
↓ 1 callersMethodsetup_robots
(self)
examples/aloha_real/real_env.py:62
↓ 1 callersMethodto_dict
Convert the Observation to a nested dict.
src/openpi/models/model.py:130
↓ 1 callersFunctiontorque_off
(bot)
examples/aloha_real/robot_utils.py:237
↓ 1 callersFunctiontransfer
( s3obj: ObjectSummary, dest_path: pathlib.Path, progress_func )
src/openpi/shared/download.py:194
↓ 1 callersFunctiontransform_dataset
Transform the dataset by applying the data transforms.
src/openpi/training/data_loader.py:132
↓ 1 callersFunctiontree_to_info
Converts a PyTree into a human-readable string for logging. Optionally, `interp_func` can be provided to convert the leaf values to more meaningfu
src/openpi/training/utils.py:27
↓ 1 callersFunctionvalidate_and_parse_url
(maybe_s3_url: str)
src/openpi/shared/download.py:162
FunctionModule
Factory function, because linen really don't like what I'm doing!
src/openpi/models/siglip.py:293
Method__call__
Apply transformation to the data. Args: data: The data to apply the transform to. This is a possibly nested dictionary that conta
src/openpi/transforms.py:25
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:68
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:99
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:108
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:126
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:156
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:182
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:191
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:205
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:227
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:244
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:259
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:283
Method__call__
(self, data: DataDict)
src/openpi/transforms.py:302
Method__call__
(self, data: dict)
src/openpi/policies/droid_policy.py:38
Method__call__
(self, data: dict)
src/openpi/policies/droid_policy.py:77
Method__call__
(self, data: dict)
src/openpi/policies/libero_policy.py:46
Method__call__
(self, data: dict)
src/openpi/policies/libero_policy.py:112
Method__call__
(self, data: dict)
src/openpi/policies/tavla_policy.py:33
Method__call__
(self, data: dict)
src/openpi/policies/tavla_policy.py:82
Method__call__
(self, data: dict)
src/openpi/policies/aloha_policy.py:45
Method__call__
(self, data: dict)
src/openpi/policies/aloha_policy.py:104
Method__call__
Create a group.
src/openpi/training/config.py:107
Method__call__
(self, model_config: _model.BaseModelConfig)
src/openpi/training/config.py:118
Method__call__
(self, directory: epath.Path)
src/openpi/training/checkpoints.py:124
Method__call__
(self, path: nnx.filterlib.PathParts, x: Any)
src/openpi/shared/nnx_utils.py:60
Method__call__
(self, x)
src/openpi/models/vit.py:35
Method__call__
Applies the AddPositionEmbs module. Args: inputs: Inputs to the layer. Returns: Output tensor with shape `(bs, t
src/openpi/models/vit.py:50
Method__call__
Applies Transformer MlpBlock module.
src/openpi/models/vit.py:78
Method__call__
Applies Encoder1DBlock module. Args: inputs: Inputs to the layer. deterministic: Dropout will not be applied when set to
src/openpi/models/vit.py:124
← previousnext →101–200 of 459, ranked by callers