MCPcopy Create free account

hub / github.com/NVlabs/CTG / functions

Functions1,831 in github.com/NVlabs/CTG

Method__init__
- num_disks : the number of disks to use to approximate the agent for collision detection. more disks improves accura
tbsim/utils/guidance_loss.py:447
Method__init__
- target_pos : (B,2) batch of positions to hit, B must equal the number of agents after applying mask in forward. - target_time: (B,)
tbsim/utils/guidance_loss.py:636
Method__init__
- target_pos : (B,2) batch of positions to hit, B must equal the number of agents after applying mask in forward. - min_target_time :
tbsim/utils/guidance_loss.py:676
Method__init__
- num_points_lw : how many points will be sampled within each agent bounding box to detect map collisions. e.g. (
tbsim/utils/guidance_loss.py:721
Method__init__
- target_pos : (B,2) batch of GLOBAL positions to hit, B must equal the number of agents after applying mask in forward. - target_tim
tbsim/utils/guidance_loss.py:934
Method__init__
- target_pos : (B,2) batch of GLOBAL positions to hit, B must equal the number of agents after applying mask in forward. - urgency: (
tbsim/utils/guidance_loss.py:1037
Method__init__
- leader_idx : index to serve as the leader of the group (others will follow them). This is the index in the scene, not the index within the
tbsim/utils/guidance_loss.py:1142
Method__init__
- stop_sign_pos : stop sign region center position - stop_box_dim: stop box dimension (width, height) - scale: scale factor
tbsim/utils/guidance_loss.py:1219
Method__init__
- stop_sign_pos : stop sign region center position (global frame) - stop_box_dim: stop box dimension (width, height) - scale
tbsim/utils/guidance_loss.py:1323
Method__init__
- acc_limit : acceleration limit.
tbsim/utils/guidance_loss.py:1448
Method__init__
- speed_limit : speed limit.
tbsim/utils/guidance_loss.py:1513
Method__init__
(self, target_inds=[1, 2, 3])
tbsim/utils/guidance_loss.py:1578
Method__init__
(self, target_ind=20, ref_ind=1, min_distance=5, max_distance=15)
tbsim/utils/guidance_loss.py:1635
Method__init__
(self, target_ind=2, ref_ind=3, collision_radius=1.0)
tbsim/utils/guidance_loss.py:1695
Method__init__
(self, target_ind=1, ref_ind=2, min_dist=10, max_dist=30, decay_rate=0.9)
tbsim/utils/guidance_loss.py:1743
Method__init__
(self, target_ind=6)
tbsim/utils/guidance_loss.py:1799
Method__init__
(self, target_ind=2, ref_ind=3)
tbsim/utils/guidance_loss.py:1848
Method__init__
(self, target_ind=2, ref_ind=3)
tbsim/utils/guidance_loss.py:1905
Method__init__
(self, target_ind=4, decay_rate=0.9, T=52)
tbsim/utils/guidance_loss.py:1962
Method__init__
(self, target_ind=8, ref_ind=1, min_dist=5, max_dist=15, decay_rate=0.9)
tbsim/utils/guidance_loss.py:2018
Method__init__
- example_obs [optional] - if this guidance will only be used on a single batch repeatedly, i.e. the same
tbsim/utils/guidance_loss.py:2110
Method__init__
(self, transform, transform_params, scale_traj=lambda x,y:x, descale_traj=lambda x,y:x)
tbsim/utils/guidance_loss.py:2183
Method__init__
(self, total, name = 'Progress', ncol=3, max_length=20, indent=0, line_width=100, speed_update_freq=100)
tbsim/utils/diffuser_utils/progress.py:7
Method__init__
(self, *args, **kwargs)
tbsim/utils/diffuser_utils/progress.py:153
Method__init__
( self, dynamics_type, dynamics_kwargs, step_time: float,
tbsim/policies/hardcoded.py:38
Method__init__
(self, device)
tbsim/policies/hardcoded.py:126
Method__init__
(self, action_log, device)
tbsim/policies/hardcoded.py:145
Method__init__
(self,ego_sampler,EC_model,agent_planner=None,device="cpu")
tbsim/policies/hardcoded.py:181
Method__init__
(self,ego_sampler,predictor,config,agent_planner=None,device="cpu",mode="contingency")
tbsim/policies/hardcoded.py:287
Method__init__
(self, device, step_time, predictor, solver="casadi", *args, **kwargs)
tbsim/policies/hardcoded.py:667
Method__init__
(self, device, step_time, predictor,ego_sampler=None, *args, **kwargs)
tbsim/policies/hardcoded.py:738
Method__init__
(self, device, *args, **kwargs)
tbsim/policies/base.py:5
Method__init__
(self,diffstack_args,device="cpu")
tbsim/policies/differential_stack_policy.py:173
Method__init__
(self, positions, yaws)
tbsim/policies/common.py:12
Method__init__
(self, positions, yaws, availabilities, controls=None)
tbsim/policies/common.py:71
Method__init__
(self, ego=None, ego_info=None, agents=None, agents_info=None)
tbsim/policies/common.py:111
Method__init__
(self, planner, controller)
tbsim/policies/wrappers.py:19
Method__init__
Args: ego_action_sampler: a policy that generates N action samples agent_traj_predictor: a model that predicts the m
tbsim/policies/wrappers.py:83
Method__init__
(self, model, get_action_kwargs=None, get_plan_kwargs=None)
tbsim/policies/wrappers.py:146
Method__init__
Args: planner: a policy that generates a coarse motion plan refiner: a policy (optimization based) that takes the coa
tbsim/policies/wrappers.py:171
Method__init__
Args: policy: policy to be wrapped dt: speed_filter:
tbsim/policies/wrappers.py:192
Method__init__
(self, ego_policy=None, agents_policy=None, pass_agent_obs=True)
tbsim/policies/wrappers.py:220
Method__init__
(self, policy, noise)
tbsim/policies/wrappers.py:255
Method__init__
Args: -ego_action_sampler: a policy that generates N action samples -guidance_config_list: guidance config for loss
tbsim/policies/wrappers.py:275
Method__init__
(self, policy)
tbsim/policies/wrappers.py:338
Method__init__
(self, policy)
tbsim/policies/wrappers.py:695
Method__init__
(self, policy)
tbsim/policies/wrappers.py:1039
Method__init__
A gym-like interface for simulating traffic behaviors (both ego and other agents) with UnifiedDataset Args: env_config (
tbsim/envs/env_trajdata.py:29
Method__init__
A gym-like interface for simulating traffic behaviors (both ego and other agents) with UnifiedDataset, with the capability of spliting ego an
tbsim/envs/env_trajdata.py:520
Method__init__
(self)
tbsim/envs/env_metrics.py:24
Method__init__
(self)
tbsim/envs/env_metrics.py:393
Method__init__
(self)
tbsim/envs/env_metrics.py:491
Method__init__
(self, num_collision_frames=1, num_offroad_frames=3)
tbsim/envs/env_metrics.py:584
Method__init__
(self, metric_algo, perturbations=None)
tbsim/envs/env_metrics.py:650
Method__init__
(self, metric_algo, perturbations=None)
tbsim/envs/env_metrics.py:769
Method__init__
(self, metric_algo, rolling_horizon=None, perturbations=None)
tbsim/envs/env_metrics.py:860
Method__init__
Estimate occupancy with kernel density estimation under a Gaussian RBF kernel Args: gridinfo (dict): grid offset, grid step size
tbsim/envs/env_metrics.py:978
Method__init__
(self, gridinfo, sigma=1.0)
tbsim/envs/env_metrics.py:1058
Method__init__
(self, gridinfo, sigma=1.0, threshold=1e-2)
tbsim/envs/env_metrics.py:1095
Method__init__
(self, gridinfo, sigma=1.0)
tbsim/envs/env_metrics.py:1157
Method__init__
(self, metric_algo, perturbations=None)
tbsim/envs/env_metrics.py:1222
Method__init__
(self, metric_algo, rolling_horizon, perturbations=None)
tbsim/envs/env_metrics.py:1313
Method__init__
A gym-like interface for simulating traffic behaviors (both ego and other agents) with UnifiedDataset Args: env_config (
tbsim/envs/env_avdata.py:19
Method__init__
A gym-like interface for simulating traffic behaviors (both ego and other agents) with L5Kit's SimulationDataset Args: e
tbsim/envs/env_l5kit.py:21
Method__init__
Instantiates the class. Arguments: cfg: config to load settings from mapAPI: mapAPI to query map information
tbsim/l5kit/vectorizer.py:23
Method__init__
( self, cfg, vectorizer: Vectorizer, rasterizer: Rasterizer,
tbsim/l5kit/l5_ego_dataset.py:107
Method__init__
(self, dataset)
tbsim/l5kit/l5_ego_dataset.py:211
Method__init__
( self, cfg: dict, zarr_dataset: ChunkedDataset, vectorizer: V
tbsim/l5kit/l5_agent_dataset.py:246
Method__init__
This class allows to: - rasterise the same frame across multiple scenes for ego; - rasterise the same frame across multiple scenes for
tbsim/l5kit/simulation_dataset.py:38
Method__init__
( self, render_context: RenderContext, semantic_map_path: str, world_to_ecef: np.ndarray, )
tbsim/l5kit/vis_rasterizer.py:85
Method__init__
stop_sign_pos: [B, 2] stop_box_dim: [B, 2]
tbsim/rules/stl_traffic_rules.py:8
Method__init__
(self, stop_sign_pos, stop_box_dim, low_speed_th=0.1)
tbsim/rules/stl_traffic_rules.py:45
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/multiagent_algos.py:314
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/metric_algos.py:121
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:41
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:213
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:469
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:619
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:792
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:936
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:1070
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:1174
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:1310
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:1462
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:1634
Method__init__
(self, algo_config, modality_shapes)
tbsim/algos/algos.py:2145
Method__init__
Creates networks and places them into @self.nets.
tbsim/algos/algos.py:2306
Method__init__
( self, l5_config: dict, train_config: TrainConfig, )
tbsim/datasets/l5kit_datamodules.py:59
Method__init__
( self, l5_config, train_config: TrainConfig, )
tbsim/datasets/l5kit_datamodules.py:129
Method__init__
(self, data_config, train_config: TrainConfig)
tbsim/datasets/trajdata_datamodules.py:110
Method__init__
Args: encoder: FactorizedEncoder decoder: FactorizedDecoder src_embed: source embedding network
tbsim/models/Transformer.py:25
Method__init__
(self, d_model, dt, dyns, state2feature, feature2state)
tbsim/models/Transformer.py:92
Method__init__
Factorized encoder and agent axis Args: temporal_enc: encoder with attention over temporal axis agent_enc: en
tbsim/models/Transformer.py:138
Method__init__
Factorized encoder and agent axis Args: temporal_enc: encoder with attention over temporal axis agent_enc: en
tbsim/models/Transformer.py:186
Method__init__
(self, features, eps=1e-6)
tbsim/models/Transformer.py:231
Method__init__
(self, size, dropout)
tbsim/models/Transformer.py:249
Method__init__
(self, size, self_attn, feed_forward, dropout)
tbsim/models/Transformer.py:262
Method__init__
(self, layer, N)
tbsim/models/Transformer.py:278
Method__init__
(self, encoder, decoder, src_embed, src2posfun)
tbsim/models/Transformer.py:295
Method__init__
( self, temporal_attn, agent_attn, ff, emb_dim, output_dim, static=False )
tbsim/models/Transformer.py:337
← previousnext →801–900 of 1,831, ranked by callers