Commit Graph

36 Commits (9cbeceabb5299d3c4a3a7dd1eeb6f90353657629)

Author SHA1 Message Date
Yixiao Fang 79ddc0f874
[Refactor] Update CI and issue template (#1463)
* Update CI

* update issue template

* update

* update collect_env function
2023-04-07 14:29:41 +08:00
Yixiao Fang 1ee9bbe050
[Docs] Update links (#1457)
* update links

* update readtherdocs

* update

* update

* fix lint

* update

* update

* update

* update cov branch

* update

* update

* update
2023-04-06 20:58:52 +08:00
Ezra-Yu 3a25b13eb3
[Fix] Update CI (#1454)
* update ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* update window ci

* ignore tests/test_tools.py
2023-04-06 10:52:08 +08:00
Ma Zerun c4ccae40db
[Docs] Update user guides docs and tools for MMPretrain. (#1429)
* [Docs] Update user guides docs and tools for MMPretrain.

* Fix UT

* Fix Chinese docs.

* Improve according to comments.

* Fix windows CI.
2023-03-27 14:32:26 +08:00
mzr1996 4016f1348e Fix CI 2023-02-17 15:33:16 +08:00
Ma Zerun 13ff394985
Bump version to v1.0.0rc3. (#1211)
* Bump version to v1.0.0rc3

* Update pre-commit hook
2022-11-21 18:21:48 +08:00
Ma Zerun 542143cb41
[Feature] Add TIMM and HuggingFace wrappers to build classifiers from them directly. (#1102)
* [Feature] Add TIMM and HuggingFace wrappers to build classifiers from them directly.

* Support `with_cp` and add docstring.

* Add unit tests.

* Update CI.

* Update docs.
2022-11-10 14:56:19 +08:00
Hubert bcca619066
[Feature] Support MobileViT backbone. (#1068)
* init

* fix

* add config

* add meta

* add unittest

* fix for comments

* Imporvee docstring and support custom arch.

* Update README

* Update windows CI

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-10-18 17:05:59 +08:00
mzr1996 38bea383c1 Merge remote-tracking branch 'origin/dev-1.x' into 1.x 2022-09-30 17:39:00 +08:00
Ma Zerun 61e9d890a6
[CI] Update circle-ci and github workflow. (#1018)
* Add deploy workflow.

* [CI] Update circle-ci and github workflow.

* Fix windows CI

* Update unit tests to save memory
2022-09-13 11:46:15 +08:00
mzr1996 a009d29108 Add deploy workflow. 2022-09-01 00:13:26 +08:00
Ma Zerun 20f9ace5c5
[CI] Add Circle CI for mmcls 1.x. (#970)
* [CI] Add Circle CI for mmcls 1.x

* Fix circle-ci config

* Use `torch.cat` instead of `torch.hstack` to compat with PyTorch 1.6

* Compat the behavior of LongTensor in PyTorch 1.6

* Avoid random behavior in the unit test of Lighting

* Fix cuda ci

* Remove github workflow temporarily.
2022-08-22 15:02:08 +08:00
Ma Zerun 824fbcbaae
[Refactor] Use mdformat instead of markdownlint to format markdown. (#844)
* [Refactor] Use mdformat instead of markdownlint to format markdown.

* Update unavailiable api links in tutorials

* Update CONTRIBUTING.md

* Use mdformat==0.7.9 to support Python 3.6
2022-06-02 15:22:01 +08:00
Ma Zerun 1a28f9ace6
[Feature] Add `evaluate` function for ConcatDataset. (#650)
* Add `evaluate` function for ConcatDataset

* Remove newline in log.

* Fix lint

* Specify mmcv version in Windows CI
2022-02-28 12:46:17 +08:00
Ma Zerun 28e3bc8fd9
[CI] Add Windows CI. (#708)
* Update workflow to add Windows CI

* Add some optional requirements to requirements/optional.txt

* Update setup.py

* Update PyTorch version in Windows CI

* Update CI and requirement

* Replace `tempfile.NamedTemporaryFile` to avoid unit test error on
Windows

* Update tests

* Update CI

* Add OpenCV installation

* Update CI
2022-02-28 10:06:08 +08:00
mzr1996 a451d63d0e Avoid CI for PRs that only modifiy configs 2022-01-25 17:52:37 +08:00
Ma Zerun 58ab028f97
[CI] Cancel previous runs that are not completed. (#583)
* [CI] Cancel previous runs that are not completed.

* Test cancel CI
2021-12-07 15:14:14 +08:00
Ma Zerun 33f049b4c2
[CI] Skip build CI if only configs or docs modification. (#575)
* [CI] Skip build CI if only configs or docs modification.

* Use ubuntu latest
2021-12-02 16:05:10 +08:00
mzr1996 2266a59a9d Update CI 2021-11-25 15:58:41 +08:00
Ma Zerun 8b7d38b243
[Docs] Update `getting_started.md` and `install.md` and rewrite `finetune.md` (#466)
* Disable auto line-wrap in docs.

* Add model_zoo.md and CONTRIBUTING.md in docs.

* Revise getting_started.md and install.md

* Rewrite finetune.md

* Fix typo

* Imporve `finetune.md`

* Fix `GitHub` link

* Fix a small typo.
2021-09-28 18:05:50 +08:00
Miras Amir 5cfaed6807
[Feature] timm backbones wrapper (#427)
* Add wrapper to use backbones from timm

* Add tests

* Remove timm from optional deps and modify GitHub workflow.

Co-authored-by: mzr1996 <mzr1996@163.com>
2021-09-06 11:05:31 +08:00
Ma Zerun 5aa132a91c
[CI] Add PyTorch 1.9 and Python 3.9 build workflow, and remove some CI. (#422)
* Add PyTorch 1.9 build workflow, and remove some CI.

* Add Python 3.9 CI

* Show Python 3.9 support.
2021-09-01 11:06:00 +08:00
Ma Zerun 4aec976c87
Delete custom.md 2021-08-04 14:31:53 +08:00
Ma Zerun 2aa4100595
[Docs] Add PR template and modify issue template (#380)
* Add language suggestion in issue-template

* Add issue template config

* Add PR template

* Update pr template according to mmcv #1228
2021-08-04 14:30:20 +08:00
Ma Zerun eb7c70c5c7
Create issue templates (#358)
* Create issue templates

* Fix lint.
2021-07-14 15:18:43 +08:00
Ma Zerun 42b99be9b2
[Docs] rearrange docs and add multiple translation docs. (#320)
* Move tools docs to `tools` folder.

* Fix link error in model_serving.md

* Fix typo in CONTRIBUTING.md

* Add Chinese translation of CONTRIBUTING.md

* Add translation of `onnx2tensorrt.md`, `pytorch2onnx.md`,
`model_serving.md` and `pytorch2torchscript.md`.

* Improve tools docs.

* Add docs about installing mmcls via mim.
2021-06-30 20:53:09 +08:00
LXXXXR 7d618e6606
[Fix] Fix version (#209)
* fix version

* add projects in openmmlab

* minor fix

* empty

* add mmocr

* empty

* empty

* fix linting
2021-04-16 19:07:17 +08:00
mzr1996 b7b520881f
Update CONTRIBUTING.md according to mmcv (#210)
* Update CONTRIBUTING.md according to mmcv

* Docstring formatting by docformatter

* Update openmmlab website.
2021-04-14 21:22:37 +08:00
LXXXXR d412841e08
[Fix] Update pip install mmcv command in ci (#187)
* update pip install mmcv command in ci

* update pip install mmcv command in ci

* fix ci

* fix ci
2021-03-29 19:57:27 +08:00
LXXXXR 996d2a7641
Revert "temporary solution to ci until new version of mmcv is avaliable (#127)" (#128)
This reverts commit abb3234689.
2020-12-30 17:11:33 +08:00
LXXXXR abb3234689
temporary solution to ci until new version of mmcv is avaliable (#127)
* temporary solution to ci until new version of mmcv is avaliable

* temporary solution to ci until new version of mmcv is avaliable
2020-12-28 11:29:29 +08:00
LXXXXR 9a0c75ea41
Use old resolver in pip (#115)
* use old resolver in pip

* use old resolver in pip
2020-12-18 16:00:28 +08:00
LXXXXR 400074c321
Add markdown lint in pre-commit hook (#106)
* add mdlint

* remove duplicate check

* modify md files to pass linting check

* change mmcv download url

* remove torch1.4.0 version check

* remove torch1.4.0 version check
2020-12-02 19:42:45 +08:00
Wenwei Zhang fe45b241c5
Do not install mmcv through requirements (#90)
* Delete the mmcv requirement to support mmcv-full installed environment

* install mmcv in CI

* fix mmcv version error

Co-authored-by: Xinran <lixinran@sensetime.com>
2020-11-19 00:00:12 +08:00
Y. Xiong c00ee6a876
workflow: modify build, add deploy (#61)
* workflow: modify build, add deploy

* fix type: mmseg -> mmcls

* simplify build by delete cuda related settings

* re-sort requirements by pre-commit hook

* build: support more pytorch versions

* build: fix torchvision version bug

* del useless test imports

* merge upstream

* build: del docstring checking to pass coverage check
2020-10-10 22:15:50 +08:00
yl-1993 71e3b86ed3 add github action (manually squash) 2020-07-12 00:07:05 +08:00