Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TongZhangTHU/sgr
/ functions
Functions
316 in github.com/TongZhangTHU/sgr
⨍
Functions
316
◇
Types & classes
54
Function
check_gimbal_lock
(pred_rot_and_grip, gt_rot_and_grip, resolution)
helpers/utils.py:71
Function
correct_rotation_instability
(disc, resolution)
helpers/utils.py:57
Function
create_agent
(cfg: DictConfig)
agents/peract_bc/launch_utils.py:362
Function
create_agent
(cfg: DictConfig)
agents/sgr/launch_utils.py:391
Function
create_agent
(cfg: DictConfig)
agents/semantic_bc_lang/launch_utils.py:350
Function
create_replay
(batch_size: int, timesteps: int, save_dir: str, cameras: list, voxel_size
agents/peract_bc/launch_utils.py:32
Function
create_replay
(batch_size: int, timesteps: int, save_dir: str, cameras
agents/sgr/launch_utils.py:30
Function
create_replay
(batch_size: int, timesteps: int, save_dir: str, cameras
agents/semantic_bc_lang/launch_utils.py:29
Method
dtype
(self)
helpers/clip/core/clip.py:405
Method
encode_text
(self, x)
agents/peract_bc/perceiver_lang_io.py:324
Function
extract_obs
(obs: Observation, cameras, t: int = 0, prev_action=None,
helpers/utils.py:358
Function
fill_multi_task_replay
(cfg: DictConfig, obs_config: ObservationConfig, rank: i
agents/peract_bc/launch_utils.py:297
Function
fill_multi_task_replay
( cfg: DictConfig, obs_config: ObservationConfig, rank: int, replay: ReplayBuffer, tasks:
agents/sgr/launch_utils.py:336
Function
fill_multi_task_replay
( cfg: DictConfig, obs_config: ObservationConfig, rank: int, replay: ReplayBuffer, tasks:
agents/semantic_bc_lang/launch_utils.py:297
Function
fill_replay
(cfg: DictConfig, obs_config: ObservationConfig, rank: int, re
agents/peract_bc/launch_utils.py:207
Function
fill_replay
(cfg: DictConfig, obs_config: ObservationConfig, rank: int, re
agents/sgr/launch_utils.py:228
Function
fill_replay
(cfg: DictConfig, obs_config: ObservationConfig, rank: int, re
agents/semantic_bc_lang/launch_utils.py:213
Function
find_minimum_difference
(lst)
helpers/demo_loading_utils.py:66
Method
forward
(self, x, gamma, beta)
helpers/network_utils.py:58
Method
forward
(self, x)
helpers/network_utils.py:103
Method
forward
(self, x, gamma, beta)
helpers/network_utils.py:120
Method
forward
(self, x)
helpers/network_utils.py:166
Method
forward
(self, x)
helpers/network_utils.py:210
Method
forward
(self, x)
helpers/network_utils.py:233
Method
forward
(self, x)
helpers/network_utils.py:253
Method
forward
(self, x)
helpers/network_utils.py:285
Method
forward
(self, x)
helpers/network_utils.py:324
Method
forward
(self, observations, low_dim_ins)
helpers/network_utils.py:382
Method
forward
(self, observations, low_dim_ins, lang_goal_emb)
helpers/network_utils.py:453
Method
forward
(self, x, **kwargs)
helpers/network_utils.py:488
Method
forward
(self, x)
helpers/network_utils.py:502
Method
forward
(self, x)
helpers/network_utils.py:525
Method
forward
(self, x)
helpers/network_utils.py:548
Method
forward
(self, img)
helpers/network_utils.py:580
Method
forward
(self, observations, low_dim_ins, lang_goal_emb)
helpers/network_utils.py:654
Method
forward
(self, x)
helpers/network_utils.py:701
Method
forward
(self, x)
helpers/network_utils.py:736
Method
forward
(self, x)
helpers/network_utils.py:763
Method
forward
(self, feature)
helpers/network_utils.py:794
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:75
Method
forward
(self, x)
helpers/clip/core/clip.py:101
Method
forward
(self, x)
helpers/clip/core/clip.py:170
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:213
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:220
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:242
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:255
Method
forward
(self, x: torch.Tensor)
helpers/clip/core/clip.py:276
Method
forward
(self, x, **kwargs)
agents/peract_bc/perceiver_lang_io.py:59
Method
forward
(self, x)
agents/peract_bc/perceiver_lang_io.py:71
Method
forward
(self, x)
agents/peract_bc/perceiver_lang_io.py:85
Method
forward
(self, x, context=None, mask=None)
agents/peract_bc/perceiver_lang_io.py:103
Method
forward
( self, ins, proprio, lang_goal_emb, lang_token_em
agents/peract_bc/perceiver_lang_io.py:333
Method
forward
(self, rgb_pcd, proprio, pcd, lang_goal_emb, lang_token_embs, bounds=None, prev_bounds=None, p
agents/peract_bc/qattention_peract_bc_agent.py:72
Method
forward
(self, rgb_pcd, proprio, pcd, lang_goal_emb,
agents/sgr/sgr_agent.py:78
Method
forward
(self, pcd, rgb, bounds, proprio,
agents/sgr/sgr_network.py:424
Method
forward
(self, pcds, rgbs, bounds, low_dim_ins, lang_goal_emb)
agents/semantic_bc_lang/networks.py:276
Method
forward
(self, rgb_pcd, proprio, pcd, lang_goal_emb,
agents/semantic_bc_lang/semantic_bc_lang_agent.py:64
Method
forward_spatial
(self, x: torch.Tensor)
helpers/clip/core/clip.py:295
Function
fourier_encode
(x, max_freq, num_bands = 4)
agents/peract_bc/perceiver_lang_io.py:38
Function
get_device
(gpu)
helpers/utils.py:464
Function
keypoint_discovery
(demo: Demo, stopping_delta=0.1, method='heuristic')
helpers/demo_loading_utils.py:21
Method
launch
(self)
helpers/custom_rlbench_env.py:283
Method
launch
(self)
helpers/custom_rlbench_env.py:477
Method
load_weights
(self, savedir: str)
helpers/preprocess_agent.py:80
Method
load_weights
(self, savedir: str)
agents/peract_bc/qattention_stack_agent.py:107
Method
load_weights
(self, savedir: str)
agents/peract_bc/qattention_peract_bc_agent.py:651
Method
load_weights
(self, savedir: str)
agents/sgr/sgr_agent.py:915
Method
load_weights
(self, savedir: str)
agents/sgr/stack_agent.py:122
Method
load_weights
(self, savedir: str)
agents/semantic_bc_lang/semantic_bc_lang_agent.py:472
Method
load_weights
(self, savedir: str)
agents/semantic_bc_lang/stack_agent.py:105
Function
loss_weights
(replay_sample, beta=1.0)
helpers/utils.py:32
Function
normalize_quaternion
(quat)
helpers/utils.py:53
Method
observation_elements
(self)
helpers/custom_rlbench_env.py:59
Method
observation_elements
(self)
helpers/custom_rlbench_env.py:246
Method
observation_elements
(self)
helpers/custom_rlbench_env.py:440
Function
point_to_pixel_index
( point: np.ndarray, extrinsics: np.ndarray, intrinsics: np.ndarray)
helpers/utils.py:142
Function
point_to_voxel_index
( point: np.ndarray, voxel_size: np.ndarray, coord_bounds: np.ndarray)
helpers/utils.py:103
Function
point_to_voxel_index_no_clip
( point: np.ndarray, voxel_size: np.ndarray, coord_bounds: np.ndarray)
helpers/utils.py:117
Function
preprocess
Pre-process input (subtract mean, divide by std).
helpers/utils.py:285
Function
quaternion_to_discrete_euler
(quaternion, resolution)
helpers/utils.py:82
Function
quaternion_to_soft_discrete_euler
(quaternion, resolution)
helpers/utils.py:89
Function
rand_discrete
(size, min=0, max=1)
helpers/utils.py:347
Function
rand_dist
(size, min=-1.0, max=1.0)
helpers/utils.py:343
Method
register_callback
(self, func)
helpers/custom_rlbench_env.py:118
Method
register_callback
(self, func)
helpers/custom_rlbench_env.py:305
Method
register_callback
(self, func)
helpers/custom_rlbench_env.py:503
Method
remove_language_head
(state_dict)
agents/semantic_bc_lang/networks.py:102
Method
reset
(self)
helpers/custom_rlbench_env.py:295
Method
reset
(self)
helpers/custom_rlbench_env.py:489
Method
reset
(self)
helpers/preprocess_agent.py:86
Method
reset_to_demo
(self, i)
helpers/custom_rlbench_env.py:372
Method
reset_to_demo
(self, i)
helpers/custom_rlbench_env.py:569
Function
run_seed
(rank, cfg: DictConfig, obs_config: ObservationConfig, cams, multi_task, seed, world_size)
run_seed_fn.py:18
Method
save_weights
(self, savedir: str)
helpers/preprocess_agent.py:83
Method
save_weights
(self, savedir: str)
agents/peract_bc/qattention_stack_agent.py:111
Method
save_weights
(self, savedir: str)
agents/peract_bc/qattention_peract_bc_agent.py:670
Method
save_weights
(self, savedir: str)
agents/sgr/sgr_agent.py:943
Method
save_weights
(self, savedir: str)
agents/sgr/stack_agent.py:126
Method
save_weights
(self, savedir: str)
agents/semantic_bc_lang/semantic_bc_lang_agent.py:491
Method
save_weights
(self, savedir: str)
agents/semantic_bc_lang/stack_agent.py:109
← previous
next →
201–300 of 316, ranked by callers