Overview¶
This section introduce the following contents in terms of migration from MMEditing 0.x
New dependencies¶
MMEdit 1.x depends on some new packages, you can prepare a new clean environment and install again according to the install tutorial. Or install the below packages manually.
MMEngine: MMEngine is the core the OpenMMLab 2.0 architecture, and we splited many compentents unrelated to computer vision from MMCV to MMEngine.
MMCV: The computer vision package of OpenMMLab. This is not a new dependency, but you need to upgrade it to above 2.0.0rc0 version.
rich: A terminal formatting package, and we use it to beautify some outputs in the terminal.
Overall structures¶
We refactor overall structures in MMEdit 1.x as following.
The
core
in the old versions of MMEdit is split intoengine
,evaluation
,structures
, andvisualization
The
pipelines
ofdatasets
in the old versions of MMEdit is refactored totransforms
The
models
in MMedit 1.x is refactored to five parts:base_models
,data_preprocessors
,editors
,layers
andlosses
.
Other config settings¶
We rename config file to new template: {model_settings}_{module_setting}_{training_setting}_{datasets_info}
.
More details of config are shown in config guides.