Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 945 Bytes

INSTALL.md

File metadata and controls

44 lines (31 loc) · 945 Bytes

Installation Instructions

  • Clone this repo:
git clone https://github.com/microsoft/UniCL
cd UniCL
  • Create a conda virtual environment and activate it (optional):
conda create -n unicl python=3.7 -y
conda activate unicl
conda install pytorch==1.7.1 torchvision==0.8.2 cudatoolkit=10.1 -c pytorch
  • Install timm==0.3.2:
pip install timm==0.3.2
  • Install Apex:
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
  • Install other requirements:
pip install opencv-python==4.4.0.46 termcolor==1.1.0 yacs==0.1.8