diff --git a/README.md b/README.md index 158709e74aa61e45b7b0c48edf28d7d068641497..6cee1ee88850aeee27d24d9f4b39fa44aaa973ff 100644 --- a/README.md +++ b/README.md @@ -329,21 +329,21 @@ This project is released under the [Apache 2.0 license](LICENSE). - [MIM](https://github.com/open-mmlab/mim): MIM installs OpenMMLab packages. - [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab foundational library for computer vision. - [MMEval](https://github.com/open-mmlab/mmeval): A unified evaluation library for multiple machine learning libraries. -- [MMClassification](https://github.com/open-mmlab/mmclassification): OpenMMLab image classification toolbox and benchmark. +- [MMPreTrain](https://github.com/open-mmlab/mmpretrain): OpenMMLab pre-training toolbox and benchmark. +- [MMagic](https://github.com/open-mmlab/mmagic): Open**MM**Lab **A**dvanced, **G**enerative and **I**ntelligent **C**reation toolbox. - [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab detection toolbox and benchmark. +- [MMYOLO](https://github.com/open-mmlab/mmyolo): OpenMMLab YOLO series toolbox and benchmark. - [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab's next-generation platform for general 3D object detection. - [MMRotate](https://github.com/open-mmlab/mmrotate): OpenMMLab rotated object detection toolbox and benchmark. -- [MMYOLO](https://github.com/open-mmlab/mmyolo): OpenMMLab YOLO series toolbox and benchmark. +- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab video perception toolbox and benchmark. +- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab pose estimation toolbox and benchmark. - [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab semantic segmentation toolbox and benchmark. - [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab text detection, recognition, and understanding toolbox. -- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab pose estimation toolbox and benchmark. - [MMHuman3D](https://github.com/open-mmlab/mmhuman3d): OpenMMLab 3D human parametric model toolbox and benchmark. - [MMSelfSup](https://github.com/open-mmlab/mmselfsup): OpenMMLab self-supervised learning toolbox and benchmark. -- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab model compression toolbox and benchmark. - [MMFewShot](https://github.com/open-mmlab/mmfewshot): OpenMMLab fewshot learning toolbox and benchmark. - [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab's next-generation action understanding toolbox and benchmark. -- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab video perception toolbox and benchmark. - [MMFlow](https://github.com/open-mmlab/mmflow): OpenMMLab optical flow toolbox and benchmark. -- [MMEditing](https://github.com/open-mmlab/mmediting): OpenMMLab image and video editing toolbox. -- [MMGeneration](https://github.com/open-mmlab/mmgeneration): OpenMMLab image and video generative models toolbox. - [MMDeploy](https://github.com/open-mmlab/mmdeploy): OpenMMLab model deployment framework. +- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab model compression toolbox and benchmark. +- [Playground](https://github.com/open-mmlab/playground): A central hub for gathering and showcasing amazing projects built upon OpenMMLab. diff --git a/README_zh-CN.md b/README_zh-CN.md index fc30d856aa7708e307af14172e8ffca6bff6a911..34127d72e8990f0c54da079c35677604409d207c 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -327,26 +327,26 @@ runner.train() ## OpenMMLab 的其他项目 - [MIM](https://github.com/open-mmlab/mim): MIM 是 OpenMMLab 项目ã€ç®—法ã€æ¨¡åž‹çš„ç»Ÿä¸€å…¥å£ -- [MMCV](https://github.com/open-mmlab/mmcv/tree/dev-2.x): OpenMMLab 计算机视觉基础库 +- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab 计算机视觉基础库 - [MMEval](https://github.com/open-mmlab/mmeval): 统一开放的跨框架算法评测库 -- [MMClassification](https://github.com/open-mmlab/mmclassification/tree/dev-1.x): OpenMMLab 图åƒåˆ†ç±»å·¥å…·ç®± -- [MMDetection](https://github.com/open-mmlab/mmdetection/tree/dev-3.x): OpenMMLab ç›®æ ‡æ£€æµ‹å·¥å…·ç®± -- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d/tree/dev-1.x): OpenMMLab 新一代通用 3D ç›®æ ‡æ£€æµ‹å¹³å° -- [MMRotate](https://github.com/open-mmlab/mmrotate/tree/dev-1.x): OpenMMLab 旋转框检测工具箱与测试基准 +- [MMPreTrain](https://github.com/open-mmlab/mmpretrain): OpenMMLab 深度å¦ä¹ 预è®ç»ƒå·¥å…·ç®± +- [MMagic](https://github.com/open-mmlab/mmagic): OpenMMLab 新一代人工智能内容生æˆï¼ˆAIGC)工具箱 +- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab ç›®æ ‡æ£€æµ‹å·¥å…·ç®± - [MMYOLO](https://github.com/open-mmlab/mmyolo): OpenMMLab YOLO 系列工具箱与测试基准 -- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation/tree/dev-1.x): OpenMMLab è¯ä¹‰åˆ†å‰²å·¥å…·ç®± -- [MMOCR](https://github.com/open-mmlab/mmocr/tree/dev-1.x): OpenMMLab å…¨æµç¨‹æ–‡å—检测识别ç†è§£å·¥å…·åŒ… -- [MMPose](https://github.com/open-mmlab/mmpose/tree/dev-1.x): OpenMMLab 姿æ€ä¼°è®¡å·¥å…·ç®± +- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab 新一代通用 3D ç›®æ ‡æ£€æµ‹å¹³å° +- [MMRotate](https://github.com/open-mmlab/mmrotate): OpenMMLab 旋转框检测工具箱与测试基准 +- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab ä¸€ä½“åŒ–è§†é¢‘ç›®æ ‡æ„ŸçŸ¥å¹³å° +- [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab å…¨æµç¨‹æ–‡å—检测识别ç†è§£å·¥å…·åŒ… +- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab è¯ä¹‰åˆ†å‰²å·¥å…·ç®± +- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab 姿æ€ä¼°è®¡å·¥å…·ç®± - [MMHuman3D](https://github.com/open-mmlab/mmhuman3d): OpenMMLab 人体å‚数化模型工具箱与测试基准 -- [MMSelfSup](https://github.com/open-mmlab/mmselfsup/tree/dev-1.x): OpenMMLab 自监ç£å¦ä¹ 工具箱与测试基准 -- [MMRazor](https://github.com/open-mmlab/mmrazor/tree/dev-1.x): OpenMMLab 模型压缩工具箱与测试基准 +- [MMSelfSup](https://github.com/open-mmlab/mmselfsup): OpenMMLab 自监ç£å¦ä¹ 工具箱与测试基准 - [MMFewShot](https://github.com/open-mmlab/mmfewshot): OpenMMLab å°‘æ ·æœ¬å¦ä¹ 工具箱与测试基准 -- [MMAction2](https://github.com/open-mmlab/mmaction2/tree/dev-1.x): OpenMMLab 新一代视频ç†è§£å·¥å…·ç®± -- [MMTracking](https://github.com/open-mmlab/mmtracking/tree/dev-1.x): OpenMMLab ä¸€ä½“åŒ–è§†é¢‘ç›®æ ‡æ„ŸçŸ¥å¹³å° -- [MMFlow](https://github.com/open-mmlab/mmflow/tree/dev-1.x): OpenMMLab å…‰æµä¼°è®¡å·¥å…·ç®±ä¸Žæµ‹è¯•åŸºå‡† -- [MMEditing](https://github.com/open-mmlab/mmediting/tree/dev-1.x): OpenMMLab 图åƒè§†é¢‘编辑工具箱 -- [MMGeneration](https://github.com/open-mmlab/mmgeneration/tree/dev-1.x): OpenMMLab 图片视频生æˆæ¨¡åž‹å·¥å…·ç®± +- [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab 新一代视频ç†è§£å·¥å…·ç®± +- [MMFlow](https://github.com/open-mmlab/mmflow): OpenMMLab å…‰æµä¼°è®¡å·¥å…·ç®±ä¸Žæµ‹è¯•åŸºå‡† - [MMDeploy](https://github.com/open-mmlab/mmdeploy): OpenMMLab 模型部署框架 +- [MMRazor](https://github.com/open-mmlab/mmrazor): OpenMMLab 模型压缩工具箱与测试基准 +- [Playground](https://github.com/open-mmlab/playground): 收集和展示 OpenMMLab 相关的å‰æ²¿ã€æœ‰è¶£çš„社区项目 ## æ¬¢è¿ŽåŠ å…¥ OpenMMLab 社区 diff --git a/docs/en/advanced_tutorials/registry.md b/docs/en/advanced_tutorials/registry.md index d0b032bcf6c9de2a2a7b565319286aa4ed716c8c..52e40463e18a9f3267a185a434a046940c405187 100644 --- a/docs/en/advanced_tutorials/registry.md +++ b/docs/en/advanced_tutorials/registry.md @@ -1,6 +1,6 @@ # Registry -OpenMMLab supports a rich collection of algorithms and datasets, therefore, many modules with similar functionality are implemented. For example, the implementations of `ResNet` and `SE-ResNet` are based on the classes `ResNet` and `SEResNet`, respectively, which have similar functions and interfaces and belong to the model components of the algorithm library. To manage these functionally similar modules, MMEngine implements the [registry](mmengine.registry.Registry). Most of the algorithm libraries in OpenMMLab use `registry` to manage their modules, including [MMDetection](https://github.com/open-mmlab/mmdetection), [MMDetection3D](https://github.com/open-mmlab/mmdetection3d), [MMPretrain](https://github.com/open-mmlab/mmpretrain) and [MMEditing](https://github.com/open-mmlab/mmediting), etc. +OpenMMLab supports a rich collection of algorithms and datasets, therefore, many modules with similar functionality are implemented. For example, the implementations of `ResNet` and `SE-ResNet` are based on the classes `ResNet` and `SEResNet`, respectively, which have similar functions and interfaces and belong to the model components of the algorithm library. To manage these functionally similar modules, MMEngine implements the [registry](mmengine.registry.Registry). Most of the algorithm libraries in OpenMMLab use `registry` to manage their modules, including [MMDetection](https://github.com/open-mmlab/mmdetection), [MMDetection3D](https://github.com/open-mmlab/mmdetection3d), [MMPretrain](https://github.com/open-mmlab/mmpretrain) and [MMagic](https://github.com/open-mmlab/MMagic), etc. ## What is a registry diff --git a/docs/zh_cn/advanced_tutorials/registry.md b/docs/zh_cn/advanced_tutorials/registry.md index 3dd65e514e0b8080da115f13c1e2242eaeeee79c..f44b9d534b747dd765bf146d9a57eafe6a0cf69e 100644 --- a/docs/zh_cn/advanced_tutorials/registry.md +++ b/docs/zh_cn/advanced_tutorials/registry.md @@ -1,6 +1,6 @@ # 注册器(Registry) -OpenMMLab 的算法库支æŒäº†ä¸°å¯Œçš„算法和数æ®é›†ï¼Œå› æ¤å®žçŽ°äº†å¾ˆå¤šåŠŸèƒ½ç›¸è¿‘的模å—。例如 ResNet å’Œ SE-ResNet 的算法实现分别基于 `ResNet` å’Œ `SEResNet` 类,这些类有相似的功能和接å£ï¼Œéƒ½å±žäºŽç®—法库ä¸çš„模型组件。为了管ç†è¿™äº›åŠŸèƒ½ç›¸ä¼¼çš„模å—,MMEngine 实现了 [注册器](mmengine.registry.Registry)。OpenMMLab 大多数算法库å‡ä½¿ç”¨æ³¨å†Œå™¨æ¥ç®¡ç†å®ƒä»¬çš„代ç 模å—,包括 [MMDetection](https://github.com/open-mmlab/mmdetection), [MMDetection3D](https://github.com/open-mmlab/mmdetection3d),[MMPretrain](https://github.com/open-mmlab/mmpretrain) å’Œ [MMEditing](https://github.com/open-mmlab/mmediting) ç‰ã€‚ +OpenMMLab 的算法库支æŒäº†ä¸°å¯Œçš„算法和数æ®é›†ï¼Œå› æ¤å®žçŽ°äº†å¾ˆå¤šåŠŸèƒ½ç›¸è¿‘的模å—。例如 ResNet å’Œ SE-ResNet 的算法实现分别基于 `ResNet` å’Œ `SEResNet` 类,这些类有相似的功能和接å£ï¼Œéƒ½å±žäºŽç®—法库ä¸çš„模型组件。为了管ç†è¿™äº›åŠŸèƒ½ç›¸ä¼¼çš„模å—,MMEngine 实现了 [注册器](mmengine.registry.Registry)。OpenMMLab 大多数算法库å‡ä½¿ç”¨æ³¨å†Œå™¨æ¥ç®¡ç†å®ƒä»¬çš„代ç 模å—,包括 [MMDetection](https://github.com/open-mmlab/mmdetection), [MMDetection3D](https://github.com/open-mmlab/mmdetection3d),[MMPretrain](https://github.com/open-mmlab/mmpretrain) å’Œ [MMagic](https://github.com/open-mmlab/mmagic) ç‰ã€‚ ## 什么是注册器 diff --git a/mmengine/config/utils.py b/mmengine/config/utils.py index 6e03a93ba5110c26243e1433c6406f971d08d1fa..a967bb3691a7428c7b9e5611be700af8e53a9ffa 100644 --- a/mmengine/config/utils.py +++ b/mmengine/config/utils.py @@ -27,6 +27,7 @@ MODULE2PACKAGE = { 'mmselfsup': 'mmselfsup', 'mmyolo': 'mmyolo', 'mmpretrain': 'mmpretrain', + 'mmagic': 'mmagic', } # PKG2PROJECT is not a proper name to represent the mapping between module name