- Oct 18, 2022
-
-
jbwang1997 authored
* Update * Ensure max_iters being integer number
-
- Aug 24, 2022
-
-
Mashiro authored
* [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
-
Zaida Zhou authored
* 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
-
- Aug 21, 2022
-
-
Mashiro authored
-
- Aug 19, 2022
-
-
Mashiro authored
* Support build evaluator from list of built metric * regist evaluator * fix as comment * add unit test
-
- Aug 02, 2022
-
-
Mashiro authored
* Fix resume message hub and save metainfo in messagehub * fix as comment
-
- Jul 30, 2022
-
-
RangiLyu authored
-
- Jun 30, 2022
-
-
Cedric Luo authored
* support dynamic interval in iterbasedtrainloop * update typehint * update typehint * add dynamic interval in epochbasedtrainloop * update * fix Co-authored-by:
luochunhua.vendor <luochunhua@pjlab.org.cn>
-
- Jun 22, 2022
-
-
Mashiro authored
* add autocast wrapper * fix docstring * fix docstring * fix compare version * fix unit test * fix incompatible arguments * fix as comment * fix unit test * rename auto_cast to autocast
-
- Jun 14, 2022
-
-
RangiLyu authored
-
- Jun 13, 2022
-
-
Mashiro authored
* merge context * update unit test * add docstring * fix bug in AmpOptimWrapper * add docstring for backward * add warning and docstring for accumuate gradient * fix docstring * fix docstring * add params_group method * fix as comment * fix as comment * make default_value of loss_scale to dynamic * Fix docstring * decouple should update and should no sync * rename attribute in OptimWrapper * fix docstring * fix comment * fix comment * fix as comment * fix as comment and add unit test
-
- Jun 07, 2022
-
-
Mashiro authored
* add base model, ddp model and unit test * add unit test * fix unit test * fix docstring * fix cpu unit test * refine base data preprocessor * refine base data preprocessor * refine interface of ddp module * remove optimizer hook * add forward * fix as comment * fix unit test * fix as comment * fix build optimizer wrapper * rebase main and fix unit test * stack_batch support stacking ndim tensor, add docstring for merge dict * fix lint * fix test loop * make precision_context effective to data_preprocessor * fix as comment * fix as comment * refine docstring * change collate_data output typehints * rename to_rgb to bgr_to_rgb and rgb_to_bgr * support build basemodel with built DataPreprocessor * fix as comment * fix docstring
-
RangiLyu authored
-
- Jun 06, 2022
-
-
RangiLyu authored
* Modify val_interval and val_begin to be the attributes of TrainLoop. * update doc * fix lint * type hint
-
- May 27, 2022
-
-
Jingwei Zhang authored
* add the epoch/iter that begins validating * fix lint * add property and fix unit test * minor changes * fix typos and add unit test * add unit test about begin * fix docstring
-
- May 26, 2022
-
-
RangiLyu authored
* [Enhance] Add RuntimeInfoHook to update runtime information. * move lr to runtime info * docstring * resolve comments * update ut and doc
-
- May 18, 2022
-
-
RangiLyu authored
* [Enhance] Make loop related attributes to be runner's properties. * move iter and epoch to loop * resolve comments
-
- Apr 21, 2022
-
-
Mashiro authored
* 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 * change default logger_name to mmengine * Fix docstring comment and unitt test * fix docstring fix docstring * fix docstring * Fix lint * Fix hook unit test * Fix comments * should not accept other arguments if corresponding instance has been created * fix logging ddp file saving * fix logging ddp file saving * fix docstring * fix unit test * fix docstring as comment
-
Mashiro authored
* automatic update iter and epoch in message_hub * add docstring * Update comment and docstring * Fix as comment * Fix docstring and comment * refine comments
-
- Apr 15, 2022
-
-
liukuikun authored
* [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>
-
- Apr 08, 2022
-
-
RangiLyu authored
* [Refactor] Refactor data_batch type. * fix sampler * [Refactor] Remove cur_dataloader in runner. * fix set_epoch
-
- Apr 01, 2022
-
-
RangiLyu authored
* [Refactor] Refactor Evaluator to Metric. * update * fix lint * fix doc * fix lint * resolve comments * resolve comments * remove collect_device from evaluator * rename
-
- Mar 31, 2022
-
-
liukuikun authored
* [Enhancement] refactor base data elment * fix comment * fix comment * fix pop not existing key without error
-
- Mar 29, 2022
-
-
RangiLyu authored
* [Refactor] Add batch_idx to hook input. * update
-
- Mar 14, 2022
-
-
Zaida Zhou authored
* [Feature] Add Runner and Loop * refine docstring * refine docstring * refine __init__ of Runner * add Runner.save_checkpoint * add comment for data_batch * rename validation_cfg to val_cfg * update branch * update branch * discard wear reference * set seed for torch in dataloader worker * refine comments * reorder methods * import module in __init__.py * add runner.load_checkpoint * rename attributes * fix indent * fix indent * add comment for LOOPS * add example for methods * add example for methods * refine examples * add Runner.resume and refactor register_hooks * remove type hint of runner in CheckpointHook * rename before_run to before_train * remove collate * add before_run after_run for loop.run * dummy collate_fn * add more unit tests * move call_hook('before_run') to runner * minor fix * add comments for collate_fn * fix type hint * refactor logic to load or resume checkpoint * fix typo * add comments for IterBasedTrainLoop * refactor unit tests * fix unit tests * refactor * fix setup_env * refine * minor fix * Merge branch 'main' of github.com:open-mmlab/mmengine into zzd/add-runner * minor fix * minor fix * refine * refactor unit tests * fix unit tests * add launcher property * add logger, message_hub and writer unit tests * add cur_dataloader attribute for runner * fix IterBasedTrainLoop * add torch.no_grad decorator * add master_only decorator for save_checkpoint * add before_test_epoch in TestLoop * refactor load_or_resume method * refine docstring * fix typo * build_dataloader can handle dataset object * add dump_config for runner * collate_fn should not a lambda function * minor fix * refine docstring * fix unit tests * improve comments * refine unit tests * rename collate_fn to pseduo_collate * add 'TODO' tag
-