Skip to content

AdeelMufti/e2edriver

Repository files navigation

E2EDriver

This codebase can be used to train a deep learning model on the Waymo End to End Open Dataset.

The model is set up as follows:

Other model details:

  • 12M Params
  • AMP - Mixed Precision
  • OneCycleLR
  • Various image augmentations

Quickstart

  • Setup a Python 3.10+ virtual environment
  • Install packages:
pip install requirements.txt
pip install requirements_waymo_dataset.txt
  • Use data_create.py to download and preprocess the Waymo Dataset
  • Edit configuration in config.py, as needed
  • Test training locally on CPU
python src/main.py --dry --shrink --cpu
  • Train full model on GPU enabled machine
python src/main.py

Cloud Training: AWS

  • Setup a docker account on hub.docker.com
  • Modify all .sh shell scripts and update $DOCKER_USER with your username
  • Upload the preprocessed dataset to S3 bucket
  • Create an EC2 machine with a GPU, attach and mount S3 bucket
  • Note the EC2 Instance ID
  • Run cloud launch script
# bash launch_remote.sh <instance id> <experiment-name>
bash launch_remote.sh i-instance123 my_experiment
  • A Docker image will be created and synchronized on the EC2 machine
  • Machine will run tensorboard, and shut down after training completes

About

Vision based End to End Driver Model for Autonomous Vehicles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors