Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 841 Bytes

INSTALL.md

File metadata and controls

40 lines (27 loc) · 841 Bytes

Installing ALDI

1. Environment setup (Recommended)

We recommend developing in a new Conda environment (e.g. using Miniconda):

conda create -n aldi python=3.9
conda activate aldi

2. Prerequisites (Required)

  1. Install the appropriate versions of PyTorch and torchvision for your machine. Follow the instructions here. You must do this before installing ALDI!

3. Installing ALDI and its dependencies

  1. Clone this repository with submodules:
git clone [email protected]:justinkay/aldi.git
cd aldi
  1. Install Detectron2:
git submodule update --init --recursive
cd libs/detectron2
pip install -e .
  1. Install ALDI:
# if working directory is libs/detectron2
cd ../..

pip install -e .