Skip to content

Commit

Permalink
[Enhancement] Support MMCV < 1.8.0 (#1508)
Browse files Browse the repository at this point in the history
* [Enhancement] Support MMCV < 1.8.0

* update
  • Loading branch information
gaotongxiao committed Nov 3, 2022
1 parent 60300c9 commit b90d672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/en/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ MMOCR has different version requirements on MMCV and MMDetection at each release

| MMOCR | MMCV | MMDetection |
| ------------ | ------------------------ | --------------------------- |
| main | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 |
| main | 1.3.8 \<= mmcv \< 1.8.0 | 2.21.0 \<= mmdet \<= 3.0.0 |
| 0.6.1, 0.6.2 | 1.3.8 \<= mmcv \<= 1.7.0 | 2.21.0 \<= mmdet \<= 3.0.0 |
| 0.6.0 | 1.3.8 \<= mmcv \<= 1.6.0 | 2.21.0 \<= mmdet \<= 3.0.0 |
| 0.5.0 | 1.3.8 \<= mmcv \<= 1.5.0 | 2.14.0 \<= mmdet \<= 3.0.0 |
Expand Down
2 changes: 1 addition & 1 deletion mmocr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def digit_version(version_str: str, length: int = 4):


mmcv_minimum_version = '1.3.8'
mmcv_maximum_version = '1.7.0'
mmcv_maximum_version = '1.8.0'
mmcv_version = digit_version(mmcv.__version__)

assert (mmcv_version >= digit_version(mmcv_minimum_version)
Expand Down
2 changes: 1 addition & 1 deletion requirements/mminstall.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mmcv-full>=1.3.8,<1.7.0
mmcv-full>=1.3.8,<1.8.0
mmdet>=2.21.0,<3.0.0

0 comments on commit b90d672

Please sign in to comment.