MMEngine Release V0.4.0
Highlights
- Registry supports importing modules automatically
- Upgrade the documentation and provide the English documentation
- Provide
ProfileHook
to profile the running process
New Features & Enhancements
- Add
conf_path
in PetrelBackend by @sunyc11 in #774 - Support multiple
--cfg-options
. by @mzr1996 in #759 - Support passing arguments to
OptimWrapper.update_params
by @twmht in #796 - Make
get_torchvision_model
compatible with torch 1.13 by @HAOCHENYE in #793 - Support
flat_decay_mult
and fixbias_decay_mult
of depth-wise-conv inDefaultOptimWrapperConstructor
by @RangiLyu in #771 - Registry supports importing modules automatically. by @RangiLyu in #643
- Add profiler hook functionality by @BayMaxBHL in #768
- Make TTAModel compatible with FSDP. by @HAOCHENYE in #611
Bug Fixes
hub.get_model
fails on some MMCls models by @C1rN09 in #784- Fix
BaseModel.to
andBaseDataPreprocessor.to
to make them consistent withtorch.nn.Module
by @C1rN09 in #783 - Fix creating a new logger at PretrainedInit by @xiexinch in #791
- Fix
ZeroRedundancyOptimizer
ambiguous error with param groups when PyTorch < 1.12.0 by @C1rN09 in #818 - Fix MessageHub set resumed key repeatedly by @HAOCHENYE in #839
- Add
progress
argument toload_from_http
by @austinmw in #770 - Ensure metrics is not empty when saving best checkpoint by @zhouzaida in #849
Docs
- Add
contributing.md
by @HAOCHENYE in #754 - Add gif to 15 min tutorial by @HAOCHENYE in #748
- Refactor documentations and translate them to English by @zhouzaida in #786
- Fix document link by @MambaWong in #775
- Fix typos in EN
contributing.md
by @RangeKing in #792 - Translate data transform docs. by @mzr1996 in #737
- Replace markdown table with html table by @HAOCHENYE in #800
- Fix wrong example in
Visualizer.draw_polygons
by @lyviva in #798 - Fix docstring format and rescale the images by @zhouzaida in #802
- Fix failed link in registry by @zhouzaida in #811
- Fix typos by @shanmo in #814
- Fix wrong links and typos in docs by @shanmo in #815
- Translate
save_gpu_memory.md
by @xin-li-67 in #803 - Translate the documentation of hook design by @zhouzaida in #780
- Fix docstring format by @zhouzaida in #816
- Translate
registry.md
by @xin-li-67 in #817 - Update docstring of
BaseDataElement
by @Xiangxu-0103 in #836 - Fix typo by @Xiangxu-0103 in #841
- Update docstring of
structures
by @Xiangxu-0103 in #840 - Translate
optim_wrapper.md
by @xin-li-67 in #833 - Fix link error in initialize tutorial. by @HAOCHENYE in #843
- Fix table in
initialized.md
by @HAOCHENYE in #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
New Contributors
- @sunyc11 made their first contribution in #774
- @RangeKing made their first contribution in #792
- @lyviva made their first contribution in #798
- @twmht made their first contribution in #796
- @shanmo made their first contribution in #814
- @xiexinch made their first contribution in #791
Full Changelog: v0.3.2...v0.4.0