MCPcopy Create free account

hub / github.com/NVlabs/CTG / functions

Functions1,831 in github.com/NVlabs/CTG

Methodclear_guidance
(self)
tbsim/algos/algos.py:2851
Methodclear_guidance
(self)
tbsim/models/multiagent_models.py:451
Methodclear_guidance
(self)
tbsim/models/scenediffuser.py:421
Methodclear_guidance
(self)
tbsim/models/rasterized_models.py:115
Methodclear_guidance
(self)
tbsim/models/vaes.py:405
Methodclear_guidance
(self)
tbsim/models/base_models.py:1253
Methodclear_guidance
(self)
tbsim/models/diffuser.py:344
Methodclear_guidance
(self)
tbsim/models/strive.py:262
Functionclone
Clones all torch tensors and numpy arrays in nested dictionary or list or tuple and returns a new nested structure. Args: x (dic
tbsim/utils/tensor_utils.py:125
Methodclone
(self)
tbsim/configs/scene_edit_config.py:363
Methodclone
(self)
tbsim/configs/base.py:100
Methodclone
(self)
tbsim/configs/eval_config.py:135
Functionclosure
()
tbsim/algos/algo_utils.py:184
Functioncombine_ego_agent_data
(batch, ego_keys, agent_keys, mask=None)
tbsim/algos/algo_utils.py:249
Methodcombine_obs
(self,ego_obs,agent_obs)
tbsim/envs/env_trajdata.py:710
Methodcompose_cartesian
Cartesian product among parameters
tbsim/utils/experiment_utils.py:102
Methodcompose_concate
(param_ranges: List[ParamRange])
tbsim/utils/experiment_utils.py:94
Methodcompose_zip
(param_ranges: List[ParamRange])
tbsim/utils/experiment_utils.py:108
Methodcompute_guidance_loss
-x_initial: [B*N, T, 2/3]
tbsim/utils/guidance_loss.py:2333
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/multiagent_models.py:389
Methodcompute_losses
(self, data_batch)
tbsim/models/scenediffuser.py:1178
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/learned_metrics.py:78
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:78
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:513
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:688
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:873
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:1239
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/rasterized_models.py:1647
Methodcompute_losses
(self,outputs,targets,gamma=1)
tbsim/models/vaes.py:778
Methodcompute_losses
(self,outputs,targets,gamma=1)
tbsim/models/vaes.py:1001
Methodcompute_losses
(self, data_batch)
tbsim/models/diffuser.py:661
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/transformer_model.py:425
Methodcompute_losses
(self, pred_batch, data_batch)
tbsim/models/strive.py:232
Methodcompute_metrics
(self, pred_batch, data_batch)
tbsim/models/multiagent_models.py:142
Methodconfigure_optimizers
(self)
tbsim/algos/multiagent_algos.py:94
Methodconfigure_optimizers
(self)
tbsim/algos/multiagent_algos.py:249
Methodconfigure_optimizers
(self)
tbsim/algos/multiagent_algos.py:419
Methodconfigure_optimizers
(self)
tbsim/algos/metric_algos.py:105
Methodconfigure_optimizers
(self)
tbsim/algos/metric_algos.py:301
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:167
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:436
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:569
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:688
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:862
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:1033
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:1139
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:1287
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:1385
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:1536
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:2003
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:2247
Methodconfigure_optimizers
(self)
tbsim/algos/algos.py:2698
Functioncontiguous
Makes all torch tensors and numpy arrays contiguous in nested dictionary or list or tuple and returns a new nested structure. Args:
tbsim/utils/tensor_utils.py:274
Functioncontingency_planning
A sampling-based contingency planning algorithm Args: ego_tree (_type_): _description_ ego_extents (_type_): _description_
tbsim/utils/planning_utils.py:259
Methodcontrols
(self)
tbsim/policies/common.py:86
Functioncosine_loss
Cosine loss between two tensors. Args: preds (torch.Tensor): torch tensor labels (torch.Tensor): torch tensor Returns:
tbsim/utils/loss_utils.py:21
Functioncreate_configs
( configs_to_search_fn, config_name, config_file, config_dir, prefix, delete_config_di
tbsim/utils/experiment_utils.py:128
Functioncreate_evaluation_configs
( configs_to_search_fn, config_dir, cfg, prefix=None, delete_config_di
tbsim/utils/experiment_utils.py:179
Methodcurrent_agent_names
(self)
tbsim/envs/env_trajdata.py:109
Methodcurrent_agent_names
(self)
tbsim/envs/env_avdata.py:94
Methodcurrent_agent_scene_index
(self)
tbsim/envs/env_trajdata.py:94
Methodcurrent_agent_scene_index
(self)
tbsim/envs/env_avdata.py:79
Methodcurrent_agent_track_id
(self)
tbsim/envs/env_trajdata.py:101
Methodcurrent_agent_track_id
(self)
tbsim/envs/env_avdata.py:86
Methodcurrent_num_agents
(self)
tbsim/envs/env_trajdata.py:86
Methodcurrent_num_agents
(self)
tbsim/envs/env_avdata.py:71
Methodcurrent_scene_index
(self)
tbsim/envs/env_trajdata.py:105
Methodcurrent_scene_index
(self)
tbsim/envs/env_avdata.py:90
Methodcurrent_scene_indices
(self)
tbsim/envs/env_l5kit.py:171
Methodcurrent_scene_names
(self)
tbsim/envs/env_trajdata.py:82
Methodcurrent_scene_names
(self)
tbsim/envs/env_avdata.py:67
Functiondecode_spatial_prediction
Decode spatial predictions (e.g., UNet output) to a list of locations Args: prob_map (torch.Tensor): probability of each spatial loca
tbsim/algos/algo_utils.py:27
Methoddecoder_wrapper
(z_samples)
tbsim/models/vaes.py:365
Methoddecoder_wrapper
(controls)
tbsim/models/base_models.py:1211
Functiondetach
Detaches all torch tensors in nested dictionary or list or tuple and returns a new nested structure. Args: x (dict or list or tu
tbsim/utils/tensor_utils.py:146
Methodeval
(self)
tbsim/policies/hardcoded.py:66
Methodeval
(self)
tbsim/policies/hardcoded.py:129
Methodeval
(self)
tbsim/policies/hardcoded.py:149
Methodeval
(self)
tbsim/policies/hardcoded.py:188
Methodeval
(self)
tbsim/policies/hardcoded.py:300
Methodeval
(self)
tbsim/policies/hardcoded.py:675
Methodeval
(self)
tbsim/policies/hardcoded.py:751
Methodeval
(self)
tbsim/policies/differential_stack_policy.py:359
Methodeval
(self)
tbsim/policies/wrappers.py:24
Methodeval
(self)
tbsim/policies/wrappers.py:94
Methodeval
(self)
tbsim/policies/wrappers.py:181
Methodeval
(self)
tbsim/policies/wrappers.py:205
Methodeval
(self)
tbsim/policies/wrappers.py:226
Methodeval
(self)
tbsim/policies/wrappers.py:260
Methodeval
(self)
tbsim/policies/wrappers.py:291
Methodeval
(self)
tbsim/policies/wrappers.py:343
Methodeval
(self)
tbsim/policies/wrappers.py:699
Methodeval
(self)
tbsim/policies/wrappers.py:1044
Methodexpand_func
(x)
tbsim/policies/hardcoded.py:217
Methodexpand_func
(x)
tbsim/policies/hardcoded.py:448
Methodexpand_func
(x)
tbsim/policies/hardcoded.py:769
Methodfeat_map_out_dim
(self, H, W)
tbsim/models/diffuser_helpers.py:335
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/gpt_utils.py:137
Methodforward
(self, x, data_batch, agt_mask=None)
tbsim/utils/gpt_utils.py:169
Methodforward
Computes and returns loss value. Inputs: - x : the current trajectory (B, N, T, 6) where N is the number of samples and 6 is
tbsim/utils/guidance_loss.py:205
← previousnext →1,101–1,200 of 1,831, ranked by callers