Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 959 Bytes

install.md

File metadata and controls

34 lines (26 loc) · 959 Bytes

Installation 🛠️

We recommend setting up a conda environment for the project:

conda create --name=glamm python=3.10
conda activate glamm

git clone https://github.com/mbzuai-oryx/groundingLMM.git
cd groundingLMM
pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install -r requirements.txt

# Install mmcv
git clone https://github.com/open-mmlab/mmcv
cd mmcv
git checkout v1.4.7
MMCV_WITH_OPS=1 pip install -e .

export PYTHONPATH="./:$PYTHONPATH"

In addition, we also provide conda environment contents in a .zip file. Please follow the below steps to set up the environment,

  1. Download glamm_conda_env.zip from the google_drive link.
  2. Extract the downloaded zip file:
unzip glamm_conda_env.zip
  1. Activate the environment:
conda activate glamm