Skip to content

Commit

Permalink
[Enhancement] Remove mmdet and mmcls from mminstall (#2642)
Browse files Browse the repository at this point in the history
## Motivation

As the mmdet and mmcls are not very stabel, and mim can install repo
from source code, we remove them from mminstall and they won't be
installed automatically when run `mim install mmsegmentation`

## Modification

1. remove mmdet and mcls from mminstall
2. add explanation in faq

---------

Co-authored-by: MengzhangLI <[email protected]>
  • Loading branch information
MeowZheng and MengzhangLI authored Feb 24, 2023
1 parent 53fe1cc commit 619a3c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/en/notes/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ The compatible MMSegmentation, MMCV and MMEngine versions are as below. Please i
| 1.0.0rc1 | mmcv >= 2.0.0rc1, \<=2.0.0rc3> | MMEngine >= 0.1.0 | mmcls>=1.0.0rc0 | Not required |
| 1.0.0rc0 | mmcv >= 2.0.0rc1, \<=2.0.0rc3> | MMEngine >= 0.1.0 | mmcls>=1.0.0rc0 | Not required |

Notes: To install MMSegmentation 0.x and master branch, please refer to [the faq 0.x document](https://mmsegmentation.readthedocs.io/en/latest/faq.html#installation) to check compatible versions of MMCV.
Notes:

- MMClassification and MMDetatction are optional for MMSegmentation. If you didn't install them, `ConvNeXt` (required MMClassification) and MaskFormer, Mask2Former (required MMDetection) cannot be used. We recommend to install them with source code. Please refer to [MMClasssication](https://github.com/open-mmlab/mmclassification) and [MMDetection](https://github.com/open-mmlab/mmdetection) for more details about their installation.

- To install MMSegmentation 0.x and master branch, please refer to [the faq 0.x document](https://mmsegmentation.readthedocs.io/en/latest/faq.html#installation) to check compatible versions of MMCV.

## How to know the number of GPUs needed to train the model

Expand Down
2 changes: 0 additions & 2 deletions requirements/mminstall.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
mmcls>=1.0.0rc0
mmcv>=2.0.0rc4
-e git+https://github.com/open-mmlab/[email protected]#egg=mmdet
mmengine>=0.5.0,<1.0.0

0 comments on commit 619a3c2

Please sign in to comment.