Add support for MDBooks for testing it#442
Open
eugenevinitsky wants to merge 260 commits intoPufferAI:3.0from
Open
Add support for MDBooks for testing it#442eugenevinitsky wants to merge 260 commits intoPufferAI:3.0from
eugenevinitsky wants to merge 260 commits intoPufferAI:3.0from
Conversation
Add ruff and pre-commit
…ocs/getting_started
…PufferLib into docs/getting_started
Basic getting started docs
Prevent segfault for maps
… space validation
Raylib vis
Instructions for headless visualizer
This reverts commit 9d85786.
…pling in longer episodes (#186) * Make road lines and lanes visible in map. * Simplify goal resample algorithm: Pick best road lane point in road graph. * Delete redundant code. * Make the target distance to the new goal configurable. * Generalize metrics to work for longer episodes with resampling. Also delete a bunch of unused graph topology code. * Minor * Apply precommit. * Fix in visualizer. * fix metrics * WIP * Add goal behavior flag. * Add fallback for goal resampling and cleanup. * Make goal radius more visible. * Minor * Make grid appear in the background. * Minor. * Merge * Fix bug in logging num goals reached and sampled. * Add goal taret * Use classic dynamics model. * Fix descrepancies between demo() and eval_gif(). * Small bug fix. * Reward shaping * Termination mode must be 0 for Carla maps. * Add all args from ini to demo() env. * Clean up visualization code. * Clean up metrics and vis. * Fix metrics. * Add diversity to agent view. * Add better fallback. * Reserve red for cars that are in collision. * Keep track of current goals. * Carla testing simple/ * Use classic dynamics by default. * Fix small bug in goal logging (respawn). * Always draw agent obs when resampling goals. * Increase render videos timeout (carla maps take longer). * Minor vis changes. * Minor vis changes. * Rmv displacement error for now and add goal speed target. * Add optional goal speed. * Incorporate suggestions. * Revert settings. * Revert settings. * Revert settings. * Fixes * Add docs * Minor * Make grid appear in background. * Edits. * Typo. * Minor visual adaptations. --------- Co-authored-by: Daphne <daphn3cor@gmail.com> Co-authored-by: julianh65 <jhunt17159@gmail.com>
* Corrections of the resample code in drive.py: - the will_resample=1 followed by if will_resample looked weird to me (probably legacy code ?) - When we resample we should update the values of self.agent_offsets map dirs and num envs. The fact that we didn't update them isn't an issue because right now they are not accessed anywhere in the code, but then we should either remove these attributes of the Drive Class or either make ensure they contain the right values if someone wants to use them later. * Minor * Fix merge conflicts. --------- Co-authored-by: Daphne Cornelisse <cor.daphne@gmail.com>
…del (#206) * Fix human control with joint action space & classic model: Was still assuming multi-discrete. * Enable human control with jerks dynamics model. * Color actions yellow when controlling. * Slightly easier control problem? * Add tiny jerk penalty: Results in smooth behavior. * Pre-commit * Minor edits. * Revert ini changes. --------- Co-authored-by: Daphne <daphn3cor@gmail.com>
* Added WOSAC results on the 10k validation dataset * Code to evaluate SMART + associated doc * Edits. * Add link to docs. --------- Co-authored-by: Wael Boumediene Doulazmi <wbd2016@gl001.hpc.nyu.edu> Co-authored-by: Daphne Cornelisse <cor.daphne@gmail.com>
* Good behavior with trained policy - resampling. * Hardcode to 10 max agents for web version. * Browser demo v1. * More descriptive docs. * Release post edits. * Docs improvements. * Run precommit. * Better policy. * Revert .ini changes, except one. * Delete drive.dSYM/Contents/Info.plist * Delete pufferlib/resources/drive/puffer_drive_gljhhrl6.bin --------- Co-authored-by: Daphne <daphn3cor@gmail.com>
… dc/browser_demo
Co-authored-by: Daphne <daphn3cor@gmail.com>
- Replace mkdocs with mdbook for documentation - Add preview workflow for testing (manual trigger only) - Reorganize docs into src/ directory structure - Add custom theme with responsive styling - Include browser demo iframe 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Daphne <daphn3cor@gmail.com>
…into ev/mdbooks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.