Zaida Zhou
15905bdcc0
[Docs] Describe how to migrate hook from mmcv ( #451 )
...
* Add a doc to explain how to migrate hook from mmcv
* update style
* update format
* Add functional changes of hooks
* fix table style
* refine
* fix typo
2022-08-30 15:07:06 +08:00
yancong
7e423cf23f
[Docs] Add fileio tutorials ( #420 )
...
* docs(zh_cn/tutorials): add fileio tutorials
* Update docs/zh_cn/tutorials/fileio.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-08-29 22:58:49 +08:00
Wencheng Wu
f2df9efefb
[Fix] Fix typo in docs. ( #485 )
2022-08-29 22:39:42 +08:00
Ma Zerun
d6aa85fb36
[Docs] Add data transform migration docs ( #460 )
...
* [Docs] Add data transform migration docs
* Imporve according to comments
2022-08-29 22:39:19 +08:00
RangiLyu
58229636b5
[Docs] Cross library import examples. ( #461 )
...
* [Docs] cross library import examples.
* update
* resolve comments
2022-08-29 22:37:51 +08:00
Yining Li
0bb9591f07
[Docs] refine metric/evaluator docs ( #442 )
...
* refine metric/evaluator doc
* resolve comments
* resolve comments
2022-08-29 16:23:24 +08:00
Ma Zerun
89b56b240a
[Doc]: Add mmengine demo and do some modifications for it. ( #363 )
...
* Update demo in get started tutorial
* Update demo tutorial
* Refactor the pytorch demo
* Add outline and titles to the demo tutorial.
* Move file and change title
* Add shuffle in dataloader arguments.
* Improve according to comments
2022-08-29 16:19:11 +08:00
Wenwei Zhang
4be57e5ebb
[Doc]: Add introduction of mmengine in get_started.md ( #481 )
...
* add introduction of mmengine in get_started.md
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* resolve comments
* update figs
2022-08-29 16:17:59 +08:00
Zaida Zhou
2f09342663
[Docs] Refine registry docs ( #443 )
...
* [Docs] Refine registry docs
* explain how to use _scope_
* refine
2022-08-29 14:50:48 +08:00
Zaida Zhou
dcab0f5055
[Docs] Add resume training examples ( #407 )
...
* [Docs] Add resume training examples
* refine
* rename filename
* minor refinement
* fix comments
* resolve comments
* resolve comments
2022-08-29 14:47:31 +08:00
Mashiro
d68fd5a654
[Docs] Add docs for OptimWrapper
( #411 )
...
* add optimizer wrapper docs
* remove optimizer.md
* minor refine
* Fix as comment
* minor refine
* tmp save ipynb
* add default constructor docs
* remove ipynb
* fix as comment
* remove color charactor
* fix as comment
2022-08-28 17:11:58 +08:00
Tao Gong
54e7812926
[Doc]: Explain the priority of dataset.metainfo in basedataset.md ( #476 )
...
* Update basedataset.md
* Update basedataset.md
* Update basedataset.md
* Update basedataset.md
* Slight rephrase
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
2022-08-26 16:34:04 +08:00
RangiLyu
18a0338c91
[Docs] How to migrate scheduler. ( #456 )
...
* [Doc] Migrate scheduler.
* [Doc] Migrate scheduler.
* update
* resolve comments
* resolve comments
2022-08-26 11:35:33 +08:00
Haian Huang(深度眸)
4bd00bc85c
[Docs] Add visualizer docs ( #418 )
...
* Add Visualizer tutorials
* Add Visualizer designs
* update
* update
* update
* fix commit
* add demo image
* simplify code according to #440 and add some results picture
* replace image url
* update
Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-26 10:01:04 +08:00
Mashiro
8770c6c7fc
[Refactor] Refactor data flow to make the interface more natural ( #468 )
...
* [Refactor]: modify interface of Visualizer.add_datasample (#365 )
* [Refactor] Refactor data flow: refine `data_preprocessor`. (#359 )
* refine data_preprocessor
* remove unused BATCH_DATA alias
* Fix type hints
* rename move_data to cast_data
* [Refactor] Refactor data flow: collate data in `collate_fn` of `DataLoader` (#323 )
* acollate data in dataloader
* fix docstring
* refine comment
* fix as comment
* refactor default collate and psedo collate
* foramt test file
* fix docstring
* fix as comment
* rename elem to data_item
* minor fix
* fix as comment
* [Refactor] Refactor data flow: `data_batch` argument of `Evaluator.process is a `dict` (#360 )
* refine evaluator and metric
* compatible with new default collate
* replace default collate with pseudo
* Handle data_batch in metric
* fix unit test
* fix unit test
* fix unit test
* minor refine
* make data_batch optional
make data_batch optional
* rename outputs to predictions
* fix ut
* rename predictions to outputs
* fix docstring
* fix docstring
* fix unit test
* make outputs and data_batch to kwargs
* fix unit test
* keep signature of metric
* fix ut
* rename pred_sample arguments to data_sample(Visualizer)
* fix loop and ut
* [refactor]: Refactor model dataflow (#398 )
* [Refactor] Refactor data flow: refine `data_preprocessor`. (#359 )
* refine data_preprocessor
* remove unused BATCH_DATA alias
* Fix type hints
* rename move_data to cast_data
* refactor model data flow
tmp_commt
tmp commit
* make val_cfg and test_cfg optional
* roll back runner
* pass test mmdet
* fix as comment
fix as comment
fix ci in DataPreprocessor
* fix ut
* fix ut
* fix rebase main
* [Fix]: Fix test val ddp (#462 )
* [Fix] Fix docstring and type hint of data flow (#463 )
* Fix docstring of data flow
* change signature of hook
* fix unit test
* resolve conflicts
* fix lint
2022-08-24 22:04:55 +08:00
Zaida Zhou
7e1d7af2d9
[Refactor] Refactor code structure ( #395 )
...
* Rename data to structure
* adjust the way to import module
* adjust the way to import module
* rename Structure to Data Structures in docs api
* rename structure to structures
* support using some modules of mmengine without torch
* fix circleci config
* fix circleci config
* fix registry ut
* minor fix
* move init method from model/utils to model/weight_init.py
* move init method from model/utils to model/weight_init.py
* move sync_bn to model
* move functions depending on torch to dl_utils
* format import
* fix logging ut
* add weight init in model/__init__.py
* move get_config and get_model to mmengine/hub
* move log_processor.py to mmengine/runner
* fix ut
* Add TimeCounter in dl_utils/__init__.py
2022-08-24 19:14:07 +08:00
Zaida Zhou
6c607bd26f
[Docs] Simplify hook docs ( #428 )
...
* Move the design of hook to design/hook.md
* add relative links in docs
* update docstring of hooks
* refine checkpointhook docs
* refine
* fix comments
* refine
* add logging.md link in hook.md
* resolve comments
* fix typo
2022-08-23 16:20:47 +08:00
Zaida Zhou
5e17dd7cd4
[Docs] Add speed training examples ( #408 )
...
* [Docs] Add speed training examples
* refine
* refine
* rename filename
* minor refine
2022-08-23 11:55:18 +08:00
Tao Gong
7fc0a51aae
[Doc]: Update the tutorials of basedataset ( #445 )
...
* modify the tutorials of basedataset
* tmp commit
2022-08-23 11:54:38 +08:00
Haian Huang(深度眸)
ca282aee9e
[Doc]: add save_gpu_memory docs ( #419 )
...
* Add save_gpu_memory docs
* update
* fix comment
* fix comment
2022-08-22 18:10:28 +08:00
RangiLyu
5e1ef1dd6c
[Docs] Update runner documents. ( #430 )
...
* [Doc] Update runner documents.
* update
* fix link
* update
* update
* Update import manner of Runner
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
2022-08-22 11:30:49 +08:00
yancong
d6bf587d68
[Docs] Modify distributed tutorials ( #421 )
...
* docs: modify distributed tutorials
* docs: modify distributed tutorials
* docs(zh_cn/tutorials): fix wrong modifications in distributed.md
2022-08-21 14:58:25 +08:00
RangiLyu
38ab4bec5e
[Docs] Update scheduler doc. ( #439 )
...
* [Docs] Update scheduler doc.
* update
2022-08-19 11:09:57 +08:00
Zaida Zhou
10330cde9d
[Docs] Add installation docs ( #406 )
...
* Add installation docs
* fix typo
2022-08-19 10:48:45 +08:00
Zaida Zhou
f5cb45dc33
[Doc]: fix typo in installation command ( #433 )
2022-08-16 15:42:27 +08:00
Zaida Zhou
26342f3586
[Docs] Add the steps to build docs ( #409 )
2022-08-15 11:47:08 +08:00
Zaida Zhou
6501d21eab
[Fix]: fix mdformat version to support python3.6 ( #315 )
2022-06-21 16:32:58 +08:00
Zaida Zhou
e76517c63a
[Doc]: Update hooks docs ( #317 )
2022-06-21 15:13:53 +08:00
Zaida Zhou
d09af9ead4
[Doc]: update root registries in docs ( #316 )
2022-06-21 15:12:49 +08:00
Tao Gong
45f5859b50
[Doc]: refactor docs for basedataset ( #318 )
2022-06-21 14:58:10 +08:00
Mashiro
44538e56c5
[Doc]: refine logging doc ( #320 )
2022-06-21 14:55:21 +08:00
Alex Yang
5016332588
[Feat] support registering function ( #302 )
2022-06-14 14:50:24 +08:00
RangiLyu
70c4ea191f
[Refactor]: Modify val_interval and val_begin to be the attributes of TrainLoop. ( #274 )
...
* Modify val_interval and val_begin to be the attributes of TrainLoop.
* update doc
* fix lint
* type hint
2022-06-06 11:13:25 +08:00
RangiLyu
4705e1fe3d
[Enhance] Add RuntimeInfoHook to update runtime information. ( #254 )
...
* [Enhance] Add RuntimeInfoHook to update runtime information.
* move lr to runtime info
* docstring
* resolve comments
* update ut and doc
2022-05-26 14:35:37 +08:00
Haian Huang(深度眸)
c197bdf359
[Feature] Profiling tools ( #241 )
...
* Add profiling tools
* fix docstr
* fix docstr
* update
* fix bug
* update
* update
* fix error
* fix mypy
* uodate
* merge main
* fix UT
2022-05-25 10:55:07 +08:00
Jiazhen Wang
a976257ca9
[Enhance] Support Custom LogProcessor ( #251 )
...
* support custom log processor
* supplementary docs
* format code
2022-05-24 17:17:35 +08:00
RangiLyu
11688507ba
[Fix] Fix some bugs in hooks and runner. ( #242 )
...
* [Fix] Fix some bugs in hooks and runner.
* fix markdown
* fix latex formula
* resolve comments
2022-05-20 17:18:24 +08:00
Zaida Zhou
86ffc19c9c
Add pyupgrade pre-commit hook ( #232 )
...
* Add pyupgrade pre-commit hook
* fix ut
* remove comments
2022-05-19 17:56:31 +08:00
Zaida Zhou
f5867f8442
Replace markdownlint with mdformat to avoid installing ruby ( #233 )
...
* Replace markdownlint with mdformat to avoid installing ruby
* fix circleci
2022-05-17 20:52:22 +08:00
Tao Gong
92b94e8e60
[Docs] Add docs for custom dataset wrapper ( #222 )
...
* add docs for custom dataset wrapper
* Update basedataset.md
2022-05-10 15:14:39 +08:00
Mashiro
452b3656a1
[Fix] Fix dump config without self.filename ( #202 )
...
* fix config
* add docstring and unit test
* update tutorial
* update tutorial
* fix markdown format
* fix markdown format
2022-04-27 19:43:12 +08:00
Wenwei Zhang
3c8806e4c6
Add docs about get started ( #197 )
...
* add docs about get started
* refine
2022-04-26 13:56:23 +08:00
Mashiro
e0d00c5bdd
[Fix] resolve conflict betweem adapt and main. ( #198 )
...
* [Docs] Refine registry documentation (#186 )
* [Docs] Refine registry documentation
* reslove comments
* minor refinement
* Refine Visualizer docs (#177 )
* Refine Visualizer docs
* update
* update
* update featmap
* update docs
* update visualizer docs
* [Refactor] Refine LoggerHook (#155 )
* rename global accessible and intergration get_sintance and create_instance
* move ManagerMixin to utils
* fix as docstring and seporate get_instance to get_instance and get_current_instance
* fix lint
* fix docstring, rename and move test_global_meta
* rename LogBuffer to HistoryBuffer, rename MessageHub methods, MessageHub support resume
* refine MMLogger timestamp, update unit test
* MMLogger add logger_name arguments
* Fix docstring
* Add LogProcessor and some unit test
* update unit test
* complete LogProcessor unit test
* refine LoggerHook
* solve circle import
* change default logger_name to mmengine
* refactor eta
* Fix docstring comment and unitt test
* Fix with runner
* fix docstring
fix docstring
* fix docstring
* Add by_epoch attribute to LoggerHook and fix docstring
* Please mypy and fix comment
* remove \ in MMLogger
* Fix lint
* roll back pre-commit-hook
* Fix hook unit test
* Fix comments
* remove \t in log and add docstring
* Fix as comment
* should not accept other arguments if corresponding instance has been created
* fix logging ddp file saving
* fix logging ddp file saving
* move log processor to logging
* move log processor to logging
* remove current datalaoder
* fix docstring
* fix unit test
* add learing rate in messagehub
* Support output training/validation/testing message after iterations/epochs
* fix docstring
* Fix IterBasedRunner log string
* Fix IterBasedRunner log string
* Support parse validation loss in log processor
* [Enhancement] Add PolyParamScheduler, PolyMomentum and PolyLR (#188 )
* [Enhancement] Add PolyParamScheduler, PolyMomentum and PolyLR
* min_lr -> eta_min, refined docstr
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-04-26 00:37:16 +08:00
ZwwWayne
4f5c0cd273
Merge branch 'main' of github.com:open-mmlab/mmengine into adapt
2022-04-22 13:52:48 +08:00
Tao Gong
a3b8d4ea56
Refactor docs of basedataset ( #175 )
...
* refactor docs of basedataset
* fix ci
* fix comments
* fix comments
* fix comments
* fix comments
* fix comments
* set default value of ann_file to ''
* fix comments
2022-04-22 13:51:57 +08:00
ZwwWayne
ae3b857480
Merge branch 'adapt' of github.com:open-mmlab/mmengine into adapt
2022-04-22 13:48:14 +08:00
Yining Li
d2e4c6b683
[Doc] Update docs of metrics and evaluator ( #183 )
...
* update docs of metrics and evaluator
* rename file
* resolve comments
2022-04-22 13:02:04 +08:00
Zaida Zhou
53101a1ab1
[Docs] Refine hook documentation ( #181 )
...
* Modify hook documentation
* reslove comments
2022-04-20 13:28:26 +08:00
RangiLyu
ecf816e1e9
[Doc] Refine runner doc. ( #178 )
...
* [Doc] Refine runner doc.
* resolve comments
2022-04-20 13:26:47 +08:00
Mashiro
55713207b0
[Refactor] Refactor logging tutorial docs ( #179 )
...
* Refactor logging tutorial docs
* Add logging flow description
* fix docstring as comment
fix docstring as comment
* fix logging tutorial
2022-04-20 13:22:40 +08:00