Commit Graph

420 Commits (13484aae9fbe66dd98f6a645267d9965239b7ce8)
 

Author SHA1 Message Date
Mashiro 13484aae9f
Bump version to v0.2.0 (#591)
* Bump version to v0.2.0

* Add changelog

* minor refine

* minor refine

* update date

* clean the code

* minor refine

* update release date

* Fix grammar

* Fix grammar

* Fix grammar

* Fix grammar

* Minor refine

* Fix error format in readme

* update date

* minor refine

* minor refine

* minor refine

* minor refine

* refine grammar
2022-10-11 23:08:17 +08:00
Mashiro 2df5bc137b
[Fix] Fix base tta model (#593)
Co-authored-by: ubuntu <ubuntu@localhost.localdomain>
2022-10-11 09:49:50 +08:00
whcao 46add351fe
[Fis] Set `_is_init` to True when `pretrained` is True (#555)
* set _is_init to True when pretrained is True

* fix comments
2022-10-10 17:31:43 +08:00
Mashiro 62456217f9
[Feature] Add test time augmentation base model. (#538)
* First commit

* add BaseTestTimeAugModel

* Add unit test

* move loop logic to test_step

* fix ddp test

* rename model to module

* optim __init__

* Fix as comment

* Fix as comment

* make val_step should not be called

* make tta do not inherit base model

* Fix unit test

* Enhance docstring

* Fix as comment

* Fix as comment

* minor refine

* minor refine

* minor refine

* fix unit test

* minor refine

* minor refine

* minor refine

* minor refine

* minor refine

* minor refine

* fix unit test
2022-10-10 14:29:33 +08:00
Mashiro b5fd38ab8c
[Enhance]: make total loss at the end of all losses (#369) 2022-10-09 15:37:59 +08:00
Xin Li 8f91cf0be8 [Doc]: revise docs (#547)
* revise docs

* Update README.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-10-08 19:56:11 +08:00
Yanyi Liu ccb32c7e31
[Fix] fix loss smooth when loss name doesn't start with `loss` (#539)
* fix loss mean

* update
2022-10-08 19:53:05 +08:00
Younghwan Na da38b4113d
Fix typo in FSDP (#569) 2022-10-08 19:51:07 +08:00
Austin Welch 8864bd88d7
[Feats]: Add smddp dist backend option (#579)
* Add smddp dist backend option

* [Dev]: Upgrade pre commit hooks (#576)

* Upgrade the versions of pre-commit-hooks

* update zh-cn.yaml

* [Docs] Fix the docstring of model sub-package (#573)

* [Doc]: Update config.md (#562)

* Update config.md

* Update config.md

* [Doc] delete the error comment  in docs (#514)

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zhengfei-0311 <78833899+Zhengfei-0311@users.noreply.github.com>
Co-authored-by: vansin <msnode@163.com>
2022-10-08 19:50:32 +08:00
Qian Zhao e73c4bf135
[Fix] some out-of-date unittests (#586)
* fix dist ut

* fix config & hub ut break due to mmdet faster-rcnn rename
2022-10-08 19:48:51 +08:00
Mashiro 89146a5b90
[Fix] Fix detect_anomalous_params (#588) 2022-10-08 19:48:35 +08:00
vansin 1f63d2436c
[Doc] delete the error comment in docs (#514) 2022-10-08 11:34:35 +08:00
Zhengfei-0311 4e5c40b51b
[Doc]: Update config.md (#562)
* Update config.md

* Update config.md
2022-10-08 11:20:52 +08:00
Zaida Zhou a5eb179153
[Docs] Fix the docstring of model sub-package (#573) 2022-10-08 11:19:30 +08:00
Zaida Zhou 26e5462447
[Dev]: Upgrade pre commit hooks (#576)
* Upgrade the versions of pre-commit-hooks

* update zh-cn.yaml
2022-10-08 10:31:19 +08:00
Hakjin Lee 36af1f0fee
[Fix]: use get instead of pop to get `runner_type` (#549) 2022-09-26 14:39:06 +08:00
Shaun 925f18347a
[Doc]: fix spell error (#548) 2022-09-26 14:33:46 +08:00
Zaida Zhou ed84dfd34d
[Refactor] Refactor fileio without breaking back compatibility (#533)
* [Refactor] Refactor fileio but without breaking bc

* handle compatibility

* fix format

* modify io functions

* fix ut

* fix ut

* rename method names

* refine

* refine docstring

* fix ut in windows

* update ut

* minor fix

* ensure client is not None when closing it

* add more examples for list_dir_or_file interface

* refine docstring

* refine deprecated info

* fix ut

* add a description for lmdb docstring
2022-09-26 14:30:40 +08:00
Mashiro 8d14eb6546
[Fix] Support compare numpy array dataset meta (#511)
* [Fix] Support compare numpy array dataset meta

* Add comment
2022-09-22 14:11:00 +08:00
Mashiro 2e99ea3821
[Fix]: Fix _save_to_state_dict (#542) 2022-09-22 14:10:35 +08:00
Qian Zhao c64243aa9e
[Fix] CheckpointHook behavior incorrect if given `filename_tmpl` argument (#518) 2022-09-22 12:47:45 +08:00
jason_w e56b1736c1
[Enhancement]: Remove unnecessary "if statement" (#536)
Remove unnecessary "if statement".
2022-09-19 00:14:18 +08:00
Mashiro 5d7527d75e
[Fix ] Fix unit test could may fail caused by `MultiProcessTestCase` (#535)
* fix merge ci

* make timeout larger

* tmp test merge

* debug

* sleep 1 in optimizer ut

* skip test clip grad

* skip test clip grad

* fix merge ci
2022-09-15 18:08:56 +08:00
Mashiro 8ee31dbc3b
[Feature] Support convert `BN` to `SyncBN` by config (#506)
* [Feature] Support convert BN to SyncBN by config

* make unit test compatible with cpu

* Fix as comment

* fix unit test

* change signature of convert_sync_batchnorm: rename sync_bn to implemention

* fix unit test

* fix unit test
2022-09-15 18:08:36 +08:00
Mashiro ca0364bbc3
[Fix] Fix merge ci & multiprocessing unit test (#529)
* fix merge ci

* make timeout larger
2022-09-14 09:49:23 +08:00
wxDai 7520210314
[Doc]: fix typo in instance_data.py (#530) 2022-09-14 09:48:32 +08:00
Zaida Zhou 114fa21522
[Docs] Fix API files of en docs (#525)
* [Docs] Fix api files of en docs

* minor fix
2022-09-13 14:57:18 +08:00
MengzhangLI c1178fad8f
[Doc] Fix typo in docstring (#527) 2022-09-13 14:55:59 +08:00
Mashiro 6b1b8a3751
[Fix] Fix unit test in windows (#515) 2022-09-13 11:46:21 +08:00
Mashiro 0fb2b8ca8c
[Fix] Fix circle import in EMAHook (#523) 2022-09-09 19:33:27 +08:00
RangiLyu 3ba50ce137
[Enhance] Use torch.lerp_() to speed up EMA. (#519) 2022-09-09 11:44:58 +08:00
Mashiro 9bbbd7dc41
[Fix] Fix error argument sequence in fsdp (#520) 2022-09-09 11:42:30 +08:00
takuoko a6f5297727
[fix] EMAHook load state dict (#507)
* fix ema load_state_dict

* fix ema load_state_dict

* fix for test

* fix by review

* fix resume and keys
2022-09-09 11:41:12 +08:00
takuoko cfb884c180
[Enhancement] update docstring of wandb define_metric (#509)
* wandb define_metric

* fix docs

* add wandb docs link
2022-09-07 20:27:53 +08:00
Zaida Zhou ac5e79c6ab
[Feature]: Add dockerfile (#347)
* Add dockerfile

* update README

* resolve comments

* Remove unnecessary commands

* Simplify the dockerfile

* enable to specific mmengine version

* Update README.md

* revert
2022-09-07 20:26:17 +08:00
takuoko 34bd3e535e
[BugFix] wandb image (#510)
* bugfix wandb image

* del judged

* use self._wandb
2022-09-07 20:24:29 +08:00
Zaida Zhou 19d4eba866
[Refactor] Update Github Action CI and CircleCI (#512)
* [CI] Update Github Action CI and CircleCI

* clear outdated commands in CI

* clear outdated commands in CI

* add '-r' when installing packages from txt

* update

* update circleci

* fix mismatch conflicts

* update

* install system dependencies

* update

* set env

* fix ut

* update cuda version on Windows

* update push action
2022-09-07 20:24:11 +08:00
Zaida Zhou ba1c368f94
[Docs] Fix index.rst in docs (#505)
* [Docs] Fix outdated index

* update index.rst

* fix readme url
2022-09-01 11:34:03 +08:00
古月闻星 58d8a41966
[Fix] MacOS to macOS (#500) 2022-09-01 11:16:39 +08:00
Mashiro 80b85d7a12
change version to 0.1.0 (#499) 2022-09-01 00:05:49 +08:00
Kai Chen 5af1c8437e
[Doc] Polish the readme (#502)
* update readme

* fix typos
2022-09-01 00:05:00 +08:00
古月闻星 00bb73b8e3
[Fix] max_epoch to max_iters (#503) 2022-09-01 00:03:23 +08:00
Zaida Zhou a06bb7782b
[Docs] Add readthedocs.yml (#501)
* [Docs] Add readthedocs.yml

* include torch in readthedocs.yml

* add torch torchvision in docs.txt
2022-08-31 23:34:25 +08:00
Zaida Zhou 458f6d684e
[Docs] Refactor docs structure (#494)
* [WIP] Refactor-docs-structure

* [Docs] Check link and fix rst  (#498)

* check link

* fix rst

* Fix conf.py

* Fix lint

* minor refine

* minor refine

* modify zh_readme and index.rst

* add migration exampls get_started design to en

* add tutorials to en

* correct chinese doc link

* Apply suggestions from code review

* Update docs/en/advanced_tutorials/distributed.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
2022-08-31 21:18:55 +08:00
Mashiro 2d3bff4418
[Fix] Fix unit test of `Config` will install `mmdet` and `mmcls`. (#492)
* fix unit test install mmdet and mmcls

* raise error when mmdet is not installed

* rename check_and_install to install_package

* split test case

Co-authored-by: C1rN09 <zhaoqian@pjlab.org.cn>
2022-08-31 21:18:05 +08:00
Zaida Zhou 521f375e32
[Doc]: Add README.md (#493)
* Add README.md

* add introduction

* resolve comments

* final refinement
2022-08-31 21:17:54 +08:00
liukuikun 1fea82aad5
[Docs] update data element tutorials (#431)
* structure tutorials

* refine data element docs

* modify introduce

* fix comment

* fix comment

* fix comment
2022-08-31 20:39:08 +08:00
Mashiro 5a9ac09f28
[Doc]: Fix docs and docstring of config (#497) 2022-08-31 20:01:35 +08:00
Yining Li 5349908e9b
use image without watermark (#496) 2022-08-31 20:01:16 +08:00
Mashiro 627186d1a2
[Docs] Migrate model from mmcv (#473)
* migrate model

* fix title error

* refine as comment

* fix as comment

* minor refine

* Fix as comment

* Update docs/zh_cn/migration/migrate_model_from_mmcv.md

* Update docs/zh_cn/migration/migrate_model_from_mmcv.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
2022-08-31 19:22:21 +08:00