Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZZongzheng0918/TA-VLA
/ functions
Functions
459 in github.com/ZZongzheng0918/TA-VLA
⨍
Functions
459
◇
Types & classes
131
↓ 1 callers
Function
_should_invalidate_cache
Invalidate the cache if it is expired. Return True if the cache was invalidated.
src/openpi/shared/download.py:319
↓ 1 callers
Method
_step
A single step of the runtime loop.
packages/openpi-client/src/openpi_client/runtime/runtime.py:80
↓ 1 callers
Method
_update_cache
Update KV cache with new values
src/openpi/models/gemma_fast.py:175
↓ 1 callers
Method
_update_histograms
Update histograms with new vectors.
src/openpi/shared/normalize.py:101
↓ 1 callers
Method
_wait_for_server
(self)
packages/openpi-client/src/openpi_client/websocket_client_policy.py:26
↓ 1 callers
Method
apply_action
Take an action in the environment.
packages/openpi-client/src/openpi_client/runtime/environment.py:31
↓ 1 callers
Function
convert_image
(img)
src/openpi/policies/aloha_policy.py:169
↓ 1 callers
Function
create_dataset
Create a dataset for training.
src/openpi/training/data_loader.py:89
↓ 1 callers
Function
create_default_policy
Create a default policy for the given environment.
scripts/serve_policy.py:79
↓ 1 callers
Function
create_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 callers
Function
create_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 callers
Function
create_policy
Create a policy from the given arguments.
scripts/serve_policy.py:88
↓ 1 callers
Function
decode_variant
Converts a string like "B" or "B/32" into a params dict.
src/openpi/models/siglip.py:298
↓ 1 callers
Function
deserialize_json
Deserialize the running statistics from a JSON string.
src/openpi/shared/normalize.py:130
↓ 1 callers
Function
detect_cameras
Detect available cameras in the HDF5 files.
examples/aloha_real/convert_self_data_to_lerobot.py:35
↓ 1 callers
Method
embed
(self, tokens: at.Int[at.Array, "b t"])
src/openpi/models/gemma.py:367
↓ 1 callers
Method
encode
(self, x)
src/openpi/models/gemma_fast.py:115
↓ 1 callers
Method
get_action
Query the agent for the next action.
packages/openpi-client/src/openpi_client/runtime/agent.py:12
↓ 1 callers
Method
get_effort
(self)
examples/aloha_real/real_env.py:88
↓ 1 callers
Method
get_images
(self)
examples/aloha_real/real_env.py:95
↓ 1 callers
Method
get_observation
Query the environment for the current state.
packages/openpi-client/src/openpi_client/runtime/environment.py:27
↓ 1 callers
Function
get_posemb
(self, typ, seqshape, width, name, dtype=jnp.float32)
src/openpi/models/siglip.py:40
↓ 1 callers
Method
get_qpos
(self)
examples/aloha_real/real_env.py:66
↓ 1 callers
Method
get_qvel
(self)
examples/aloha_real/real_env.py:79
↓ 1 callers
Function
has_effort
(hdf5_files: list[Path])
examples/aloha_real/convert_aloha_data_to_lerobot.py:139
↓ 1 callers
Function
has_effort
(hdf5_files: list[Path])
examples/aloha_real/convert_self_data_to_lerobot.py:139
↓ 1 callers
Function
has_velocity
(hdf5_files: list[Path])
examples/aloha_real/convert_aloha_data_to_lerobot.py:134
↓ 1 callers
Function
has_velocity
(hdf5_files: list[Path])
examples/aloha_real/convert_self_data_to_lerobot.py:134
↓ 1 callers
Method
infer
(self, obs: Dict)
packages/openpi-client/src/openpi_client/action_chunk_broker.py:28
↓ 1 callers
Method
infer
Infer actions from observations.
packages/openpi-client/src/openpi_client/base_policy.py:7
↓ 1 callers
Function
init_logging
Custom logging format for better readability.
scripts/train.py:30
↓ 1 callers
Function
init_train_state
( config: _config.TrainConfig, init_rng: at.KeyArrayLike, mesh: jax.sharding.Mesh, *, resume: bool )
scripts/train.py:84
↓ 1 callers
Function
init_wandb
(config: _config.TrainConfig, *, resuming: bool, log_code: bool = False, enabled: bool = True)
scripts/train.py:49
↓ 1 callers
Method
inputs_spec
(self, *, batch_size: int = 1)
src/openpi/models/pi0.py:92
↓ 1 callers
Method
is_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 callers
Function
left_to_right_align
Converts input from left-align to right-aligned.
src/openpi/models/pi0_fast.py:51
↓ 1 callers
Function
linear_to_radian
(linear_position, arm_length, horn_radius)
src/openpi/policies/aloha_policy.py:133
↓ 1 callers
Function
load_raw_episode_data
( ep_path: Path, )
examples/aloha_real/convert_aloha_data_to_lerobot.py:165
↓ 1 callers
Function
load_raw_episode_data
( ep_path: Path, cameras: List[str], )
examples/aloha_real/convert_self_data_to_lerobot.py:174
↓ 1 callers
Function
load_raw_images_per_camera
(ep: h5py.File, cameras: list[str])
examples/aloha_real/convert_aloha_data_to_lerobot.py:144
↓ 1 callers
Function
load_raw_images_per_camera
(ep: h5py.File, cameras: list[str])
examples/aloha_real/convert_self_data_to_lerobot.py:144
↓ 1 callers
Function
main
(config: _config.TrainConfig)
scripts/train.py:193
↓ 1 callers
Function
main
(args: Args)
scripts/serve_policy.py:99
↓ 1 callers
Function
main
(args: Args)
examples/simple_client/main.py:29
↓ 1 callers
Function
main
(args: Args)
examples/droid/main.py:73
↓ 1 callers
Method
mark_episode_complete
Marks the end of an episode.
packages/openpi-client/src/openpi_client/runtime/runtime.py:46
↓ 1 callers
Method
metadata
(self)
src/openpi/policies/policy.py:59
↓ 1 callers
Function
move_arms
(bot_list, target_pose_list, move_time=1)
examples/aloha_real/robot_utils.py:180
↓ 1 callers
Function
move_grippers
(bot_list, target_pose_list, move_time)
examples/aloha_real/robot_utils.py:193
↓ 1 callers
Method
on_episode_end
Called when an episode ends.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:19
↓ 1 callers
Method
on_episode_start
Called when an episode starts.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:11
↓ 1 callers
Method
on_step
Append a step to the episode.
packages/openpi-client/src/openpi_client/runtime/subscriber.py:15
↓ 1 callers
Function
populate_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 callers
Function
populate_dataset
( dataset: LeRobotDataset, hdf5_files: list[Path], cameras: List[str], task: str, episodes
examples/aloha_real/convert_self_data_to_lerobot.py:201
↓ 1 callers
Function
posemb_sincos
Computes sine-cosine positional embedding vectors for scalar positions.
src/openpi/models/pi0.py:50
↓ 1 callers
Function
posemb_sincos_2d
Follows the MoCo v3 logic.
src/openpi/models/siglip.py:27
↓ 1 callers
Function
prevent_keyboard_interrupt
Temporarily prevent keyboard interrupts by delaying them until after the protected code.
examples/droid/main.py:55
↓ 1 callers
Function
put_along_last_axis
Like np.put_along_axis(..., axis=-1), since jax is missing it.
src/openpi/models/pi0_fast.py:66
↓ 1 callers
Method
sample_actions
( self, rng: at.KeyArrayLike, observation: _model.Observation, *, num_
src/openpi/models/pi0.py:371
↓ 1 callers
Function
serialize_json
Serialize the running statistics to a JSON string.
src/openpi/shared/normalize.py:125
↓ 1 callers
Method
set_gripper_pose
(self, left_gripper_desired_pos_normalized, right_gripper_desired_pos_normalized)
examples/aloha_real/real_env.py:98
↓ 1 callers
Function
set_jax_cpu_backend_if_no_gpu
()
src/openpi/conftest.py:7
↓ 1 callers
Method
setup_robots
(self)
examples/aloha_real/real_env.py:62
↓ 1 callers
Method
to_dict
Convert the Observation to a nested dict.
src/openpi/models/model.py:130
↓ 1 callers
Function
torque_off
(bot)
examples/aloha_real/robot_utils.py:237
↓ 1 callers
Function
transfer
( s3obj: ObjectSummary, dest_path: pathlib.Path, progress_func )
src/openpi/shared/download.py:194
↓ 1 callers
Function
transform_dataset
Transform the dataset by applying the data transforms.
src/openpi/training/data_loader.py:132
↓ 1 callers
Function
tree_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 callers
Function
validate_and_parse_url
(maybe_s3_url: str)
src/openpi/shared/download.py:162
Function
Module
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
← previous
next →
101–200 of 459, ranked by callers