We recommend developing in a new Conda environment (e.g. using Miniconda):
conda create -n aldi python=3.9
conda activate aldi
- Install the appropriate versions of PyTorch and torchvision for your machine. Follow the instructions here. You must do this before installing ALDI!
- Clone this repository with submodules:
git clone [email protected]:justinkay/aldi.git
cd aldi
- Install Detectron2:
git submodule update --init --recursive
cd libs/detectron2
pip install -e .
- Install ALDI:
# if working directory is libs/detectron2
cd ../..
pip install -e .