MCPcopy Create free account

hub / github.com/Rex-sys-hk/PlanScope / functions

Functions459 in github.com/Rex-sys-hk/PlanScope

↓ 1 callersFunctionget_local_scenario_cache
Get a list of cached scenario paths from a local cache. :param cache_path: Root path of the local cache dir. :param feature_names: Set of
src/utils/generating_cache_list.py:14
↓ 1 callersFunctionget_norm
(norm: str)
src/models/pluto/layers/common_layers.py:32
↓ 1 callersMethodget_planning_loss
trajectory: (bs, R, M, T, 4) valid_mask: (bs, T)
src/models/pluto/scope_trainer.py:252
↓ 1 callersMethodget_planning_loss
trajectory: (bs, R, M, T, 4) valid_mask: (bs, T)
src/models/pluto/pluto_trainer.py:200
↓ 1 callersMethodget_prediction_loss
prediction: (bs, A-1, T, 6) valid_mask: (bs, A-1, T) target: (bs, A-1, 6)
src/models/pluto/scope_trainer.py:239
↓ 1 callersMethodget_prediction_loss
prediction: (bs, A-1, T, 6) valid_mask: (bs, A-1, T) target: (bs, A-1, 6)
src/models/pluto/pluto_trainer.py:187
↓ 1 callersMethodget_state_dot
Calculates the changing rate of state array representation. :param states: array describing the state of the ego-vehicle :ret
src/post_processing/forward_simulation/batch_kinematic_bicycle.py:58
↓ 1 callersMethodget_type
Retrieves type of token. :param token: geometry identifier :return: type of token
src/scenario_manager/occupancy_map.py:56
↓ 1 callersFunctionget_velocity_curvature_profiles_with_derivatives_from_poses
Main function for joint estimation of velocity, acceleration, curvature, and curvature rate given N poses sampled at discretization_time. Th
src/post_processing/forward_simulation/batch_lqr_utils.py:206
↓ 1 callersMethodhorizon_loss
(self, details, target, probabilities, device)
src/metrics/mul_ade.py:152
↓ 1 callersMethodid_to_roadblock
Retrieves roadblock from map-api based on id :param id: id of roadblock :return: roadblock class
src/scenario_manager/utils/bfs_roadblock.py:90
↓ 1 callersFunctioninterpolate_centerline
(xy: np.ndarray, n_points: int)
src/utils/vis.py:18
↓ 1 callersMethodload_route
Loads route dictionaries from map-api. :param route_roadblock_ids: ID's of on-route roadblocks
src/scenario_manager/route_manager.py:53
↓ 1 callersFunctionmain
Main entrypoint for training/validation experiments. :param cfg: omegaconf dictionary
run_training.py:35
↓ 1 callersFunctionmain
Execute all available challenges simultaneously on the same scenario. Calls run_simulation to allow planner to be specified via config or dir
run_simulation.py:121
↓ 1 callersMethodmgda_find_scaler
(self, losses, skip=5)
src/models/pluto/scope_trainer.py:547
↓ 1 callersFunctionmvn_loss
Computes negative log likelihood of ground truth trajectory under a predictive distribution with a single mode, with a bivariate Gaussian dis
src/metrics/nll_loss.py:11
↓ 1 callersFunctionplot_polyline
Plot a group of polylines with the specified config. Args: polylines: Collection of (N, 2) polylines to plot. style: Style of the
src/utils/vis.py:140
↓ 1 callersMethodpoints_in_polygons_with_attribute
Determines wether input-points are in polygons of the occupancy map :param points: input-points :return: boolean array of sha
src/scenario_manager/occupancy_map.py:125
↓ 1 callersFunctionprint_simulation_results
(file=None)
run_simulation.py:35
↓ 1 callersMethodpropagate_state
Propagates ego state array forward with motion model. :param states: state array representation of the ego-vehicle :param com
src/post_processing/forward_simulation/batch_kinematic_bicycle.py:135
↓ 1 callersFunctionremove_route_loops
Remove ending of route, if the roadblock are intersecting the route (forming a loop). :param route_roadblocks: input route roadblocks :pa
src/scenario_manager/utils/route_utils.py:221
↓ 1 callersFunctionroute_roadblock_correction
Applies several methods to correct route roadblocks. :param ego_state: class containing ego state :param map_api: map object :param r
src/scenario_manager/utils/route_utils.py:117
↓ 1 callersFunctionrun_simulation
Execute all available challenges simultaneously on the same scenario. Helper function for main to allow planner to be specified via config or
run_simulation.py:48
↓ 1 callersMethodsafety_check
( self, ego_position: npt.NDArray[np.float32], ego_heading: npt.NDArray[np.float32],
src/data_augmentation/contrastive_scenario_generator.py:173
↓ 1 callersMethodsafety_check
( self, ego_position: npt.NDArray[np.float32], ego_heading: npt.NDArray[np.float32],
src/data_augmentation/scope_scenario_generator.py:175
↓ 1 callersMethodscenario_casual_reasoning_preprocess
( self, ego_state: EgoState, scenario_manager: ScenarioManager, agents_tokens:
src/feature_builders/pluto_feature_builder.py:289
↓ 1 callersMethodscenario_casual_reasoning_preprocess
( self, ego_state: EgoState, scenario_manager: ScenarioManager, agents_tokens:
src/feature_builders/scope_feature_builder.py:289
↓ 1 callersMethodserialize
(self)
src/features/pluto_feature.py:150
↓ 1 callersMethodtrack_trajectory
Calculates the command values given the proposals to track. :param current_iteration: current simulation iteration. :param ne
src/post_processing/forward_simulation/batch_lqr.py:158
↓ 1 callersMethodupdate
(self, outputs: Dict[str, torch.Tensor], target: torch.Tensor)
src/metrics/mr.py:29
↓ 1 callersFunctionupdate_config_for_training
Updates the config based on some conditions. :param cfg: omegaconf dictionary that is used to run the experiment.
src/custom_training/custom_training_builder.py:43
↓ 1 callersMethodvisualize
(self, details, target, probabilities, VISULIZE)
src/metrics/mul_ade.py:244
MethodACCELERATION_2D
(cls)
src/post_processing/common/enum.py:110
MethodACCELERATION_X
(cls)
src/post_processing/common/enum.py:62
MethodACCELERATION_Y
(cls)
src/post_processing/common/enum.py:67
MethodANGULAR_ACCELERATION
(cls)
src/post_processing/common/enum.py:87
MethodANGULAR_VELOCITY
(cls)
src/post_processing/common/enum.py:82
MethodHEADING
(cls)
src/post_processing/common/enum.py:47
MethodPOINT
(cls)
src/post_processing/common/enum.py:92
MethodSTATE_SE2
(cls)
src/post_processing/common/enum.py:98
MethodSTEERING_ANGLE
(cls)
src/post_processing/common/enum.py:72
MethodSTEERING_RATE
(cls)
src/post_processing/common/enum.py:77
MethodVELOCITY_2D
(cls)
src/post_processing/common/enum.py:104
MethodVELOCITY_X
(cls)
src/post_processing/common/enum.py:52
MethodVELOCITY_Y
(cls)
src/post_processing/common/enum.py:57
MethodX
(cls)
src/post_processing/common/enum.py:37
MethodY
(cls)
src/post_processing/common/enum.py:42
Method__getitem__
(self, idx: int)
src/post_processing/observation/world_from_prediction.py:42
Method__getitem__
Retrieves geometry of token. :param token: geometry identifier :return: Geometry of token
src/scenario_manager/occupancy_map.py:41
Method__init__
( self, vehicle: VehicleParameters = get_pacifica_parameters(), )
src/utils/collision_checker.py:9
Method__init__
( self, compute_on_step: bool = True, dist_sync_on_step: bool = False, process
src/metrics/prediction_avg_ade.py:12
Method__init__
( self, k: int = 1, compute_on_step: bool = True, dist_sync_on_step: bool = Fa
src/metrics/mul_ade.py:22
Method__init__
( self, compute_on_step: bool = True, dist_sync_on_step: bool = False, process
src/metrics/prediction_avg_fde.py:12
Method__init__
( self, k=6, compute_on_step: bool = True, dist_sync_on_step: bool = False,
src/metrics/min_fde.py:13
Method__init__
( self, k=6, compute_on_step: bool = True, dist_sync_on_step: bool = False,
src/metrics/min_ade.py:18
Method__init__
( self, miss_threshold: float = 2.0, compute_on_step: bool = True, dist_sync_o
src/metrics/mr.py:11
Method__init__
( self, k: int = 1, compute_on_step: bool = True, dist_sync_on_step: bool = Fa
src/metrics/nll_loss.py:55
Method__init__
( self, optimizer, min_lr, lr, warmup_epochs, epochs, last_epoch=-1, verbose=False )
src/optim/warmup_cos_lr.py:7
Method__init__
Initialize the class. :param feature_preprocessor: Feature preprocessor object. :param splitter: Splitter object used to retr
src/custom_training/custom_datamodule.py:108
Method__init__
( self, dt: float = 0.1, num_frames: int = 40, )
src/post_processing/trajectory_evaluator.py:50
Method__init__
( self, trajectory_sampling: TrajectorySampling = TrajectorySampling( num_poses=80
src/post_processing/emergency_brake.py:25
Method__init__
Constructor for LQR controller :param q_longitudinal: The weights for the Q matrix for the longitudinal subystem. :param r_lo
src/post_processing/forward_simulation/batch_lqr.py:71
Method__init__
Construct BatchKinematicBicycleModel. :param vehicle: Vehicle parameters. :param max_steering_angle: [rad] Maximum absolute v
src/post_processing/forward_simulation/batch_kinematic_bicycle.py:39
Method__init__
( self, dt: float = 0.1, num_frames: int = 40, estop: bool = False, so
src/post_processing/forward_simulation/forward_simulator.py:14
Method__init__
(self, dt=0.1, num_frames=40, base_radius=50)
src/post_processing/observation/world_from_prediction.py:23
Method__init__
Initialize the augmentor, state: [x, y, yaw, vel, acc, steer, steer_rate, angular_vel, angular_acc], :param dt: Time interval
src/data_augmentation/contrastive_scenario_generator.py:30
Method__init__
Initialize the augmentor, state: [x, y, yaw, vel, acc, steer, steer_rate, angular_vel, angular_acc], :param dt: Time interval
src/data_augmentation/scope_scenario_generator.py:30
Method__init__
( self, radius: float = 100, history_horizon: float = 2, future_horizon: float
src/feature_builders/pluto_feature_builder.py:39
Method__init__
( self, future_horizon: float = 8, sample_interval: float = 0.1, bounds=60,
src/feature_builders/nuplan_scenario_render.py:42
Method__init__
( self, radius: float = 100, history_horizon: float = 2, future_horizon: float
src/feature_builders/scope_feature_builder.py:39
Method__init__
Initializes the class. :param model: pytorch model :param objectives: list of learning objectives used for supervision at ea
src/models/pluto/scope_trainer.py:31
Method__init__
( self, dim=128, state_channel=6, polygon_channel=6, history_channel=9
src/models/pluto/pluto_model.py:28
Method__init__
Initializes the class. :param model: pytorch model :param objectives: list of learning objectives used for supervision at ea
src/models/pluto/pluto_trainer.py:29
Method__init__
( self, dim=128, state_channel=6, polygon_channel=6, history_channel=9
src/models/pluto/scope_model.py:29
Method__init__
( self, num_mode, decoder_depth, dim, num_heads, mlp_ratio,
src/models/pluto/modules/planning_decoder.py:90
Method__init__
(self, dim)
src/models/pluto/modules/static_objects_encoder.py:9
Method__init__
(self, state_channel, dim, state_dropout=0.5)
src/models/pluto/modules/agent_encoder.py:98
Method__init__
(self, dim, future_steps)
src/models/pluto/modules/agent_predictor.py:8
Method__init__
( self, num_mode, decoder_depth, dim, num_heads, mlp_ratio,
src/models/pluto/modules/hierachical_decoder.py:90
Method__init__
( self, polygon_channel=6, dim=128, use_lane_boundary=False, )
src/models/pluto/modules/map_encoder.py:9
Method__init__
(self, channel_in, hidden, channel_out)
src/models/pluto/layers/mlp_layer.py:5
Method__init__
(self, input_dim: int, hidden_dim: int, num_freq_bands: int)
src/models/pluto/layers/fourier_embedding.py:22
Method__init__
( self, dim, num_heads, mlp_ratio=4.0, qkv_bias=False, drop=0.
src/models/pluto/layers/transformer.py:41
Method__init__
( self, dim, num_heads, mlp_ratio=4, qkv_bias=False, dropout=0
src/models/pluto/layers/transformer.py:98
Method__init__
( self, d_model, nhead, dim_feedforward=2048, dropout=0.1, act
src/models/pluto/layers/transformer.py:170
Method__init__
( self, in_chans=3, embed_dim=32, mlp_ratio=3, kernel_size=[3, 3, 5],
src/models/pluto/layers/embedding.py:9
Method__init__
(self, in_chans=3, embed_dim=32, norm_layer=None)
src/models/pluto/layers/embedding.py:91
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
src/models/pluto/layers/embedding.py:108
Method__init__
( self, dim, num_heads, kernel_size=7, dilation=None, mlp_rati
src/models/pluto/layers/embedding.py:148
Method__init__
( self, dim, depth, num_heads, kernel_size, dilations=None,
src/models/pluto/layers/embedding.py:199
Method__init__
(self, feat_channel, encoder_channel)
src/models/pluto/layers/embedding.py:255
Method__init__
( self, num_circles=3, ego_width=2.297, ego_front_length=4.049, ego_re
src/models/pluto/loss/esdf_collision_loss.py:10
Method__init__
( self, map_api, ego_state: EgoState, route_roadblocks_ids: List[str],
src/scenario_manager/scenario_manager.py:48
Method__init__
( self, map_api: AbstractMap, route_roadblock_ids: List[str], map_radius=50,
src/scenario_manager/route_manager.py:31
Method__init__
( self, origin: np.ndarray, angle: float, map_api: AbstractMap, height
src/scenario_manager/cost_map_manager.py:19
Method__init__
( self, tokens: List[str], geometries: npt.NDArray[np.object_], types: List[En
src/scenario_manager/occupancy_map.py:22
Method__init__
Constructor for the Dijkstra class. :param start_edge: The starting edge for the search :param candidate_lane_edge_ids: The c
src/scenario_manager/utils/dijkstra.py:15
Method__init__
Constructor of BreadthFirstSearchRoadBlock class :param start_roadblock_id: roadblock id where graph starts :param map_api: m
src/scenario_manager/utils/bfs_roadblock.py:13
Method__init__
Initializes the ML planner class. :param model: Model to use for inference.
src/planners/pluto_planner.py:42
← previousnext →201–300 of 459, ranked by callers