GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OpenDriveLab/ThinkTwice: [CVPR 2023] Pytorch implementation of ThinkTwice, a SOTA Decoder for End-to-end Autonomous Driving under BEV.

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
agents
agents
 
 
camera_calibration
camera_calibration
 
 
dataset/tools
dataset/tools
 
 
docs
docs
 
 
leaderboard
leaderboard
 
 
open_loop_training
open_loop_training
 
 
roach
roach
 
 
scenario_runner
scenario_runner
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Important

🌟 Stay up to date at opendrivelab.com!

Think Twice before Driving: Towards Scalable Decoders for End-to-End Autonomous Driving

  • A SOTA Decoder for End-to-End Autonomous Driving under BEV
  • arXiv Paper (CVPR 2023)

pipeline

Demo Video

Demo

Getting Started

  • Installation
  • Closed-Loop Evaluation in Carla
  • Prepare Dataset
  • Train Your Own Model
  • Calibrations for Different Camera Settings (Optional)

Quick Run in Carla

Install the environment as in Installation, download our checkpoint (GoogleDrive or BaiduYun(ęå–ē  m5di).) (189K frames training set), put it into open_loop_training/ckpt, and run:

## In the ThinkTwice/ directory
CUDA_VISIBLE_DEVICES=0  nohup bash ./leaderboard/scripts/evaluation_town05long.sh 22023 22033 thinktwice_agent  False True open_loop_training/ckpt/thinktwice.pth+open_loop_training/configs/thinktwice.py all_towns_traffic_scenarios_no256 thinktwice_town05long 2>&1 > thinktwice_town05long.log &

Check closed_loop_eval_log/eval_log to see how our model drives in Carla! 🚘

(In case you have a screen to see the interface of Carla simulator, you could remove DISPLAY= in leaderboard/leaderboard/leaderboard_evaluator.py and then you could directly watch with Carla.)

Code Structure

We give the structure of our code. Note that we only introduce those folders/files are commonly used and modified.

ThinkTwice/
ā”œā”€ā”€ agents                  # From Carla official
ā”œā”€ā”€ camera_calibration      # When you want to use cameras with different FOV
ā”œā”€ā”€ closed_loop_eval_log    # Save eval logs
ā”œā”€ā”€ collect_data_json       # Save data collection logs
ā”œā”€ā”€ dataset                 # Data and metadata for training
ā”œā”€ā”€ leaderboard             # Code for Closed-Loop Evaluation
│   ā”œā”€ā”€ data                    # Save routes and scenarios
│   ā”œā”€ā”€ scripts                 # Run with Carla
│   ā”œā”€ā”€ team_code               # Your
|   |   ā”œā”€ā”€ roach_ap_agent_data_collection.py # Data collection
│   |   └── thinktwice_agent.py      # Interface for closed-loop evaluation of our model
│   ā”œā”€ā”€ leaderboard             # From Carla official
|   |   └── leaderboard_evaluator.py # Entrance of closed-loop evaluation
ā”œā”€ā”€ roach                   # Roach for data collection
ā”œā”€ā”€ scenario_runner         # From Carla official
ā”œā”€ā”€ open_loop_training      # Training and Neural Network
|    ā”œā”€ā”€ ckpt                    # Checkpoints
|    ā”œā”€ā”€ work_dirs               # Training Log
|    ā”œā”€ā”€ code                    # Preprocessing, DataLoader, Model
|    │   ā”œā”€ā”€ apis                    # Training pipeline for mmdet3D
|    │   ā”œā”€ā”€ core                    # The hooks for mmdet3D
|    │   ā”œā”€ā”€ datasets                # Preprocessing and DataLoader
|    |   |   ā”œā”€ā”€ pipelines                # Functions of Preprocessing and DataLoader
|    │   |   ā”œā”€ā”€ samplers                 # For DDP
|    │   |   └── carla_dataset.py         # Framework of Preprocessing and DataLoading
|    │   ā”œā”€ā”€ model_code                   # Neural Network
|    |   |   ā”œā”€ā”€ backbones                # Module of Encoder
|    |   |   └── dense_heads              # Module of Decoder and Loss Functions
|    │   └── encoder_decoder_framework.py # Entrance of Neural Network
|    └── train.py                # Entrance of Training

License

All assets and code are under the Apache 2.0 license unless specified otherwise.

Bibtex

If this work is helpful for your research, please consider citing the following BibTeX entry.

@inproceedings{jia2023thinktwice,
  title={Think Twice before Driving: Towards Scalable Decoders for End-to-End Autonomous Driving},
  author={Jia, Xiaosong and Wu, Penghao and Chen, Li and Xie, Jiangwei and He, Conghui and Yan, Junchi and Li, Hongyang},
  booktitle={CVPR},
  year={2023}
}

Related Resources

Many thanks to the open-source community!

Awesome

  • End-to-end Autonomous Driving Survey (:rocket:Ours!)
  • TCP (:rocket:Ours!)
  • BEVFormer (:rocket:Ours!)
  • UniAD (:rocket:Ours!)
  • ST-P3 (:rocket:Ours!)
  • Carla
  • Roach
  • Transfuser
  • CARLA_GARGE
  • LAV
  • IBISCape

About

[CVPR 2023] Pytorch implementation of ThinkTwice, a SOTA Decoder for End-to-end Autonomous Driving under BEV.

Topics

carla-simulatorend-to-end-autonomous-driving

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

254 stars

Watchers

9 watching

Forks

25 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.