From 02d657d14112b48f1f3990d62a2dd48b138a6336 Mon Sep 17 00:00:00 2001 From: Tong Gao Date: Wed, 21 Jul 2021 18:01:55 +0800 Subject: [PATCH] [Fix] upgrade version requirement of mmdet to 2.14.0 to avoid known bugs (#382) --- docker/Dockerfile | 2 +- docs/install.md | 4 ++-- docs_zh_CN/install.md | 4 ++-- mmocr/__init__.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index cf1efedc..81c085a9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 lib RUN conda clean --all RUN pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html -RUN pip install mmdet==2.13.0 +RUN pip install mmdet==2.14.0 RUN git clone https://github.com/open-mmlab/mmocr.git /mmocr WORKDIR /mmocr diff --git a/docs/install.md b/docs/install.md index 06127c78..a0424dbd 100644 --- a/docs/install.md +++ b/docs/install.md @@ -10,7 +10,7 @@ - NCCL 2 - GCC 5.4.0 or higher - [MMCV](https://mmcv.readthedocs.io/en/latest/#installation) >= 1.3.8 -- [MMDetection](https://mmdetection.readthedocs.io/en/latest/#installation) >= 2.13.0 +- [MMDetection](https://mmdetection.readthedocs.io/en/latest/#installation) >= 2.14.0 We have tested the following versions of OS and softwares: @@ -18,7 +18,7 @@ We have tested the following versions of OS and softwares: - CUDA: 10.1 - GCC(G++): 5.4.0 - MMCV 1.3.8 -- MMDetection 2.13.0 +- MMDetection 2.14.0 - PyTorch 1.6.0 - torchvision 0.7.0 diff --git a/docs_zh_CN/install.md b/docs_zh_CN/install.md index 06127c78..a0424dbd 100644 --- a/docs_zh_CN/install.md +++ b/docs_zh_CN/install.md @@ -10,7 +10,7 @@ - NCCL 2 - GCC 5.4.0 or higher - [MMCV](https://mmcv.readthedocs.io/en/latest/#installation) >= 1.3.8 -- [MMDetection](https://mmdetection.readthedocs.io/en/latest/#installation) >= 2.13.0 +- [MMDetection](https://mmdetection.readthedocs.io/en/latest/#installation) >= 2.14.0 We have tested the following versions of OS and softwares: @@ -18,7 +18,7 @@ We have tested the following versions of OS and softwares: - CUDA: 10.1 - GCC(G++): 5.4.0 - MMCV 1.3.8 -- MMDetection 2.13.0 +- MMDetection 2.14.0 - PyTorch 1.6.0 - torchvision 0.7.0 diff --git a/mmocr/__init__.py b/mmocr/__init__.py index 3b051fa9..da2fd7ef 100644 --- a/mmocr/__init__.py +++ b/mmocr/__init__.py @@ -26,7 +26,7 @@ assert (mmcv_version >= digit_version(mmcv_minimum_version) f'Please use MMCV >= {mmcv_minimum_version}, ' \ f'<= {mmcv_maximum_version} instead.' -mmdet_minimum_version = '2.13.0' +mmdet_minimum_version = '2.14.0' mmdet_maximum_version = '2.20.0' mmdet_version = digit_version(mmdet.__version__)