From fa7df3bc643597f9357c77dffdf5946e9535a5cd Mon Sep 17 00:00:00 2001 From: Jinghao Zhou Date: Thu, 6 Jan 2022 18:30:33 +0800 Subject: [PATCH] fix mmseg version --- INSTALL.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 4da87ce..dd38306 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,6 @@ # Installation -Please install [PyTorch](https://pytorch.org/) and download the [ImageNet](https://imagenet.stanford.edu/) dataset. This codebase has been developed with python version 3.6, PyTorch version 1.7.1, CUDA 11.0 and torchvision 0.8.2. This repository should be used with [Swin-Transformer-Object-Detection](https://github.com/SwinTransformer/Swin-Transformer-Object-Detection), [mmsegmentation](https://github.com/open-mmlab/mmsegmentation), and [cyanure](https://github.com/jmairal/cyanure) for evaluation on downstream tasks. To get the full dependencies, please run: +Please install [PyTorch](https://pytorch.org/) and download the [ImageNet](https://imagenet.stanford.edu/) dataset. This codebase has been developed with python version 3.6, PyTorch version 1.7.1, CUDA 11.0 and torchvision 0.8.2. This repository should be used with [Swin-Transformer-Object-Detection](https://github.com/SwinTransformer/Swin-Transformer-Object-Detection), [mmsegmentation==0.12.0](https://github.com/open-mmlab/mmsegmentation/releases/tag/v0.12.0), and [cyanure](https://github.com/jmairal/cyanure) for evaluation on downstream tasks. To get the full dependencies, please run: ``` pip3 install -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.1/index.html mmcv-full==1.3.9 @@ -17,8 +17,8 @@ pip3 install -r requirements/build.txt pip3 install -v -e . cd .. -# install mmsegmentation for semantic segmentation -git clone https://github.com/open-mmlab/mmsegmentation +# install mmsegmentation==0.12.0 for semantic segmentation +git clone -b v0.12.0 https://github.com/open-mmlab/mmsegmentation cd mmsegmentation pip3 install -v -e . cd .. @@ -29,4 +29,4 @@ git clone https://github.com/jmairal/cyanure.git cd cyanure sudo python3 setup_cyanure_mkl.py install cd .. -``` \ No newline at end of file +```