- Oct 18, 2022
-
-
Mashiro authored
* [Fix] Make autocast compatible with mps * Enhance unit test * fix unit test * clean the code * fix unit test
-
- Oct 10, 2022
-
-
Mashiro authored
* 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
-
- Sep 15, 2022
-
-
Mashiro authored
* [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
-
- Sep 13, 2022
-
-
Mashiro authored
-
- 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 18, 2022
-
-
Mashiro authored
-
- Aug 17, 2022
-
-
Mashiro authored
* support build optimizer wrapper from built Optimizer instance * refine comments
-
- Aug 15, 2022
-
-
Zaida Zhou authored
* [Enhancement] Add unit test for get_priority * fix priority ut * fix typo Co-authored-by:
Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
-
- Aug 13, 2022
-
-
Mashiro authored
-
- Aug 11, 2022
-
-
Mashiro authored
* support training with data without metainfo * clean the code * clean the code
-
- Aug 09, 2022
-
-
Ma Zerun authored
* [Enhance] Add `preprocess_cfg` as an argument of runner. * Rename `preprocess_cfg` to `data_preprocessor` * Fix docstring
-
- Aug 08, 2022
-
-
Mashiro authored
* add build function for scheduler * add unit test add unit test * handle convert_to_iter in build_scheduler_from_cfg * restore deleted code * format import * fix lint
-
Mashiro authored
* fix build multiple scheduler * add new unit test * fix comment and error message * fix comment and error message * extract _parse_scheduler_cfg * always call build_param_scheduler during train and resume. If there is only one optimizer, the defaut value for sheduler will be a list, otherwise there is multiple optimizer, the default value of sheduler will be a dict * minor refine * rename runner test exp name * fix as comment * minor refine * fix ut * only check parameter scheduler * minor refine
-
- Aug 04, 2022
-
-
Mashiro authored
* make scheduler default to None * fix bc breaking * refine warning message * fix as comment * fix as comment * fix lint
-
- Jul 19, 2022
-
-
RangiLyu authored
* [Fix] Fix weight initializing and registry logging. * sync params * resolve comments
-
- Jul 15, 2022
-
-
Ma Zerun authored
* [Enhance] Auto set the `end` of param schedulers. * Add log output and unit test * Update docstring * Update unit tests of `CosineAnnealingParamScheduler`.
-
- Jul 14, 2022
-
-
Mashiro authored
* fix resume message_hub * add unit test * support resume from messagehub * minor refine * add comment * fix typo * update docstring
-
- Jul 05, 2022
-
-
Mashiro authored
* fix build multiple runner error * fix comments * fix cpu ci
-
- 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 29, 2022
-
-
Mashiro authored
* fix unit test of autocast * fix compatiblity of unit test of optimizerwrapper * clean code * fix as comment * fix docstring
-
- Jun 24, 2022
-
-
Yuan Liu authored
* [Feature]: Set different seed for diff rank * [Feature]: Add log * [Fix]: Fix lint * [Fix]: Fix docstring * [Fix]: Fix sampler seed * [Fix]: Fix log bug * [Fix]: Change diff_seed to diff_rank_seed * [Fix]: Fix lint
-
- Jun 22, 2022
-
-
Alex Yang authored
* [Feat] Support revert syncbn * use logger.info but not warning * fix info string
-
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
-
Alex Yang authored
* [Feat] Support save best ckpt * reformat code * rename function and reformat code * fix logging info
-
- Jun 17, 2022
-
-
Mashiro authored
* [Enhance] dump messagehub in runner.resume * delete unnecessary code * delete debugging code Co-authored-by:
imabackstabber <312276423@qq.com>
-
Jiazhen Wang authored
* support resume from ceph * move func and refine * delete symlink * fix unittest * perserve _allow_symlink and symlink
-
- 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
-
Mashiro authored
* fix build train_loop during test * fix build train_loop during test * fix build train_loop during test * fix build train_loop during test * Fix as comment
-
- Jun 10, 2022
-
-
Alex Yang authored
* [Feat]:support customizing evaluator * fix keyname of determining using default evaluator or not * add assertion * fix typo
-
- Jun 09, 2022
-
-
jbwang1997 authored
* Replace auto_scale_lr_cfg to auto_scale_lr * Update
-
- 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
-
jbwang1997 authored
-
- Jun 06, 2022
-
-
jbwang1997 authored
* Add auto scale lr fucntion * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update Co-authored-by:
wangjiabao1.vendor <wangjiabao@pjlab.org.cn>
-
Jiazhen Wang authored
* support custom runner * change build_runner_from_cfg * refine docstring * refine docstring
-
RangiLyu authored
* Modify val_interval and val_begin to be the attributes of TrainLoop. * update doc * fix lint * type hint
-