LEAP: Liberate Sparse-view 3D Modeling from Camera Poses
conda create --name leap python=3.9
conda activate leap
# Install pytorch or use your own torch version. We use pytorch 2.0.1
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
# Install pytorch3d, please follow https://github.com/facebookresearch/pytorch3d/blob/main/INSTALL.md
# We use pytorch3d-0.7.4-py39_cu117_pyt201
# (Optional) Install flash attention to enable training on limited GPU memory
# We tested with flash attention 1.0.7
# Please follow https://github.com/Dao-AILab/flash-attention
# Using flash attention during training will lead to slightly worse performance
# If you don't want to install flash attention, please comment related code in encoder.py and lifting.py
pip install -r requirements.txt
We provide the model weights trained on Omniobject3D dataset and Kubric ShapeNet dataset.
./demo.sh
.self.root
in the dataloaders../train.sh
and change your training config accordingly../eval.sh
and change your evaluation config accordingly.@article{jiang2022LEAP,
title={LEAP: Liberate Sparse-view 3D Modeling from Camera Poses},
author={Jiang, Hanwen and Jiang, Zhenyu and Zhao, Yue and Huang, Qixing},
journal={ArXiv},
year={2023},
volume={2310.01410}
}