- Apr 20, 2023
-
-
Mashiro authored
* [Fix] Only reserve one best checkpoint * [Fix] Only reserve one best checkpoint * Fix unit test * shutdown logging * clean the save_checkpoint logic
-
- Apr 12, 2023
-
-
t chan authored
-
- Apr 10, 2023
- Mar 30, 2023
-
-
Mashiro authored
* [Enhance] Make sure the FileHandler still alive after * Resume filter * avoid bc * Fix unit test * clean the code * revert changes and set mode from 'm' to 'a' * mode to file_mode * add comments * refine comments * Fix duplicated the
-
- Mar 29, 2023
-
-
Zaida Zhou authored
-
- Mar 17, 2023
-
-
LEFTeyes authored
-
- Mar 12, 2023
-
-
Qian Zhao authored
* enable compile configurations to support torch.compile in Runner * enable compilation in train, val and test * fix as comments * add docstring to illustrate usage * minor refine error message * add unittests * fix ut skip * add logging message to inform users * compile `train_step`, `val_step`, `test_step` instead * fix as comments * revert to compile `train_step` only due to pt2 issue * add documentation about torch.compile
-
- Mar 08, 2023
-
-
Mashiro authored
* [Enhancement] Add FUNCTIONS Registry * Refine as comment * clean the code
-
- Mar 06, 2023
-
-
Mashiro authored
* Replace warning with print_log * Add comments for testing warning
-
- Feb 27, 2023
-
-
Zaida Zhou authored
-
- Feb 23, 2023
-
-
Zaida Zhou authored
-
- Feb 21, 2023
-
-
Mashiro authored
* Add epoch 2 iter * Add epoch 2 iter * Refine chinese docs * Add example for training CIFAR10 by iter * minor refine * Fix as comment * Fix as comment * Refine description * Fix as comment * minor refine * Refine description Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Translate to en * Adjust indent --------- Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Feb 19, 2023
-
-
wxDai authored
-
- Feb 13, 2023
-
-
Zaida Zhou authored
* Fix docstring * fix
-
- Feb 08, 2023
-
-
Qian Zhao authored
* add ZeroOptimizer to optim * resolve `duplicate label` warnings * upgrade docutils && shpinx to resolve `unknown directive or role` warnings * fix typo * resolve literal_block && heading warnings * resolve json literal_block warnings * resolve python literal_block warnings * resolve bunches of reference warnings * resolve bunches of docstring warnings * resolve warnings in autosummary * resolve remaining warnings in en docs * resolve heading warnings in zh_cn docs * resolve remaining warnings in zh_cn docs * fix as comments * fix as comments
-
- Feb 03, 2023
-
-
Alexander Pacha authored
* Adding missing pre-commit requirement to tests.txt * Added support for setting a timeout for distributed learning * Adding documentation about how to change the runtime timeout into the distributed manual. * Fixed type in documentation to correctly specify an integer * Removing type-cast after checking the correct type already before * Update mmengine/dist/utils.py Adding an explicit `is not None` to the check Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Removing explicit type check and replacing it with more pythonic way of assuming it is the right type and handling the exception if the type doesn't match. * Removing pre-commit from test requirements again * Simplified the code according to suggestions from PR * Update distributed.md --------- Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- Jan 16, 2023
-
-
Mashiro authored
* Disable warning of subprocess launched by dataloader * Add type hint
-
- Dec 23, 2022
-
-
RangiLyu authored
* [Feature] Support registry auto import modules. * update * rebase and fix ut * add docstring * remove count_registered_modules * update docstring * resolve comments * resolve comments * rename ut * fix warning * avoid BC breaking * update doc * update doc * resolve comments
-
- Nov 22, 2022
-
-
songyuc authored
* Add test of get_hooks_info() * Change to use original Runner for get_hook_info() test * Change to test after_train_iter hooks for get_hook_info() * Complement the stages list * Add logging hooks information in Runner.__init__() * Rearrange the stages list * Restore the stages to tuple type * Clean the unnecessary changes * Replace statement with TestCase's methods * add test stages in method_stages_map * change the hooks info into a f-string * return list(trigger_stages) directly * change keys of method_stages_map * Fix previous changes to method_stages_map.keys
-
- Nov 17, 2022
-
-
Zaida Zhou authored
-
- Nov 03, 2022
-
-
Mashiro authored
* [Fix]Fix error URL in runner docstring * [Fix]Fix error URL in runner docstring * clean the code
-
- Oct 24, 2022
-
-
shenmishajing authored
* fix add_config func is not called bug fix wandb add_config bug add wandb log_code feature * move log_code_name param to the last one add log_code_name param to docstring * add config only when there is a cfg Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add unit test for log_code_name param of WandbVisBackend * Update mmengine/visualization/vis_backend.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * use log_code_kwargs instead of only log_code_name add PATH_FILTERS registry * use log_code_kwargs instead of only log_code_name add PATH_FILTERS registry * fix add config unit test * roll back to log_code_name version Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 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 26, 2022
-
-
Zaida Zhou authored
* [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
-
- Sep 22, 2022
-
-
Mashiro authored
* [Fix] Support compare numpy array dataset meta * Add comment
-
- 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
-
- Aug 26, 2022
- 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 23, 2022
-
-
Zaida Zhou authored
* [Refactor] Refactor the import rule * minor refinement * add a comment
-
- Aug 19, 2022
-
-
Mashiro authored
* Support build evaluator from list of built metric * regist evaluator * fix as comment * add unit test
-
- Aug 17, 2022
-
-
Mashiro authored
* support build optimizer wrapper from built Optimizer instance * refine comments
-
- Aug 16, 2022
-
-
Mashiro authored
* make default scope of runner be mmengine * fix as comment
-
- Aug 11, 2022
- 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
* Support log enviroment information when initiate runner * Fix unit test * fix as comment, save world_size * log gpu num * clear code and reformat log * minor refine * fix as comment * minor refine * clean the code * clean the code * remove save world_size in meta
-
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
-