Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
473941c
drive: add goal_placement=random for goals anywhere on the map
May 23, 2026
02d8bd2
scripts: add single_agent_speed_run.sbatch launcher
May 23, 2026
fd9ca04
scripts: 3-seed array into wandb group "Nightly Test"
May 23, 2026
490f571
drive: optional shared map cache (use_map_cache) for static geometry
May 23, 2026
befb01e
scripts: turn traffic lights off for single-agent speed runs
May 23, 2026
e18b13d
scripts: fix dotted CLI flags to hyphens; disable nuPlan evals
May 23, 2026
0b5df39
drive.ini: declare enabled explicitly in [eval.validation_replay]
May 23, 2026
3336e3d
drive.ini: add single_agent_obs evaluator for manual obs_html renders
May 23, 2026
f105d55
single-agent: min_waypoint_spacing 0 so goals can spawn near the agent
May 23, 2026
b3b14f6
Revert single-agent-specific config from drive.ini
May 23, 2026
d8a24db
Restore eval-enabling config (validation_replay enabled, single_agent…
May 23, 2026
2a0af95
single-agent: max_traffic_control_observations 0 to truly disable lights
May 23, 2026
6a6c2e8
scripts: drop stale scheduling/logs comment from single-agent launcher
May 23, 2026
2def571
scripts: date-stamp wandb run name for single-agent launches
May 23, 2026
0b60bfd
drive: random goals respect max_waypoint_spacing as an upper distance…
May 23, 2026
54bea3d
Merge remote-tracking branch 'origin/emerge/temp_training' into ev/si…
May 23, 2026
0a1e545
drive: map_cache_insert reuses freed slots before growing
May 23, 2026
8a4ccba
scripts: single-agent speed-run program_config for submit_cluster.py
May 23, 2026
7d84e78
scripts: single-agent wandb_group Nightly_Test (no space)
May 23, 2026
6a8926b
scripts: retire hand-rolled single_agent_speed_run.sbatch
May 23, 2026
1f911ca
scripts: single_agent_no_lane_vel program_config (lane+velocity rewar…
May 23, 2026
7d931ef
drive.ini: single_agent_obs renders full 1280-step episodes
May 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions pufferlib/config/ocean/drive.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ collision_behavior = 1
offroad_behavior = 1
; Traffic light behavior - options: 0 - Ignore, 1 - Stop, 2 - Remove
traffic_light_behavior = 1
; Goal placement (gigaflow) - options: 0 - route (forward waypoints), 1 - random (anywhere on map)
goal_placement = 0
; Share static map geometry (roads/grid/lane-graph) across envs using the same map - 0 off, 1 on
use_map_cache = 0
Comment on lines +57 to +60
; Number of steps before reset
scenario_length = 1280
; Frequency of resampling scenario (in steps), 0 to disable
Expand Down Expand Up @@ -270,6 +274,9 @@ eval.verify_coverage = true

[eval.validation_replay]
inherits = "validation_defaults"
; declared explicitly (same as the inherited default) so it can be toggled from
; the CLI, e.g. --eval.validation-replay.enabled 0
enabled = true
type = "multi_scenario"
render = true
render_backend = "triage_html"
Expand Down Expand Up @@ -298,6 +305,33 @@ env.resample_frequency = 500
eval.render_num_scenarios = 8
eval.render_max_steps = 300

; Manual obs_html render of the single-agent speed-run task (Town02, one agent,
; random goals anywhere, lights off). enabled=false so it never runs inline during
; training; invoke standalone, e.g.:
; puffer eval puffer_drive --evaluator single_agent_obs --load-model-path <ckpt>
[eval.single_agent_obs]
inherits = "validation_gigaflow"
enabled = false
type = "multi_scenario"
render = true
render_backend = "obs_html"
env.map_dir = "pufferlib/resources/drive/binaries/carla_town02"
env.num_maps = 1
env.num_agents = 8
env.min_agents_per_env = 1
env.max_agents_per_env = 1
env.goal_placement = 1
env.traffic_light_behavior = 0
env.max_traffic_control_observations = 0
env.num_target_waypoints = 1
env.min_waypoint_spacing = 0
env.max_waypoint_spacing = 1000000
env.max_goal_position = 1000
env.scenario_length = 1280
eval.num_scenarios = 8
eval.render_num_scenarios = 8
eval.render_max_steps = 1280

; ---------------------------------------------------------------------------
; Driving-behaviour evaluation: nuPlan scenes labeled by scene type. Each
; behavior is one [eval.behaviors_*] section. All inherit from the template
Expand Down
2 changes: 2 additions & 0 deletions pufferlib/ocean/drive/binding.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,8 @@ static int my_init(Env *env, PyObject *args, PyObject *kwargs) {
env->collision_behavior = (int) unpack(kwargs, "collision_behavior");
env->offroad_behavior = (int) unpack(kwargs, "offroad_behavior");
env->traffic_light_behavior = (int) unpack(kwargs, "traffic_light_behavior");
env->goal_placement = (int) unpack(kwargs, "goal_placement");
env->use_map_cache = (int) unpack(kwargs, "use_map_cache");
env->emit_completed_episodes = (int) unpack(kwargs, "emit_completed_episodes");
env->next_episode_index = 0;
env->completed_episodes_count = 0;
Expand Down
Loading
Loading