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
古月闻星
980243018f
[Fix] fix runner docs ( #495 )
...
* [Fix] fix the typo
* [Fix] add the missing argument
2022-08-31 18:59:25 +08:00
Mashiro
fbd31d2041
[Docs] Refine config docs. ( #432 )
...
* tmp commit
* refine docstring
* minor refine
* fix as comment
* add tutorial for merge_from_dict
* minor refine
* minor refine
* export md by jupyter
* temp add ipnb
* refine the docs
* remote ipynb
* fix as comment
* add change _base_.variable
* Fix as comment
* minor refine
* Fix as comment
* Fix as comment
* minor refine
2022-08-30 18:39:19 +08:00
Mashiro
260d332a8e
[Docs] Add model docs ( #416 )
...
* first commit
* tmp commit
* tmp commit
* tmp
* finish base module
* tmp commit
* tmp commit
* first finish
* minor refine
* clean the code
* delete design
* refine
* minor refine
* fix as comment
* fix as comment
* refine from jupyter notebook
* minor refine
* split model.md to model.md and initialize.md
* minor refine
* minor refine
* make link availiable
* fix as chengqi comment
* fix as chengqi comment
* fix link
* fix as wenwei comment
* Fix as comment
* Fix as comment
* Fix lint
2022-08-30 18:36:20 +08:00
Ma Zerun
7a75d6d582
[Docs] Add data transform tutorials ( #455 )
...
* [Docs] Add data transform tutorials
* Rename `RandomMultiscaleResize` to `RandomChocieResize`.
* Imporve according to comments
* Add general data pipeline description.
2022-08-30 18:32:51 +08:00
Zaida Zhou
3f5e08fa4a
[Docs] Make API of docs clearer ( #469 )
...
* [Docs] Make API of docs clearer
* minor fix
* fix md format
2022-08-30 16:27:20 +08:00
Mashiro
9728b6aaef
[Docs] Simpify logging tutorials ( #452 )
...
* simpify logging tutorials
* minor refine
* minor refine
* refine index.rst
* fix as comment
* add description of by_epoch
* add log processor description
* minor refine
* minor refine
* Fix as comment
* Fix as comment
2022-08-30 16:22:15 +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
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
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
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
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
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
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
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
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
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
Wenwei Zhang
7367df7ea7
Update docs of data element ( #180 )
...
* refine docs of data element
* update
* resolve comments
2022-04-20 13:16:31 +08:00
liukuikun
5f8f36e6a5
refactor visualization ( #147 )
...
* [WIP] add inline
* refactor vis module
* [Refactor] according review
* [Fix] fix comment
* fix some error
* Get sub visualizer be Visualizer.get_instance
* fix conflict
* fix lint
* fix unit test
* fix mypy
* fix comment
* fix lint
* update docstr
* update
* update instancedata
* remove replace __mro__ with issubclass
Co-authored-by: PJLAB\huanghaian <1286304229@qq.com>
Co-authored-by: HAOCHENYE <21724054@zju.edu.cn>
2022-04-15 15:56:06 +08:00
RangiLyu
2d80367893
[Refactor] Refactor Evaluator to Metric. ( #152 )
...
* [Refactor] Refactor Evaluator to Metric.
* update
* fix lint
* fix doc
* fix lint
* resolve comments
* resolve comments
* remove collect_device from evaluator
* rename
2022-04-01 15:06:38 +08:00
RangiLyu
25014af3c3
[Refactor] Refactor default_scope in Registry. ( #158 )
2022-04-01 09:13:55 +08:00
liukuikun
7e246b6f65
[Enhancement] refactor base data element ( #143 )
...
* [Enhancement] refactor base data elment
* fix comment
* fix comment
* fix pop not existing key without error
2022-03-31 18:21:45 +08:00