a. Create a conda virtual environment and activate it.
conda create -n renderocc python=3.8 -y
conda activate renderocc
b. Install PyTorch and torchvision following the official instructions.
pip install torch==1.10.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html
c. Install mmcv-full.
pip install mmcv-full==1.6.0
d. Install mmdet and mmseg.
pip install mmdet==2.24.0
pip install mmsegmentation==0.24.0
e. Install RenderOcc from source code.
git clone https://github.com/pmj110119/RenderOcc.git
cd RenderOcc
pip install -v -e .
# python setup.py install