Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rex-sys-hk/PlanScope
/ functions
Functions
459 in github.com/Rex-sys-hk/PlanScope
⨍
Functions
459
◇
Types & classes
70
Method
__init__
Initializes the ML planner class. :param model: Model to use for inference.
src/planners/scope_planner.py:42
Method
__len__
(self)
src/post_processing/observation/world_from_prediction.py:46
Method
__len__
Number of geometries in the occupancy map :return: int
src/scenario_manager/occupancy_map.py:49
Method
__repr__
:return: String representation of class without expanding the fields.
src/custom_training/custom_training_builder.py:84
Method
_check_end_condition
Check if the search should end regardless if the goal condition is met. :param depth: The current depth to check. :param targ
src/scenario_manager/utils/dijkstra.py:113
Function
_compute_jerk_metric
Compute absolute jerk over batch-dim of simulated proposals :param states: array representation of ego state values :param time_steps_s:
src/post_processing/evaluation/comfort_metrics.py:265
Function
_compute_lat_acceleration
Compute lateral acceleration over batch-dim of simulated proposals :param states: array representation of ego state values :param time_st
src/post_processing/evaluation/comfort_metrics.py:247
Function
_compute_lon_acceleration
Compute longitudinal acceleration over batch-dim of simulated proposals :param states: array representation of ego state values :param ti
src/post_processing/evaluation/comfort_metrics.py:229
Function
_compute_lon_jerk_metric
Compute longitudinal jerk over batch-dim of simulated proposals :param states: array representation of ego state values :param time_steps
src/post_processing/evaluation/comfort_metrics.py:286
Function
_compute_yaw_accel
Compute acceleration of yaw-angle over batch-dim of simulated proposals :param states: array representation of ego state values :param ti
src/post_processing/evaluation/comfort_metrics.py:307
Function
_compute_yaw_rate
Compute velocity of yaw-angle over batch-dim of simulated proposals :param states: array representation of ego state values :param time_s
src/post_processing/evaluation/comfort_metrics.py:325
Method
_get_ego_head_position
(self, xy, angle)
src/feature_builders/pluto_feature_builder.py:804
Method
_get_ego_head_position
(self, xy, angle)
src/feature_builders/scope_feature_builder.py:804
Method
_get_interact_type
(index, T=80)
src/feature_builders/pluto_feature_builder.py:789
Method
_get_interact_type
(index, T=80)
src/feature_builders/scope_feature_builder.py:789
Method
_infer_model
Makes a single inference on a Pytorch/Torchscript model. :param features: dictionary of feature types :return: predicted tra
src/planners/pluto_planner.py:109
Method
_infer_model
Makes a single inference on a Pytorch/Torchscript model. :param features: dictionary of feature types :return: predicted tra
src/planners/scope_planner.py:109
Method
_init_weights
(self, m)
src/models/pluto/pluto_model.py:113
Method
_init_weights
(self, m)
src/models/pluto/scope_model.py:131
Method
_route_graph_search
(self, lane: LaneGraphEdgeMapObject, search_depth=15)
src/scenario_manager/route_manager.py:195
Method
augment
Inherited, see superclass.
src/data_augmentation/contrastive_scenario_generator.py:54
Method
augment
Inherited, see superclass.
src/data_augmentation/scope_scenario_generator.py:54
Method
augmentation_probability
Inherited, see superclass.
src/data_augmentation/contrastive_scenario_generator.py:321
Method
augmentation_probability
Inherited, see superclass.
src/data_augmentation/scope_scenario_generator.py:323
Method
collate
(cls, feature_list: List[ScopeFeature])
src/features/scope_feature.py:24
Method
compute
(self)
src/metrics/prediction_avg_ade.py:48
Method
compute
(self)
src/metrics/prediction_avg_fde.py:49
Method
compute
(self)
src/metrics/min_fde.py:43
Method
compute
(self)
src/metrics/min_ade.py:48
Method
compute
(self)
src/metrics/mr.py:41
Method
compute_planner_trajectory
Infer relative trajectory poses from model and convert to absolute agent states wrapped in a trajectory. Inherited, see superclass.
src/planners/pluto_planner.py:153
Method
compute_planner_trajectory
Infer relative trajectory poses from model and convert to absolute agent states wrapped in a trajectory. Inherited, see superclass.
src/planners/scope_planner.py:155
Method
configure_optimizers
Configures the optimizers and learning schedules for the training. :return: optimizer or dictionary of optimizers and schedules
src/models/pluto/scope_trainer.py:460
Method
configure_optimizers
Configures the optimizers and learning schedules for the training. :return: optimizer or dictionary of optimizers and schedules
src/models/pluto/pluto_trainer.py:401
Method
deserialize
(cls, data: Dict[str, Any])
src/features/scope_feature.py:154
Method
deserialize
Deserialize the type when loading from a string.
src/feature_builders/common.py:37
Method
dfs_search
(cur_lane: LaneGraphEdgeMapObject, visited: List, length)
src/scenario_manager/route_manager.py:154
Method
drivable_area_map
(self)
src/scenario_manager/scenario_manager.py:69
Function
enable_grad
(data)
src/utils/utils.py:46
Method
feature_and_targets_builder
Get feature and target builders.
src/custom_training/custom_datamodule.py:170
Method
fill_polyline
(self, mask, polyline, value=1)
src/scenario_manager/cost_map_manager.py:112
Method
find_min_norm_element_FW
Given a list of vectors (vecs), this method finds the minimum norm element in the convex hull as min |u|_2 st. u = \sum c_i vecs[i] a
src/utils/min_norm_solvers.py:140
Method
forward
(self, outputs: Dict[str, torch.Tensor], data: Dict[str, torch.Tensor])
src/metrics/mul_ade.py:237
Method
forward
(self, outputs: Dict[str, torch.Tensor], data: Dict[str, torch.Tensor])
src/metrics/nll_loss.py:124
Method
forward
(self, data)
src/models/pluto/pluto_model.py:127
Method
forward
(self, data)
src/models/pluto/scope_model.py:145
Method
forward
tgt: (bs, R, M, dim) tgt_key_padding_mask: (bs, R)
src/models/pluto/modules/planning_decoder.py:42
Method
forward
(self, data, enc_data)
src/models/pluto/modules/planning_decoder.py:135
Method
forward
(self, data)
src/models/pluto/modules/static_objects_encoder.py:17
Method
forward
(self, data)
src/models/pluto/modules/agent_encoder.py:54
Method
forward
(self, x)
src/models/pluto/modules/agent_encoder.py:111
Method
forward
x: (bs, N, dim)
src/models/pluto/modules/agent_predictor.py:17
Method
forward
tgt: (bs, R, M, dim) tgt_key_padding_mask: (bs, R)
src/models/pluto/modules/hierachical_decoder.py:42
Method
forward
(self, data, enc_data)
src/models/pluto/modules/hierachical_decoder.py:162
Method
forward
(self, data)
src/models/pluto/modules/map_encoder.py:31
Method
forward
(self, x)
src/models/pluto/layers/mlp_layer.py:15
Method
forward
( self, continuous_inputs: Optional[torch.Tensor], )
src/models/pluto/layers/fourier_embedding.py:45
Method
forward
(self, x)
src/models/pluto/layers/transformer.py:31
Method
forward
( self, src, mask: Optional[Tensor] = None, key_padding_mask: Optional[Tensor]
src/models/pluto/layers/transformer.py:73
Method
forward
( self, x, memory, mask: Optional[Tensor] = None, key_padding_mask: Op
src/models/pluto/layers/transformer.py:131
Method
forward
( self, tgt, memory, tgt_mask: Optional[Tensor] = None, memory_mask: O
src/models/pluto/layers/transformer.py:262
Method
forward
x: [B, C, T]
src/models/pluto/layers/embedding.py:62
Method
forward
(self, x)
src/models/pluto/layers/embedding.py:100
Method
forward
(self, x)
src/models/pluto/layers/embedding.py:115
Method
forward
(self, x)
src/models/pluto/layers/embedding.py:138
Method
forward
(self, x)
src/models/pluto/layers/embedding.py:189
Method
forward
(self, x)
src/models/pluto/layers/embedding.py:246
Method
forward
x : B M 3 mask: B M ----------------- feature_global : B C
src/models/pluto/layers/embedding.py:271
Method
forward
trajectory: (bs, T, 4) - [x, y, cos0, sin0] sdf: (bs, H, W)
src/models/pluto/loss/esdf_collision_loss.py:34
Method
from_scenario
(cls, scenario: AbstractScenario)
src/scenario_manager/cost_map_manager.py:42
Method
generate_planner_report
Inherited, see superclass.
src/planners/pluto_planner.py:435
Method
generate_planner_report
Inherited, see superclass.
src/planners/scope_planner.py:436
Function
get_activation_fn
Return an activation function given a string
src/models/pluto/layers/transformer.py:296
Method
get_class
(self)
src/feature_builders/pluto_feature_builder.py:91
Method
get_class
(self)
src/feature_builders/scope_feature_builder.py:91
Function
get_ego_corners
rear_axle_xy: [T, x, y]
src/feature_builders/common.py:95
Method
get_feature_type
Inherited, see superclass.
src/feature_builders/pluto_feature_builder.py:87
Method
get_feature_type
Inherited, see superclass.
src/feature_builders/scope_feature_builder.py:87
Method
get_feature_unique_name
Inherited, see superclass.
src/feature_builders/pluto_feature_builder.py:95
Method
get_feature_unique_name
Inherited, see superclass.
src/feature_builders/scope_feature_builder.py:95
Method
get_features_from_scenario
( self, scenario: AbstractScenario, iteration=0, )
src/feature_builders/pluto_feature_builder.py:99
Method
get_features_from_scenario
( self, scenario: AbstractScenario, iteration=0, )
src/feature_builders/scope_feature_builder.py:99
Method
get_features_from_simulation
( self, current_input: PlannerInput, initialization: PlannerInitialization )
src/feature_builders/scope_feature_builder.py:158
Method
get_init_lr
(self)
src/optim/warmup_cos_lr.py:35
Method
get_lr
(self)
src/optim/warmup_cos_lr.py:39
Method
get_reference_lines
(self, length=100)
src/scenario_manager/scenario_manager.py:229
Method
get_schedulable_attributes
Inherited, see superclass.
src/data_augmentation/contrastive_scenario_generator.py:330
Method
get_schedulable_attributes
Inherited, see superclass.
src/data_augmentation/scope_scenario_generator.py:332
Function
get_sub_polygon
(polygon: Polygon, ratio=0.4)
src/post_processing/common/geometry.py:70
Method
get_subset_by_intersection
(self, geometry: Geometry)
src/scenario_manager/occupancy_map.py:89
Method
get_subset_by_type
(self, type)
src/scenario_manager/occupancy_map.py:95
Function
gradient_normalizers
(grads, losses, normalization_type)
src/utils/min_norm_solvers.py:184
Method
initialize
Inherited, see superclass.
src/planners/pluto_planner.py:122
Method
initialize
Inherited, see superclass.
src/planners/scope_planner.py:122
Function
interpolate_polyline
copy from av2-api
src/feature_builders/common.py:52
Method
is_valid
(self)
src/features/pluto_feature.py:161
Method
is_valid
(self)
src/features/scope_feature.py:161
Function
load_checkpoint
(checkpoint)
src/utils/utils.py:87
Method
name
Inherited, see superclass.
src/planners/pluto_planner.py:145
Method
name
Inherited, see superclass.
src/planners/scope_planner.py:147
← previous
next →
301–400 of 459, ranked by callers