[Fix] Fix mdformat version to support python3.6 (#98)

* [Fix] Fix mdformat version to support python3.6

* minor fix
This commit is contained in:
BigDong 2022-06-17 14:27:54 +08:00 committed by GitHub
parent ad63b27af7
commit 7dc4e578d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -41,11 +41,11 @@ repos:
- id: check-copyright
args: [ "mmfewshot", "tools" ] # replace the dir_to_check with your expected directory to check
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.14
rev: 0.7.9
hooks:
- id: mdformat
args: ["--number"]
additional_dependencies:
- mdformat-gfm
- mdformat-openmmlab
- mdformat_frontmatter
- linkify-it-py

View File

@ -11,9 +11,9 @@
MMFewShot 和 MMCV, MMCls, MMDet 版本兼容性如下所示,需要安装正确的版本以避免安装出现问题。
| MMFewShot 版本 | MMCV 版本 | MMClassification 版本 | MMDetection 版本 |
| :----------: | :---------------: | :-----------------: | :------------: |
| master | mmcv-full>=1.3.12 | mmdet >= 2.16.0 | mmcls >=0.15.0 |
| MMFewShot 版本 | MMCV 版本 | MMClassification 版本 | MMDetection 版本 |
| :------------: | :---------------: | :-------------------: | :--------------: |
| master | mmcv-full>=1.3.12 | mmdet >= 2.16.0 | mmcls >=0.15.0 |
\*\*注意:\*\*如果已经安装了 mmcv首先需要使用 `pip uninstall mmcv` 卸载已安装的 mmcv如果同时安装了 mmcv 和 mmcv-full将会报 `ModuleNotFoundError` 错误。