Skip to content

ucaszyp/World4Drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is the first version of World4Drive (End-to-End Autonomous Driving via Intention-aware Physical Latent World Model).

Step-by-step conda environment installation instructions

a. Create a conda virtual environment and activate it.

conda create -n w4d python=3.8 -y
conda activate w4d

b. Install PyTorch and torchvision following the official instructions.

pip install -r requirements.txt
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html

c. Install gcc>=5 in conda env (optional).

conda install -c omgarcia gcc-6 # gcc-6.2

c. Install mmcv-full.

pip install mmcv-full==1.4.0

d. Install mmdet and mmseg.

pip install mmdet==2.14.0
pip install mmsegmentation==0.14.1

e. Install timm.

pip install timm

f. Install mmdet3d.

conda activate w4d
git clone https://github.com/open-mmlab/mmdetection3d.git
cd /path/to/mmdetection3d
git checkout -f v0.17.1
python setup.py develop

g. Install nuscenes-devkit.

pip install nuscenes-devkit==1.1.9
pip install yapf==0.40.1

h. Install other dependencies.

pip install -r requirements.txt

Data preparation instructions

Follow VAD to organize nuscenes and download the pickle

$WORK_DIR/data/nuscenes/

For details, please refer to docs/prepare_dataset.md

Train & Test

Training

  ./tools/nusc_my_train.sh w4d/default 8

Testing

  ./tools/dist_test $CONFIG $CKPT $NUM_GPU

About

[ICCV 2025]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published