MCPcopy Create free account

hub / github.com/NVlabs/CTG / functions

Functions1,831 in github.com/NVlabs/CTG

Methodforward
(self, map_inputs)
tbsim/models/base_models.py:761
Methodforward
(self, map_inputs, encoder_feats=None)
tbsim/models/base_models.py:802
Methodforward
(self, input_trajectory)
tbsim/models/base_models.py:834
Methodforward
(self, feature,input_trajectory)
tbsim/models/base_models.py:853
Methodforward
(self, inputs, condition_features)
tbsim/models/base_models.py:886
Methodforward
(self, inputs, condition_features, mask, pos)
tbsim/models/base_models.py:920
Methodforward
(self, condition_inputs)
tbsim/models/base_models.py:963
Methodforward
(self, condition_inputs)
tbsim/models/base_models.py:1009
Methodforward
(self, agent_trajs)
tbsim/models/base_models.py:1060
Methodforward
(self, inputs: dict, condition_features: torch.Tensor)
tbsim/models/base_models.py:1089
Methodforward
(self, inputs: dict)
tbsim/models/base_models.py:1110
Methodforward
(self, latents, condition_features, **decoder_kwargs)
tbsim/models/base_models.py:1121
Methodforward
(self, inputs, current_states=None, num_steps=None, with_guidance=False, data_batch=None, num_samp=1)
tbsim/models/base_models.py:1206
Methodforward
(self, inputs, current_states=None, EC_feat=None, num_steps=None)
tbsim/models/base_models.py:1433
Methodforward
(self, data_batch: Dict[str, torch.Tensor], plan=None, num_samp=1, return_diffusion=False,
tbsim/models/diffuser.py:594
Methodforward
x : [ batch_size x inp_channels x horizon ] t : [ batch_size x embed_dim ] returns: out : [ batch_siz
tbsim/models/temporal.py:35
Methodforward
x : [ B*N, T, D ] or [ B*N, M, T, D ] aux_info['cond_feat'] : [B*N, C] or [ B*N, M, C ]
tbsim/models/temporal.py:122
Methodforward
( self, data_batch: Dict[str, torch.Tensor], batch_idx: int = None, plan: Dict[str, torch.Tensor]
tbsim/models/transformer_model.py:189
Methodforward
:param roads: road image with size (B, 128, 128, 3) :return: road features, with one for every mode (B, c, d_k)
tbsim/models/context_encoders.py:39
Methodforward
:param roads: (B, S, P, k_attr+1) where B is batch size, S is num road segments, P is num pts per road segment. :param agent
tbsim/models/context_encoders.py:75
Methodforward
:param roads: (B, M, S, P, k_attr+1) where B is batch size, M is num_agents, S is num road segments, P is num pts per road segment.
tbsim/models/context_encoders.py:136
Methodforward
(self, data_batch)
tbsim/models/strive.py:74
Methodforward
(self, batch_inputs: dict)
tbsim/models/strive.py:185
Functionforward_dynamics
Integrate the state forward with initial state x0, action u Args: dyn_model (dynamics.Dynamics): dynamics model initial_state
tbsim/dynamics/base.py:56
Functionfprint
(*args)
tbsim/models/diffuser.py:33
Methodfrom_dict
(cls, d)
tbsim/policies/common.py:176
Functiongather_sequence
Given a nested dictionary or list or tuple, gathers an element from each sequence of the batch for tensors with leading dimensions [B, T, ...
tbsim/utils/tensor_utils.py:808
Functiongather_sequence_single
Given a tensor with leading dimensions [B, T, ...], gather an element from each sequence in the batch given an index for each sequence.
tbsim/utils/tensor_utils.py:791
Functiongen_EC_edges
generate edges between ego trajectory samples and agent trajectories Args: ego_trajectories (torch.Tensor): [B,A,T,3] agent_traje
tbsim/utils/l5_utils.py:603
Methodgen_EC_edges
(ego_trajectories, agent_trajectories, ego_extents, agent_extents, raw_types, mask=None)
tbsim/utils/batch_utils.py:139
Methodgen_EC_edges
(ego_trajectories, agent_trajectories, ego_extents, agent_extents, raw_types, mask=None)
tbsim/utils/batch_utils.py:283
Functiongen_ego_edges
generate edges between ego trajectory samples and agent trajectories Args: ego_trajectories (torch.Tensor): [B,N,T,3] agent_traje
tbsim/utils/l5_utils.py:572
Methodgen_ego_edges
(ego_trajectories, agent_trajectories, ego_extents, agent_extents, raw_types)
tbsim/utils/batch_utils.py:135
Methodgen_ego_edges
(ego_trajectories, agent_trajectories, ego_extents, agent_extents, raw_types)
tbsim/utils/batch_utils.py:279
Functiongenerate_ROIs_deprecated
This version generates ROI for all agents only at most recent time step unless specified otherwise
tbsim/models/cnn_roi_encoder.py:250
Functiongenerate_agent_sample_mixed
Generates the inputs and targets to train a deep prediction model with vectorized inputs. A deep prediction model takes as input the state of the
tbsim/l5kit/agent_sampling_mixed.py:32
Methodgenerate_configs
Generate configs from the parameter search plan, also rename the experiment by generating the correct alias.
tbsim/utils/experiment_utils.py:116
Methodgenerate_edges
(raw_type, extents, pos_pred, yaw_pred)
tbsim/utils/batch_utils.py:131
Methodgenerate_edges
(raw_type, extents, pos_pred, yaw_pred)
tbsim/utils/batch_utils.py:275
Methodget_EC_pred
(self,obs_dict,cond_traj,goal=None)
tbsim/algos/algos.py:1328
Methodget_action
(self, obs, plan: Plan, init_u=None, **kwargs)
tbsim/policies/hardcoded.py:69
Methodget_action
(self, obs, **kwargs)
tbsim/policies/hardcoded.py:105
Methodget_action
(self, obs, **kwargs)
tbsim/policies/hardcoded.py:132
Methodget_action
(self, obs, step_index=None, **kwargs)
tbsim/policies/hardcoded.py:152
Methodget_action
(self,obs,**kwargs)
tbsim/policies/hardcoded.py:193
Methodget_action
(self,obs,**kwargs)
tbsim/policies/hardcoded.py:545
Methodget_action
(self, obs_dict, **kwargs)
tbsim/policies/hardcoded.py:678
Methodget_action
(self, obs_dict, **kwargs)
tbsim/policies/hardcoded.py:754
Methodget_action
(self,obs,**kwargs)
tbsim/policies/differential_stack_policy.py:362
Methodget_action
(self, obs, with_guidance=False, **kwargs)
tbsim/policies/wrappers.py:28
Methodget_action
(self, obs, with_guidance=False, **kwargs)
tbsim/policies/wrappers.py:54
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:98
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:184
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:208
Methodget_action
(self, obs, step_index)
tbsim/policies/wrappers.py:230
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:263
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:294
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:346
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:702
Methodget_action
(self, obs, **kwargs)
tbsim/policies/wrappers.py:1047
Methodget_action
If using the model as an actor (generating actions)
tbsim/algos/multiagent_algos.py:117
Methodget_action
(self, obs_dict, **kwargs)
tbsim/algos/multiagent_algos.py:286
Methodget_action
If using the model as an actor (generating actions)
tbsim/algos/multiagent_algos.py:449
Methodget_action
(self, obs_dict, with_guidance=False, **kwargs)
tbsim/algos/algos.py:186
Methodget_action
(self, obs_dict, **kwargs)
tbsim/algos/algos.py:242
Methodget_action
(self, obs_dict, sample=True, num_action_samples=1, plan=None, with_guidance=False, **kwargs)
tbsim/algos/algos.py:577
Methodget_action
(self, obs_dict, sample=True, num_action_samples=1, plan_samples=None, **kwargs)
tbsim/algos/algos.py:763
Methodget_action
(self, obs_dict, sample=True, num_action_samples=1, plan=None, **kwargs)
tbsim/algos/algos.py:924
Methodget_action
(self, obs_dict, num_action_samples=1, **kwargs)
tbsim/algos/algos.py:1050
Methodget_action
(self, obs_dict, **kwargs)
tbsim/algos/algos.py:1147
Methodget_action
(self, obs_dict, **kwargs)
tbsim/algos/algos.py:1301
Methodget_action
(self, obs_dict, sample=True, num_action_samples=1, plan_samples=None, **kwargs)
tbsim/algos/algos.py:1431
Methodget_action
(self, obs_dict, sample=True, num_action_samples=1, plan_samples=None, **kwargs)
tbsim/algos/algos.py:1604
Methodget_action
(self, obs_dict, num_action_samples=1, class_free_guide_w=0.0,
tbsim/algos/algos.py:2022
Methodget_action
(self, obs_dict, num_action_samples=1, guide_as_filter_only=False, gui
tbsim/algos/algos.py:2255
Methodget_action
(self, obs_dict, num_action_samples=1, class_free_guide_w=0.0,
tbsim/algos/algos.py:2717
Functionget_bdry_xyh
(lane1,lane2=None,dir="L",W=3.6,num_pts = 25)
tbsim/utils/lane_utils.py:53
Functionget_box_agent_coords
(pos, yaw, extent)
tbsim/utils/geometry_utils.py:22
Functionget_box_agent_coords_np
(pos, yaw, extent)
tbsim/utils/geometry_utils.py:44
Functionget_closest_lane_point
Closest lane for predicted agent. lane_points (torch tensor): [S_seg, S_point, 3] (if agent-centric) [M, S_seg, S_point, 3]
tbsim/utils/trajdata_utils.py:973
Functionget_current_lane_by_point
param point_xyh, (3) in agent coordinate param vector_map, VectorMap output point_xyh, (S_point, 4) in agent coordinate
tbsim/utils/trajdata_utils.py:826
Functionget_current_states_all_agents
(batch: dict, step_time, dyn_type: dynamics.DynType)
tbsim/utils/l5_utils.py:701
Methodget_current_states_all_agents
(batch, step_time, dyn_type)
tbsim/utils/batch_utils.py:119
Methodget_current_states_all_agents
(batch: dict, step_time, dyn_type: dynamics.DynType)
tbsim/utils/batch_utils.py:251
Methodget_drivable_region_map
(rasterized_map)
tbsim/utils/batch_utils.py:143
Methodget_drivable_region_map
(rasterized_map)
tbsim/utils/batch_utils.py:287
Functionget_dynamics_model
(dyn_type: Union[str, DynType])
tbsim/dynamics/__init__.py:10
Functionget_dynamics_types
(veh_mask, ped_mask)
tbsim/utils/l5_utils.py:39
Functionget_edges_from_batch
(data_batch, ego_predictions=None, all_predictions=None)
tbsim/utils/l5_utils.py:647
Methodget_edges_from_batch
(data_batch, ego_predictions=None, all_predictions=None)
tbsim/utils/batch_utils.py:127
Methodget_edges_from_batch
(data_batch, ego_predictions=None, all_predictions=None)
tbsim/utils/batch_utils.py:271
Methodget_env
(self)
tbsim/evaluation/env_builders.py:82
Methodget_env
(self)
tbsim/evaluation/env_builders.py:87
Methodget_env
(self,split_ego=False,parse_obs=True)
tbsim/evaluation/env_builders.py:134
Methodget_episode_metrics
(self)
tbsim/utils/guidance_metrics.py:96
Methodget_episode_metrics
(self)
tbsim/utils/guidance_metrics.py:153
Methodget_episode_metrics
(self)
tbsim/utils/guidance_metrics.py:215
Methodget_episode_metrics
(self)
tbsim/utils/guidance_metrics.py:256
Methodget_episode_metrics
(self)
tbsim/utils/guidance_metrics.py:285
Methodget_episode_metrics
finally see if were met at desired step
tbsim/utils/guidance_metrics.py:332
← previousnext →1,301–1,400 of 1,831, ranked by callers