Songyang Zhang 1520a90aa0
[Docs] add faq contributing (#453)
* [Doc] add overview

* [Doc] add faq and contributing

* [Docs] update

* [Docs] update

* update
2022-08-31 14:04:02 +08:00

2.5 KiB

FAQ

We list some common troubles faced by many users and their corresponding solutions here. Feel free to enrich the list if you find any frequent issues and have ways to help others to solve them. If the contents here do not cover your issue, please create an issue using the provided templates and make sure you fill in all required information in the template.

Installation

Compatible MMCV, MMClassification, MMDetection and MMSegmentation versions are shown below. Please install the correct version of them to avoid installation issues.

MMSelfSup version MMCV version MMClassification version MMSegmentation version MMDetection version
0.9.1 (master) mmcv-full >= 1.4.2 mmcls >= 0.21.0 mmseg >= 0.20.2 mmdet >= 2.19.0
0.9.0 mmcv-full >= 1.4.2 mmcls >= 0.21.0 mmseg >= 0.20.2 mmdet >= 2.19.0
0.8.0 mmcv-full >= 1.4.2 mmcls >= 0.21.0 mmseg >= 0.20.2 mmdet >= 2.19.0
0.7.1 mmcv-full >= 1.3.16 mmcls >= 0.19.0, <= 0.20.1 mmseg >= 0.20.2 mmdet >= 2.16.0
0.6.0 mmcv-full >= 1.3.16 mmcls >= 0.19.0 mmseg >= 0.20.2 mmdet >= 2.16.0
0.5.0 mmcv-full >= 1.3.16 / mmseg >= 0.20.2 mmdet >= 2.16.0

Note:

  • You need to run pip uninstall mmcv first if you have mmcv installed. If mmcv and mmcv-full are both installed, there will be ModuleNotFoundError.
  • If you still have version problem, please create an issue and provide your package versions.

DeepCluster on A100 GPU

Problem: If you want to try DeepCluster algorithm on A100 GPU, use the faiss installed by pip will raise error, which is mentioned in here.

Please install faiss by conda like this:

conda install -c pytorch faiss-gpu cudatoolkit=11.3

Also, you need to install PyTorch with the support of CUDA 11.3, and the faiss-gpu==1.7.2 requires python 3.6-3.8.