From 3ff80f5047fe3f3780a05d387f913dd02999611d Mon Sep 17 00:00:00 2001
From: Ma Zerun <mzr1996@163.com>
Date: Thu, 6 Apr 2023 13:05:59 +0800
Subject: [PATCH] Bump version to v1.0.0rc6. (#1456)

---
 docker/Dockerfile          |  2 +-
 docker/serve/Dockerfile    |  6 ++---
 docs/en/notes/changelog.md | 45 ++++++++++++++++++++++++++++++++++++++
 mmcls/__init__.py          |  6 ++---
 mmcls/version.py           |  2 +-
 requirements/mminstall.txt |  4 ++--
 6 files changed, 55 insertions(+), 10 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index c8fe08bb..bec7a90f 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build
 
 # Install MMCV
 RUN pip install openmim
-RUN mim install mmengine "mmcv>=2.0rc0"
+RUN mim install mmengine "mmcv>=2.0.0"
 
 # Install MMClassification
 RUN conda clean --all
diff --git a/docker/serve/Dockerfile b/docker/serve/Dockerfile
index 7c254f20..2b88d191 100644
--- a/docker/serve/Dockerfile
+++ b/docker/serve/Dockerfile
@@ -7,9 +7,9 @@ FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel
 RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub 32
 RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
 
-ARG MMENGINE="0.3.2"
-ARG MMCV="2.0.0rc1"
-ARG MMCLS="1.0.0rc4"
+ARG MMENGINE="0.7.1"
+ARG MMCV="2.0.0"
+ARG MMCLS="1.0.0rc6"
 
 ENV PYTHONUNBUFFERED TRUE
 
diff --git a/docs/en/notes/changelog.md b/docs/en/notes/changelog.md
index 9fc1b2ed..5b7e703f 100644
--- a/docs/en/notes/changelog.md
+++ b/docs/en/notes/changelog.md
@@ -1,5 +1,50 @@
 # Changelog
 
+## v1.0.0rc6(06/04/2023)
+
+### Highlights
+
+- Support OOD datasets.
+- Support confusion matrix calculation and plot.
+- Support LeViT, XCiT, ViG and ConvNeXt-V2 backbone.
+
+### New Features
+
+- Support Out-of-Distribution datasets like ImageNet-A,R,S,C. ([#1342](https://github.com/open-mmlab/mmclassification/pull/1342))
+- Support XCiT Backbone. ([#1305](https://github.com/open-mmlab/mmclassification/pull/1305))
+- Support calculate confusion matrix and plot it. ([#1287](https://github.com/open-mmlab/mmclassification/pull/1287))
+- Support RetrieverRecall metric & Add ArcFace config ([#1316](https://github.com/open-mmlab/mmclassification/pull/1316))
+- Add `ImageClassificationInferencer`. ([#1261](https://github.com/open-mmlab/mmclassification/pull/1261))
+- Support InShop Dataset (Image Retrieval). ([#1019](https://github.com/open-mmlab/mmclassification/pull/1019))
+- Support LeViT backbone. ([#1238](https://github.com/open-mmlab/mmclassification/pull/1238))
+- Support VIG Backbone. ([#1304](https://github.com/open-mmlab/mmclassification/pull/1304))
+- Support ConvNeXt-V2 backbone. ([#1294](https://github.com/open-mmlab/mmclassification/pull/1294))
+
+### Improvements
+
+- [Enhance] Add stochastic depth decay rule in resnet. ([#1363](https://github.com/open-mmlab/mmclassification/pull/1363))
+- [Refactor] Update analysis tools and documentations. ([#1359](https://github.com/open-mmlab/mmclassification/pull/1359))
+- [Refactor] Unify the `--out` and `--dump` in `tools/test.py`. ([#1307](https://github.com/open-mmlab/mmclassification/pull/1307))
+- [Enhance] Enable to toggle whether Gem Pooling is trainable or not. ([#1246](https://github.com/open-mmlab/mmclassification/pull/1246))
+- [Improve] Update registries of mmcls. ([#1306](https://github.com/open-mmlab/mmclassification/pull/1306))
+- [Tool] Add metafile fill and validation tools. ([#1297](https://github.com/open-mmlab/mmclassification/pull/1297))
+- [Improve] Remove useless EfficientnetV2 config files. ([#1300](https://github.com/open-mmlab/mmclassification/pull/1300))
+
+### Bug Fixes
+
+- Fix precise bn hook ([#1386](https://github.com/open-mmlab/mmclassification/pull/1386))
+- Fix acc evalustion wait for long ([#1430](https://github.com/open-mmlab/mmclassification/pull/1430))
+- Fix retrieval multi gpu bug ([#1319](https://github.com/open-mmlab/mmclassification/pull/1319))
+- Fix error repvgg-deploy base config path. ([#1357](https://github.com/open-mmlab/mmclassification/pull/1357))
+- Fix bug in test tools. ([#1309](https://github.com/open-mmlab/mmclassification/pull/1309))
+
+### Docs Update
+
+- Update Readme ([#1442](https://github.com/open-mmlab/mmclassification/pull/1442))
+- Add NPU support page. ([#1437](https://github.com/open-mmlab/mmclassification/pull/1437))
+- Translate some tools tutorials to Chinese. ([#1321](https://github.com/open-mmlab/mmclassification/pull/1321))
+- Add Chinese translation for runtime.md.  ([#1313](https://github.com/open-mmlab/mmclassification/pull/1313))
+
 ## v1.0.0rc5(30/12/2022)
 
 ### Highlights
diff --git a/mmcls/__init__.py b/mmcls/__init__.py
index c5fa4261..6262d2c6 100644
--- a/mmcls/__init__.py
+++ b/mmcls/__init__.py
@@ -6,11 +6,11 @@ from mmengine.utils import digit_version
 from .apis import *  # noqa: F401, F403
 from .version import __version__
 
-mmcv_minimum_version = '2.0.0rc1'
-mmcv_maximum_version = '2.0.0'
+mmcv_minimum_version = '2.0.0rc4'
+mmcv_maximum_version = '2.1.0'
 mmcv_version = digit_version(mmcv.__version__)
 
-mmengine_minimum_version = '0.5.0'
+mmengine_minimum_version = '0.7.1'
 mmengine_maximum_version = '1.0.0'
 mmengine_version = digit_version(mmengine.__version__)
 
diff --git a/mmcls/version.py b/mmcls/version.py
index e994544c..e467f039 100644
--- a/mmcls/version.py
+++ b/mmcls/version.py
@@ -1,6 +1,6 @@
 # Copyright (c) OpenMMLab. All rights reserved
 
-__version__ = '1.0.0rc5'
+__version__ = '1.0.0rc6'
 
 
 def parse_version_info(version_str):
diff --git a/requirements/mminstall.txt b/requirements/mminstall.txt
index 3b8103c0..37692897 100644
--- a/requirements/mminstall.txt
+++ b/requirements/mminstall.txt
@@ -1,2 +1,2 @@
-mmcv>=2.0.0rc1,<=2.0.0
-mmengine>=0.4.0,<1.0.0
+mmcv>=2.0.0rc4,<=2.1.0
+mmengine>=0.7.1,<1.0.0