Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.58 KB

INSTALL.md

File metadata and controls

44 lines (40 loc) · 1.58 KB

Installation

The code is tested with PyTorch 1.10.0 and CUDA 11.3. After cloning the repository, follow the below steps for installation,

Requirements

Our project uses a submodule mavl for generating psuedo proposals from MViT model MAVL. The proposals have been provided with the datasets and detailed in DATASETS.md. The submodule is required to generate the pseudo-proposals. If you forget to add --recurse-submodules when you clone the repository, do:

  1. Update the submodules [optional]
git clone https://github.com/hanoonaR/object-centric-ovd.git
git submodule init
git submodule update
  1. Install PyTorch and torchvision

Installation with pip:

pip install torch==1.10.0 torchvision==0.11.0 torchaudio --extra-index-url https://download.pytorch.org/whl/cu113

or install with conda:

conda install pytorch==1.10.0 torchvision==0.11.0 torchaudio==0.10.0 cudatoolkit=11.3 -c pytorch -c conda-forge
  1. Install Detectron2 Install with pre-build Detectron2:
python -m pip install detectron2 -f \
  https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html

or install from source:

git clone [email protected]:facebookresearch/detectron2.git
cd detectron2
pip install -e .
  1. Install other dependencies
pip install -r requirements.txt