Skip to content

geometriczoom/two-plane-prior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learned Two-Plane Perspective Prior based Image Resampling for Efficient Object Detection

Minimal Implementation of CVPR 2023 paper Learned Two-Plane Perspective Prior based Image Resampling for Efficient Object Detection [paper] [website] [video].

Steps

Download Argoverse-HD from official website here.

Code implementation uses Python 3.8.5, PyTorch 1.6.0, and mmdetection 2.20.0 and kornia 0.5.11. To set up the conda environment used to run our experiments, please follow these steps from some initial directory:

  1. Create the conda virtual environment and install packaged dependencies. You should install miniconda if not already installed.
    conda create -n tpp python=3.8.5 && conda activate tpp
    conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch
    pip3 install tqdm html4vision scipy
    
  2. Install mmdetection 2.20.0. This will first require installing mmcv 1.3.17.
    pip3 install openmim
    mim install mmcv-full==1.3.17
    mim install mmdet==2.20.0
    pip3 install mmpycocotools
    pip3 install kornia==0.5.11
    
  3. Install tpp
    git clone https://github.com/geometriczoom/two-plane-prior.git && cd two-plane-prior
    pip install . && cd ..
    
  4. Download checkpoint from Google Drive. Your final directory structure should look something like this:
    data/Argoverse/
       ├── Argoverse-1.1/
       └── Argoverse-HD/
    
    checkpoints/
    └── KDE_TPP.pth
    
  5. Run script to evaluate on Argoverse-HD.
    sh experiments/KDE_TPP.sh
    

Citations and Credits

If you use this code, please cite:

@inproceedings{ghosh2023learned,
  title={Learned Two-Plane Perspective Prior based Image Resampling for Efficient Object Detection},
  author={Ghosh, Anurag and Reddy, N Dinesh and Mertz, Christoph and Narasimhan, Srinivasa G},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={13364--13373},
  year={2023}
}

Parts of this codebase are based on Fovea, ICCV 2021.

About

Learned Two-Plane Perspective Prior based Image Resampling for Efficient Object Detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •