Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/CTG
/ functions
Functions
1,831 in github.com/NVlabs/CTG
⨍
Functions
1,831
◇
Types & classes
354
Method
__ror__
(self, other)
tbsim/configs/config.py:148
Method
__setitem__
(self, name, value)
tbsim/configs/config.py:42
Method
__setstate__
(self, state)
tbsim/configs/config.py:138
Method
__str__
(self)
tbsim/utils/timer.py:61
Method
__str__
(self)
tbsim/utils/experiment_utils.py:47
Method
_create_networks
(self)
tbsim/models/base_models.py:1258
Method
_forward_networks
(self, inputs, current_states=None, num_steps=None)
tbsim/models/base_models.py:1289
Function
_get_frame_trajectories
Get trajectories (ego and agents) starting at frame_index. Ego's trajectory will be named ego_trajectory while agents' agent_trajectory :para
tbsim/l5kit/visualizer.py:31
Method
_get_gt_controller
(self)
tbsim/evaluation/policy_composers.py:337
Method
_get_gt_planner
(self)
tbsim/evaluation/policy_composers.py:334
Method
_get_lane_flags
(self, data_batch, pred_yaws, pred_positions)
tbsim/models/multiagent_models.py:233
Method
_get_observation_by_index
(self, scene_index, frame_index, agent_track_ids, collate=True)
tbsim/envs/env_l5kit.py:319
Method
_get_sample_function
(self)
tbsim/l5kit/l5_ego_dataset.py:53
Method
_get_sample_function
(self)
tbsim/l5kit/l5_agent_dataset.py:279
Function
_getattr
(obj, attr)
tbsim/utils/torch_utils.py:207
Method
_loss
(self, pred, targ)
tbsim/models/diffuser_helpers.py:844
Method
_loss
(self, pred, targ)
tbsim/models/diffuser_helpers.py:849
Method
_loss
(self, pred, targ)
tbsim/models/diffuser_helpers.py:859
Method
_step
(self, step_actions: RolloutAction, num_steps_to_take)
tbsim/envs/env_trajdata.py:759
Method
add_const_param
(self, param: Param)
tbsim/utils/experiment_utils.py:81
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:88
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:149
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:211
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:253
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:282
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:328
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:370
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:436
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:504
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:545
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:624
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:703
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:747
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:788
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:810
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/utils/guidance_metrics.py:863
Method
add_step
(self, state_info: Dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:36
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:217
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:289
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:367
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:455
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:548
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:594
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:667
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:786
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:873
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray, episode_index: int)
tbsim/envs/env_metrics.py:1070
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:1114
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:1169
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:1239
Method
add_step
(self, state_info: dict, all_scene_index: np.ndarray)
tbsim/envs/env_metrics.py:1326
Method
agents_to_scene_index
Get the corresponding scene index (start from 0) for each agent in the obs
tbsim/envs/env_l5kit.py:199
Method
append_description
(self, descr)
tbsim/utils/diffuser_utils/progress.py:85
Method
append_experience
(self, episodes_data: List)
tbsim/l5kit/l5_ego_dataset.py:223
Function
apply_conditioning
(x, conditions, start_dim, end_dim)
tbsim/models/diffuser_helpers.py:466
Function
assert_size_at_dim
Ensure that arrays and tensors in nested dictionary or list or tuple have size @size in dim @dim. Args: x (dict or list or tuple
tbsim/utils/tensor_utils.py:953
Method
availabilities
(self)
tbsim/policies/common.py:82
Function
backprop_for_loss
Backpropagate loss and update parameters for network with name @name. Args: net (torch.nn.Module): network to update op
tbsim/utils/torch_utils.py:141
Function
batch_average_displacement_error
Returns the average displacement error (ADE), which is the average displacement over all timesteps. During calculation, confidences are ignor
tbsim/utils/metrics.py:201
Function
batch_average_diversity
Compute the distance among trajectory samples averaged across time steps Args: ground_truth (np.ndarray): array of shape (batch)x(tim
tbsim/utils/metrics.py:289
Function
batch_detect_off_road_boxes
Compute whether boxes specified by (@positions, @yaws, and @extents) are out of drivable region. A box is considered off-road if at least one
tbsim/utils/metrics.py:484
Function
batch_detect_off_road_disk
Compute whether disks specified by (@positions, and @extents) are out of drivable region. Args: positions (torch.Tensor): agent centr
tbsim/utils/metrics.py:507
Function
batch_final_displacement_error
Returns the final displacement error (FDE), which is the displacement calculated at the last timestep. During calculation, confidences are ig
tbsim/utils/metrics.py:242
Function
batch_final_diversity
Compute the distance among trajectory samples at the last timestep Args: ground_truth (np.ndarray): array of shape (batch)x(time)x(2D
tbsim/utils/metrics.py:325
Function
batch_pairwise_collision_rate
Count number of collisions among edge pairs in a batch Args: agent_edges (dict): A dict that maps collision types to box locations
tbsim/utils/metrics.py:382
Function
batch_pairwise_collision_rate_masked
Count number of collisions among edge pairs in a batch Args: agent_edges (dict): A dict that maps collision types to box locations
tbsim/utils/metrics.py:417
Function
batch_rmse
Return the root mean squared error, computed using the stable nll Args: ground_truth (np.ndarray): array of shape (batch)x(timesteps)
tbsim/utils/metrics.py:112
Function
batch_time_displace
Return the displacement at timesteps T Args: ground_truth (np.ndarray): array of shape (batch)x(timesteps)x(2D coords) pred (
tbsim/utils/metrics.py:173
Function
batch_to_device
(batch, device='cuda:0')
tbsim/utils/diffuser_utils/arrays.py:91
Method
batch_to_raw_all_agents
(data_batch, step_time)
tbsim/utils/batch_utils.py:115
Method
batch_to_raw_all_agents
(data_batch, step_time)
tbsim/utils/batch_utils.py:158
Function
batch_to_raw_ego
(data_batch, step_time)
tbsim/utils/l5_utils.py:107
Method
batch_to_target_all_agents
(data_batch)
tbsim/utils/batch_utils.py:123
Method
batch_to_target_all_agents
(data_batch)
tbsim/utils/batch_utils.py:212
Function
batch_to_vectorized_feature
(data_batch, dyn_list, step_time, algo_config)
tbsim/utils/l5_utils.py:258
Function
batchify
convert a single dataset item to a batch suitable for passing to a model by 1) converting np arrays to torch tensors and 2) and ensuring that
tbsim/utils/diffuser_utils/arrays.py:51
Method
calculate_vel
(pos, yaw, dt, mask)
tbsim/dynamics/unicycle.py:140
Function
check_action_consistency
(action, action_gt)
tbsim/utils/trajdata_utils.py:1482
Method
checkpoint_monitor_keys
(self)
tbsim/algos/multiagent_algos.py:54
Method
checkpoint_monitor_keys
(self)
tbsim/algos/multiagent_algos.py:196
Method
checkpoint_monitor_keys
(self)
tbsim/algos/multiagent_algos.py:350
Method
checkpoint_monitor_keys
(self)
tbsim/algos/metric_algos.py:39
Method
checkpoint_monitor_keys
(self)
tbsim/algos/metric_algos.py:141
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:71
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:273
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:481
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:630
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:803
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:947
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:1083
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:1322
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:1474
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:1791
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:2159
Method
checkpoint_monitor_keys
(self)
tbsim/algos/algos.py:2491
Method
clear_guidance
(self)
tbsim/policies/wrappers.py:47
Method
clear_guidance
(self)
tbsim/algos/multiagent_algos.py:190
Method
clear_guidance
(self)
tbsim/algos/algos.py:613
Method
clear_guidance
(self)
tbsim/algos/algos.py:2109
Method
clear_guidance
(self)
tbsim/algos/algos.py:2301
← previous
next →
1,001–1,100 of 1,831, ranked by callers