Commit Graph

45 Commits (mmcls-1.x)

Author SHA1 Message Date
Ma Zerun 3ff80f5047
Bump version to v1.0.0rc6. (#1456) 2023-04-06 13:05:59 +08:00
Ma Zerun 0d8f918eaa
Bump version to v1.0.0rc5. (#1286) 2022-12-30 17:32:04 +08:00
Ma Zerun 6ea59bd846
[Fix] Fix the requirements and lazy register mmcls models. (#1275) 2022-12-19 13:01:11 +08:00
mzr1996 458ac4c89a Merge remote-tracking branch 'origin/dev-1.x' into 1.x 2022-12-06 18:00:59 +08:00
Ma Zerun a4ec2799d6
[Docs] Update install tutorial. (#1223)
* [Docs] Update install tutorial.

* Update collapsed sections.

* Update requirements

* Update install tutorial.
2022-12-06 17:00:32 +08:00
Ma Zerun c127c474b9
[Feature] Support getting model from the name defined in the model-index file. (#1236)
* [Feature] Support getting model from the name defined in the model-index file.

* Add unit tests.

* Prevent import `timm` if the `TIMMBackbone` is not used.

* Fix Windows CI.

* Move `init_model` to `mmcls.apis.hub`, and support pass nn.Module to all
model components.

* Fix requirements

* Rename `hub.py` to `model.py` and add unit tests.
2022-12-06 17:00:22 +08:00
Ma Zerun 0e8cfa6286
[Docs] Add not-found page extension. (#1207)
* [Docs] Add not-found page extension.

* Mock rich during generate docs.

* Fix multiple broken links in docs.

* Fix "right" to "left".
2022-11-21 10:34:05 +08:00
Ma Zerun c48cfa9f47
[Docs] Improve the ResNet model page. (#1118)
* [Docs] Improve the ResNet model page.

* Fix lint.

* Update stat.py
2022-11-08 11:09:51 +08:00
Ezra-Yu 63b124e2d7
[Docs] Improve Swin Doc and Add Tabs enxtation. (#1145)
* improve_swin_doc

* fix requirments

* improve swin2 docs

* improve swin2 docs

* update

* update CN doc

* update CN doc

* update comments

* fix error

* update register_all_modules

* Update README.md

* Update stat.py

* Update readme

Co-authored-by: mzr1996 <mzr1996@163.com>
2022-11-04 11:58:39 +08:00
Ma Zerun dfe0874102
Update requirements. (#1083) 2022-10-12 10:57:37 +08:00
Ma Zerun 96a1a34415
[Docs] Auto generate model summary table. (#1010)
* Fix wrong metafile

* Auto generate model summary table.

* Fix all TODO link
2022-09-13 15:06:17 +08:00
Ma Zerun 85b1eae7f1
Bump to v1.0.0rc0 (#1007)
* Update docs.

* Update requirements.

* Update config readme and docstring.

* Update CONTRIBUTING.md

* Update README

* Update requirements/mminstall.txt

Co-authored-by: Yifei Yang <2744335995@qq.com>

* Update MMEngine docs link and add to readthedocs requirement.

Co-authored-by: Yifei Yang <2744335995@qq.com>
2022-08-31 23:57:51 +08:00
Ma Zerun 0b61b76325
[Docs] Add Migration documentation. (#997)
* [Docs] Add Migration documentation.

* Fix the train_cfg argument

* [WIP] Improve according to comments

* Imporve according to comments.
2022-08-31 13:31:48 +08:00
Songyang Zhang 4367d05dfc
[Enhance] Use `fvcore` to calculate FLOPS. (#1000)
* [Feature] Use fvcore for flops count

* update requirements

* update
2022-08-31 11:04:42 +08:00
Ma Zerun 17b24a8230
[Improve] Update apis and packages. (#921)
* Remove mmcls/core folder

* update dependency version.

* Update `apis/inference.py` and demo.
2022-07-22 10:59:08 +08:00
Ezra-Yu a9057e88c4 Add multi label metrics 2022-07-18 11:11:13 +08:00
mzr1996 3b6d44ea05 [Refactor] Refactor CIFAR10 and CIFAR100 dataset. 2022-07-18 10:53:56 +08:00
mzr1996 6beac5060f [Docs] Fix docs. 2022-04-15 21:25:29 +08:00
Ma Zerun eda75d12ec
Bump version to v0.22.1 (#785) 2022-04-15 20:08:39 +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
Ma Zerun a7f8e96b31
Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
Ma Zerun a865d64208
[Refactor] Deprecate the support for "python setup.py test" (#646)
* Deprecate the support for "python setup.py test"

* Update requirements
2022-01-25 12:15:12 +08:00
mzr1996 0a07d47b4a Update gitignore and docs requirements 2021-12-29 14:26:43 +08:00
Ma Zerun f2c1c57398
[Docs] Fix docs build dependency. (#584)
* Fix docs.

* Add MMHuman3D
2021-12-07 11:16:33 +08:00
Ma Zerun d1473e4a7f
[Dependency] Update mmcv dependency version (#509)
* Update mmcv dependency version

* Add code info in some metafiles
2021-11-02 18:08:30 +08:00
Ma Zerun 10e8495055
[Tool] Add a tool to test TorchServe. (#468)
* Add `title` option in `show_result_pyplot`.

* Add test_torchserver.py

* Add docs about test torchserve

* Update docs and result output.

* Update chinese docs.
2021-10-14 17:56:32 +08:00
Ma Zerun 1d6d142b42
[Docs] Use PyTorch style docs theme (#457)
* Change docs theme to pytorch-theme

* Update docs rst

* Fix docs title level.

* Add static resources

* Fix lint
2021-09-23 22:21:03 +08:00
RangiLyu 0b20aa6873
[Fix]: Fix missing runtime requirement `packaging`. (#459) 2021-09-23 18:04:42 +08:00
Ma Zerun 0d0b1f5f92
[Docs] Fix sphinx version (#429) 2021-09-01 17:07:08 +08:00
Ma Zerun e4188c828c
Avoid albumentations to install both opencv and opencv-headless. (#397) 2021-08-09 10:32:13 +08:00
Ma Zerun ade7b80e44
Bump version to v0.14.0 (#389) 2021-08-04 13:25:42 +08:00
Ma Zerun 474c55d035
Fix mmcv dep version in mminstall.txt (#346) 2021-07-23 16:09:55 +08:00
Wenwei Zhang 06f415c28a
support to test mmdet inference with mmcls backbone (#343)
* support to test mmdet inference with mmcls backbone

* update config

* update

* add mmdet dependency in tests
2021-07-06 14:34:12 +08:00
LXXXXR ace09510f7
[Bug]Fix typo (#255)
* fix typo

* rerun ci
2021-05-17 10:42:31 +08:00
LXXXXR dc296f64c6
[Fix] Fix multi-node test tmp dir (#251)
* fix multi-node test tmp dir

* fix mmcv version
2021-05-16 21:53:13 +08:00
LXXXXR 761c95925d
support mmcli (#232) 2021-05-01 22:24:16 +08:00
LXXXXR 1f6549eeee
bump version to 0.10.0 (#194) 2021-04-01 10:39:18 +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
David de la Iglesia Castro 4f4f2957ef
Use build_runner (#54)
* Use build_runner in train api

* Support iter in eval_hook

* Add runner section

* Add test_eval_hook

* Pin mmcv version in install docs

* Replace max_iters with max_epochs

* Set by_epoch=True as default

* Remove trailing space

* Replace DeprecationWarning with UserWarning

* pre-commit

* Fix tests
2020-10-15 21:12:50 +08:00
Y. Xiong d369645e23
bump version to 0.6.0 (#62)
* fix lint

* fix version path type

* del short_version

* setup: del ops; add python3.8

* del useless requirements

* setup: remove extra_requirements

* setup: totally remove build_requests

* setup: change to valid email
2020-10-11 00:12:04 +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
Lei Yang 24fd4fb627
Visualize results on image demo (#58)
* visualize results on image demo

* add matplotlib in requirements
2020-10-10 16:33:27 +08:00
David de la Iglesia Castro 99115fddbc
Add albumentations (#45)
* Add Albu transform

* pre-commit

* Create optional.txt

* Update requirements.txt

* Update transforms.py
2020-09-22 17:35:39 +08:00
yl-1993 f599e1ce3d add .readthedocs.yml 2020-07-13 01:08:40 +08:00
yl-1993 71e3b86ed3 add github action (manually squash) 2020-07-12 00:07:05 +08:00