conda create --name auto_recon -y python=3.9
conda activate auto_recon
python -m pip install --upgrade pip setuptools
git clone --recurse-submodules [email protected]:zju3dv/AutoRecon.git
cd third_party/AutoDecomp
Then, please install AutoDecomp based on its installation guide.
We expect that it is installed in third_party/AutoDecomp
.
Install pytorch with CUDA (this repo has been tested with CUDA 11.7) and tiny-cuda-nn
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Install faiss following the official guide
# for example
conda install -c conda-forge faiss-gpu
cd path/to/AutoRecon
pip install -e .
# install tab completion
ns-install-cli