Changelog of v0.x¶
v0.4.0 (12/28/2022)¶
Highlights¶
Registry supports importing modules automatically
Upgrade the documentation and provide the English documentation
Provide
ProfileHookto profile the running process
New Features & Enhancements¶
Add
conf_pathin PetrelBackend by @sunyc11 in https://github.com/open-mmlab/mmengine/pull/774Support multiple
--cfg-options. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/759Support passing arguments to
OptimWrapper.update_paramsby @twmht in https://github.com/open-mmlab/mmengine/pull/796Make
get_torchvision_modelcompatible with torch 1.13 by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/793Support
flat_decay_multand fixbias_decay_multof depth-wise-conv inDefaultOptimWrapperConstructorby @RangiLyu in https://github.com/open-mmlab/mmengine/pull/771Registry supports importing modules automatically. by @RangiLyu in https://github.com/open-mmlab/mmengine/pull/643
Add profiler hook functionality by @BayMaxBHL in https://github.com/open-mmlab/mmengine/pull/768
Make TTAModel compatible with FSDP. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/611
Bug Fixes¶
hub.get_modelfails on some MMCls models by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/784Fix
BaseModel.toandBaseDataPreprocessor.toto make them consistent withtorch.nn.Moduleby @C1rN09 in https://github.com/open-mmlab/mmengine/pull/783Fix creating a new logger at PretrainedInit by @xiexinch in https://github.com/open-mmlab/mmengine/pull/791
Fix
ZeroRedundancyOptimizerambiguous error with param groups when PyTorch < 1.12.0 by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/818Fix MessageHub set resumed key repeatedly by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/839
Add
progressargument toload_from_httpby @austinmw in https://github.com/open-mmlab/mmengine/pull/770Ensure metrics is not empty when saving best checkpoint by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/849
Docs¶
Add
contributing.mdby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/754Add gif to 15 min tutorial by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/748
Refactor documentations and translate them to English by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/786
Fix document link by @MambaWong in https://github.com/open-mmlab/mmengine/pull/775
Fix typos in EN
contributing.mdby @RangeKing in https://github.com/open-mmlab/mmengine/pull/792Translate data transform docs. by @mzr1996 in https://github.com/open-mmlab/mmengine/pull/737
Replace markdown table with html table by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/800
Fix wrong example in
Visualizer.draw_polygonsby @lyviva in https://github.com/open-mmlab/mmengine/pull/798Fix docstring format and rescale the images by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/802
Fix failed link in registry by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/811
Fix typos by @shanmo in https://github.com/open-mmlab/mmengine/pull/814
Fix wrong links and typos in docs by @shanmo in https://github.com/open-mmlab/mmengine/pull/815
Translate
save_gpu_memory.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/803Translate the documentation of hook design by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/780
Fix docstring format by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/816
Translate
registry.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/817Update docstring of
BaseDataElementby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/836Fix typo by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/841
Update docstring of
structuresby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/840Translate
optim_wrapper.mdby @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/833Fix link error in initialize tutorial. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/843
Fix table in
initialized.mdby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/844
Contributors¶
A total of 16 developers contributed to this release. Thanks @BayMaxBHL, @RangeKing, @Xiangxu-0103, @xin-li-67, @twmht, @shanmo, @sunyc11, @lyviva, @austinmw, @xiexinch, @mzr1996, @RangiLyu, @MambaWong, @C1rN09, @zhouzaida, @HAOCHENYE
v0.3.2 (11/24/2022)¶
New Features & Enhancements¶
Send git errors to subprocess.PIPE by @austinmw in https://github.com/open-mmlab/mmengine/pull/717
Add a common
TestRunnerTestCaseto build a Runner instance. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/631Align the log by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/436
Log the called order of hooks during training process by @songyuc in https://github.com/open-mmlab/mmengine/pull/672
Support setting
eta_min_ratioinCosineAnnealingParamSchedulerby @cir7 in https://github.com/open-mmlab/mmengine/pull/725Enhance compatibility of
revert_sync_batchnormby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/695
Bug Fixes¶
Fix
distributed_training.pyin examples by @PingHGao in https://github.com/open-mmlab/mmengine/pull/700Format the log of
CheckpointLoader.load_checkpointby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/685Fix bug of CosineAnnealingParamScheduler by @fangyixiao18 in https://github.com/open-mmlab/mmengine/pull/735
Fix
add_graphis not called bug by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/632Fix .pre-commit-config-zh-cn.yaml pyupgrade-repo github->gitee by @BayMaxBHL in https://github.com/open-mmlab/mmengine/pull/756
Docs¶
Add English docs of BaseDataset by @GT9505 in https://github.com/open-mmlab/mmengine/pull/713
Fix
BaseDatasettypo about lazy initialization by @MengzhangLI in https://github.com/open-mmlab/mmengine/pull/733Fix typo by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/734
Translate visualization docs by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/692
v0.3.1 (11/09/2022)¶
Highlights¶
Fix error when saving best checkpoint in ddp-training
New Features & Enhancements¶
Replace
printwithprint_logfor those functions called by runner by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/686
Bug Fixes¶
Fix error when saving best checkpoint in ddp-training by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/682
Docs¶
Refine Chinese tutorials by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/694
Add MMEval in README by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/669
Fix error URL in runner docstring by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/668
Fix error evaluator type name in
evaluator.mdby @sanbuphy in https://github.com/open-mmlab/mmengine/pull/675Fix typo in
utils.md@sanbuphy in https://github.com/open-mmlab/mmengine/pull/702
v0.3.0 (11/02/2022)¶
New Features & Enhancements¶
Support running on Ascend chip by @wangjiangben-hw in https://github.com/open-mmlab/mmengine/pull/572
Support torch
ZeroRedundancyOptimizerby @nijkah in https://github.com/open-mmlab/mmengine/pull/551Add non-blocking feature to
BaseDataPreprocessorby @shenmishajing in https://github.com/open-mmlab/mmengine/pull/618Add documents for
clip_grad, and support clip grad by value. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/513Add ROCm info when collecting env by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/633
Add a function to mark the deprecated function. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/609
Call
register_all_modulesinRegistry.get()by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/541Deprecate
_save_to_state_dictimplemented in mmengine by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/610Add
ignore_keysin ConcatDataset by @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/556
Docs¶
Fix cannot show
changelog.mdin chinese documents. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/606Fix Chinese docs whitespaces by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/521
Translate installation and 15_min by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/629
Refine chinese doc by @Tau-J in https://github.com/open-mmlab/mmengine/pull/516
Add MMYOLO link in README by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/634
Add MMEngine logo in docs by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/641
Fix docstring of
BaseDatasetby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/656Fix docstring and documentation used for
hub.get_modelby @zengyh1900 in https://github.com/open-mmlab/mmengine/pull/659Fix typo in
docs/zh_cn/advanced_tutorials/visualization.mdby @MambaWong in https://github.com/open-mmlab/mmengine/pull/616Fix typo docstring of
DefaultOptimWrapperConstructorby @triple-Mu in https://github.com/open-mmlab/mmengine/pull/644Fix typo in advanced tutorial by @cxiang26 in https://github.com/open-mmlab/mmengine/pull/650
Fix typo in
Configdocstring by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/654Fix typo in
docs/zh_cn/tutorials/config.mdby @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/596Fix typo in
docs/zh_cn/tutorials/model.mdby @C1rN09 in https://github.com/open-mmlab/mmengine/pull/598
Bug Fixes¶
Fix error calculation of
eta_mininCosineRestartParamSchedulerby @Z-Fran in https://github.com/open-mmlab/mmengine/pull/639Fix
BaseDataPreprocessor.cast_datacould not handle string data by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/602Make
autocastcompatible with mps by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/587Fix error format of log message by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/508
Fix error implementation of
is_model_wrapperby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/640Fix
VisBackend.add_configis not called by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/613Change
strict_loadof EMAHook to False by default by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/642Fix
openencoding problem of Config in Windows by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/648Fix the total number of iterations in log is a float number. by @jbwang1997 in https://github.com/open-mmlab/mmengine/pull/604
Fix
pip upgradeCI by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/622
New Contributors¶
@shenmishajing made their first contribution in https://github.com/open-mmlab/mmengine/pull/618
@Xiangxu-0103 made their first contribution in https://github.com/open-mmlab/mmengine/pull/596
@Tau-J made their first contribution in https://github.com/open-mmlab/mmengine/pull/516
@wangjiangben-hw made their first contribution in https://github.com/open-mmlab/mmengine/pull/572
@triple-Mu made their first contribution in https://github.com/open-mmlab/mmengine/pull/644
@sanbuphy made their first contribution in https://github.com/open-mmlab/mmengine/pull/648
@Z-Fran made their first contribution in https://github.com/open-mmlab/mmengine/pull/639
@BIGWangYuDong made their first contribution in https://github.com/open-mmlab/mmengine/pull/556
@zengyh1900 made their first contribution in https://github.com/open-mmlab/mmengine/pull/659
v0.2.0 (11/10/2022)¶
New Features & Enhancements¶
Add SMDDP backend and support running on AWS by @austinmw in https://github.com/open-mmlab/mmengine/pull/579
Refactor
FileIObut without breaking bc by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/533Add test time augmentation base model by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/538
Use
torch.lerp\_()to speed up EMA by @RangiLyu in https://github.com/open-mmlab/mmengine/pull/519Support converting
BNtoSyncBNby config by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/506Support defining metric name in wandb backend by @okotaku in https://github.com/open-mmlab/mmengine/pull/509
Add dockerfile by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/347
Docs¶
Fix API files of English documentation by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/525
Fix typo in
instance_data.pyby @Dai-Wenxun in https://github.com/open-mmlab/mmengine/pull/530Fix the docstring of the model sub-package by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/573
Fix a spelling error in docs/zh_cn by @cxiang26 in https://github.com/open-mmlab/mmengine/pull/548
Fix typo in docstring by @MengzhangLI in https://github.com/open-mmlab/mmengine/pull/527
Update
config.mdby @Zhengfei-0311 in https://github.com/open-mmlab/mmengine/pull/562
Bug Fixes¶
Fix
LogProcessordoes not smooth loss if the name of loss doesn’t start withlossby @liuyanyi in https://github.com/open-mmlab/mmengine/pull/539Fix failed to enable
detect_anomalous_paramsinMMSeparateDistributedDataParallelby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/588Fix CheckpointHook behavior unexpected if given
filename_tmplargument by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/518Fix error argument sequence in
FSDPby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/520Fix uploading image in wandb backend @okotaku in https://github.com/open-mmlab/mmengine/pull/510
Fix loading state dictionary in
EMAHookby @okotaku in https://github.com/open-mmlab/mmengine/pull/507Fix circle import in
EMAHookby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/523Fix unit test could fail caused by
MultiProcessTestCaseby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/535Remove unnecessary “if statement” in
Registryby @MambaWong in https://github.com/open-mmlab/mmengine/pull/536Fix
_save_to_state_dictby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/542Support comparing NumPy array dataset meta in
Runner.resumeby @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/511Use
getinstead ofpopto dumprunner_typeinbuild_runner_from_cfgby @nijkah in https://github.com/open-mmlab/mmengine/pull/549Upgrade pre-commit hooks by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/576
Delete the error comment in
registry.mdby @vansin in https://github.com/open-mmlab/mmengine/pull/514Fix Some out-of-date unit tests by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/586
Fix typo in
MMFullyShardedDataParallelby @yhna940 in https://github.com/open-mmlab/mmengine/pull/569Update Github Action CI and CircleCI by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/512
Fix unit test in windows by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/515
Fix merge ci & multiprocessing unit test by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/529
New Contributors¶
@okotaku made their first contribution in https://github.com/open-mmlab/mmengine/pull/510
@MengzhangLI made their first contribution in https://github.com/open-mmlab/mmengine/pull/527
@MambaWong made their first contribution in https://github.com/open-mmlab/mmengine/pull/536
@cxiang26 made their first contribution in https://github.com/open-mmlab/mmengine/pull/548
@nijkah made their first contribution in https://github.com/open-mmlab/mmengine/pull/549
@Zhengfei-0311 made their first contribution in https://github.com/open-mmlab/mmengine/pull/562
@austinmw made their first contribution in https://github.com/open-mmlab/mmengine/pull/579
@yhna940 made their first contribution in https://github.com/open-mmlab/mmengine/pull/569
@liuyanyi made their first contribution in https://github.com/open-mmlab/mmengine/pull/539