-
Notifications
You must be signed in to change notification settings - Fork 86
[FEATURE] allow unrolling expert trajectories in get_model_performance
#458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
EllingtonKirby
wants to merge
3
commits into
Emerge-Lab:main
Choose a base branch
from
EllingtonKirby:ek/eval_expert_replay
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| res_path: examples/experimental/dataframes # Store dataframes here | ||
| test_dataset_size: 300 # Number of test scenarios to evaluate on | ||
|
|
||
| # Environment settings | ||
| train_dir: data/processed/training | ||
| test_dir: data/processed/validation | ||
| file_prefix: nuplan | ||
|
|
||
| num_worlds: 100 # Number of parallel environments for evaluation | ||
| max_controlled_agents: 64 # Maximum number of agents controlled by the model. | ||
| ego_state: true | ||
| road_map_obs: true | ||
| partner_obs: true | ||
| norm_obs: true | ||
| remove_non_vehicles: true # If false, all agents are included (vehicles, pedestrians, cyclists) | ||
| lidar_obs: false # NOTE: Setting this to true currently turns of the other observation types | ||
| reward_type: "weighted_combination" | ||
| collision_weight: -0.75 | ||
| off_road_weight: -0.75 | ||
| goal_achieved_weight: 1.0 | ||
| dynamics_model: "delta_local" | ||
| collision_behavior: "ignore" # Options: "remove", "stop" | ||
| dist_to_goal_threshold: 2.0 | ||
| polyline_reduction_threshold: 0.1 # Rate at which to sample points from the polyline (0 is use all closest points, 1 maximum sparsity), needs to be balanced with kMaxAgentMapObservationsCount | ||
| sampling_seed: 42 # If given, the set of scenes to sample from will be deterministic, if None, the set of scenes will be random | ||
| obs_radius: 50.0 # Visibility radius of the agents | ||
| init_roadgraph: False | ||
| render_3d: True | ||
|
|
||
| action_type: "continuous" | ||
| # Number of discretizations in the action space | ||
| # Note: Make sure that this equals the discretizations that the policy | ||
| # has been trained with | ||
| action_space_steer_disc: 13 | ||
| action_space_accel_disc: 7 | ||
|
|
||
| device: "cuda" # Options: "cpu", "cuda" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| models_path: examples/experimental/models | ||
|
|
||
| models: | ||
| - name: model_PPO____R_10000__02_27_09_19_10_626_003200 | ||
| train_dataset_size: 10_000 | ||
| - name: expert_replay | ||
| train_dataset_size: 1000 | ||
|
EllingtonKirby marked this conversation as resolved.
Outdated
|
||
| wandb: null | ||
| trained_on: null | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.