mirror of
https://github.com/open-mmlab/mmfewshot.git
synced 2025-06-03 14:49:43 +08:00
[Fix] Fix mdformat version to support python3.6 (#98)
* [Fix] Fix mdformat version to support python3.6 * minor fix
This commit is contained in:
parent
ad63b27af7
commit
7dc4e578d9
@ -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
|
||||
|
@ -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` 错误。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user