Start by cloning the repo:
git clone git@github.com:wangzy22/XMask3D.git
cd XMask3DThen you can create an anaconda environment called xmask3d as below.
conda create -n xmask3d python=3.9
conda activate xmask3dStep 1: install PyTorch (we tested on 1.13.1, but the following versions should also work):
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia
conda install -c "nvidia/label/cuda-11.6.1" libcusolver-devStep 2 (Optional): install xformers:
conda install xformers -c xformersIf you encounter changes in the PyTorch version or other errors, refer to the official installation page.
Step 3: install MinkowskiNet:
pip install ninja
sudo apt install libopenblas-devIf you do not have sudo right, try the following:
conda install openblas-devel -c anaconda
And now install MinkowskiNet:
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine --no-deps
If it is still giving you error, please refer to their official installation page.
Step 4: install all the remaining dependencies:
pip install -e .