Along with the release of OpenMMLab 2.0, MMOCR 1.0 made many significant changes, resulting in less redundant, more efficient code and a more consistent overall design. However, these changes break backward compatibility. We understand that with such huge changes, it is not easy for users familiar with the old version to adapt to the new version. Therefore, we prepared a detailed migration guide to make the transition as smooth as possible so that all users can enjoy the productivity benefits of the new MMOCR and the entire OpenMMLab 2.0 ecosystem.
MMOCR 1.0 depends on the new foundational library for training deep learning models MMEngine, and therefore has an entirely different dependency chain compared with MMOCR 0.x. Even if you have a well-rounded MMOCR 0.x environment before, you still need to create a new python environment for MMOCR 1.0. We provide a detailed installation guide for reference.
Next, please read the sections according to your requirements.
Read What’s new in MMOCR 1.x to learn about the new features and changes in MMOCR 1.x.
If you want to migrate a model trained in version 0.x to use it directly in version 1.0, please read Pretrained Model Migration.
As shown in the following figure, the maintenance plan of MMOCR 1.x version is mainly divided into three stages, namely “RC Period”, “Compatibility Period” and “Maintenance Period”. For old versions, we will no longer add major new features. Therefore, we strongly recommend users to migrate to MMOCR 1.x version as soon as possible.