2021-04-26 13:58:18 +08:00
|
|
|
|
<div align="center">
|
|
|
|
|
<img src="resources/mmcls-logo.png" width="600"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
[English](/README.md) | 简体中文
|
|
|
|
|
|
|
|
|
|
[](https://github.com/open-mmlab/mmclassification/actions)
|
|
|
|
|
[](https://mmclassification.readthedocs.io/en/latest/?badge=latest)
|
|
|
|
|
[](https://codecov.io/gh/open-mmlab/mmclassification)
|
|
|
|
|
[](https://github.com/open-mmlab/mmclassification/blob/master/LICENSE)
|
|
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
|
2021-06-03 16:49:53 +08:00
|
|
|
|
MMClassification 是一款基于 PyTorch 的开源图像分类工具箱,是 [OpenMMLab](https://openmmlab.com/) 项目的成员之一
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
2021-06-03 16:49:53 +08:00
|
|
|
|
参考文档:https://mmclassification.readthedocs.io/en/latest/
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
### 主要特性
|
|
|
|
|
|
|
|
|
|
- 支持多样的主干网络与预训练模型
|
|
|
|
|
- 支持配置多种训练技巧
|
|
|
|
|
- 大量的训练配置文件
|
|
|
|
|
- 高效率和高可扩展性
|
|
|
|
|
|
|
|
|
|
## 许可证
|
|
|
|
|
|
|
|
|
|
该项目开源自 [Apache 2.0 license](LICENSE).
|
|
|
|
|
|
|
|
|
|
## 更新日志
|
|
|
|
|
|
2021-10-29 14:04:03 +08:00
|
|
|
|
2021/10/29 发布了 v0.17.0 版本
|
|
|
|
|
|
|
|
|
|
新版本的一些新功能如下:
|
|
|
|
|
- 支持了 **Tokens-to-Token ViT** 主干网络和 **Res2Net** 主干网络,欢迎使用!
|
|
|
|
|
- 支持了 **ImageNet21k** 数据集
|
|
|
|
|
- 添加了一个**可视化数据预处理**的工具,可以参考[教程](https://mmclassification.readthedocs.io/zh_CN/latest/tools/visualization.html#id2)使用
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
发布历史和更新细节请参考 [更新日志](docs/changelog.md)
|
|
|
|
|
|
|
|
|
|
## 基准测试及模型库
|
|
|
|
|
|
2021-06-03 16:49:53 +08:00
|
|
|
|
相关结果和模型可在 [model zoo](docs/model_zoo.md) 中获得
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
支持的主干网络:
|
|
|
|
|
|
2021-11-17 18:12:54 +08:00
|
|
|
|
- [x] VGG
|
2021-04-26 13:58:18 +08:00
|
|
|
|
- [x] ResNet
|
|
|
|
|
- [x] ResNeXt
|
|
|
|
|
- [x] SE-ResNet
|
|
|
|
|
- [x] SE-ResNeXt
|
|
|
|
|
- [x] RegNet
|
|
|
|
|
- [x] ShuffleNetV1
|
|
|
|
|
- [x] ShuffleNetV2
|
|
|
|
|
- [x] MobileNetV2
|
|
|
|
|
- [x] MobileNetV3
|
2021-07-01 09:30:42 +08:00
|
|
|
|
- [x] Swin-Transformer
|
2021-11-17 18:12:54 +08:00
|
|
|
|
- [x] RepVGG
|
|
|
|
|
- [x] Vision-Transformer
|
|
|
|
|
- [x] Transformer-in-Transformer
|
|
|
|
|
- [x] Res2Net
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
|
|
|
|
请参考 [安装指南](docs_zh-CN/install.md) 进行安装
|
|
|
|
|
|
|
|
|
|
## 基础教程
|
|
|
|
|
|
2021-11-17 18:12:54 +08:00
|
|
|
|
请参考 [基础教程](docs_zh-CN/getting_started.md) 来了解 MMClassification 的基本使用。MMClassification 也提供了其他更详细的教程:
|
|
|
|
|
|
|
|
|
|
- [如何编写配置文件](docs_zh-CN/tutorials/config.md)
|
|
|
|
|
- [如何微调模型](docs_zh-CN/tutorials/finetune.md)
|
|
|
|
|
- [如何增加新数据集](docs_zh-CN/tutorials/new_dataset.md)
|
|
|
|
|
- [如何设计数据处理流程](/docs_zh-CN/tutorials/data_pipeline.md)
|
|
|
|
|
- [如何增加新模块](docs_zh-CN/tutorials/new_modules.md)
|
|
|
|
|
- [如何自定义优化策略](tutorials/schedule.md)
|
|
|
|
|
- [如何自定义运行参数](tutorials/runtime.md)
|
|
|
|
|
|
|
|
|
|
MMClassification 也提供了相应的中文 Colab 教程。了解 MMClassification Python API,可以查看 [这里](https://github.com/open-mmlab/mmclassification/blob/master/docs_zh-CN/tutorials/MMClassification_python_cn.ipynb) 或者直接在 Colab 上 [运行](https://colab.research.google.com/github/open-mmlab/mmclassification/blob/master/docs_zh-CN/tutorials/MMClassification_python_cn.ipynb)。了解 MMClassification 命令行工具,可以查看 [这里](https://github.com/open-mmlab/mmclassification/blob/master/docs_zh-CN/tutorials/MMClassification_tools_cn.ipynb) 或者直接在 Colab 上 [运行](https://colab.research.google.com/github/open-mmlab/mmclassification/blob/master/docs_zh-CN/tutorials/MMClassification_tools_cn.ipynb)。
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
## 参与贡献
|
|
|
|
|
|
2021-09-28 18:05:50 +08:00
|
|
|
|
我们非常欢迎任何有助于提升 MMClassification 的贡献,请参考 [贡献指南](docs_zh-CN/community/CONTRIBUTING.md) 来了解如何参与贡献。
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
## 致谢
|
|
|
|
|
|
|
|
|
|
MMClassification 是一款由不同学校和公司共同贡献的开源项目。我们感谢所有为项目提供算法复现和新功能支持的贡献者,以及提供宝贵反馈的用户。
|
|
|
|
|
|
|
|
|
|
我们希望该工具箱和基准测试可以为社区提供灵活的代码工具,供用户复现现有算法并开发自己的新模型,从而不断为开源社区提供贡献。
|
|
|
|
|
|
|
|
|
|
## OpenMMLab 的其他项目
|
|
|
|
|
|
|
|
|
|
- [MMCV](https://github.com/open-mmlab/mmcv): OpenMMLab 计算机视觉基础库
|
2021-07-27 17:58:04 +08:00
|
|
|
|
- [MIM](https://github.com/open-mmlab/mim): MIM 是 OpenMMlab 项目、算法、模型的统一入口
|
2021-04-26 13:58:18 +08:00
|
|
|
|
- [MMDetection](https://github.com/open-mmlab/mmdetection): OpenMMLab 检测工具箱与测试基准
|
2021-06-03 16:49:53 +08:00
|
|
|
|
- [MMDetection3D](https://github.com/open-mmlab/mmdetection3d): OpenMMLab 新一代通用 3D 目标检测平台
|
2021-04-26 13:58:18 +08:00
|
|
|
|
- [MMSegmentation](https://github.com/open-mmlab/mmsegmentation): OpenMMLab 语义分割工具箱与测试基准
|
|
|
|
|
- [MMAction2](https://github.com/open-mmlab/mmaction2): OpenMMLab 新一代视频理解工具箱与测试基准
|
|
|
|
|
- [MMTracking](https://github.com/open-mmlab/mmtracking): OpenMMLab 一体化视频目标感知平台
|
|
|
|
|
- [MMPose](https://github.com/open-mmlab/mmpose): OpenMMLab 姿态估计工具箱与测试基准
|
|
|
|
|
- [MMEditing](https://github.com/open-mmlab/mmediting): OpenMMLab 图像视频编辑工具箱
|
|
|
|
|
- [MMOCR](https://github.com/open-mmlab/mmocr): OpenMMLab 全流程文字检测识别理解工具包
|
|
|
|
|
- [MMGeneration](https://github.com/open-mmlab/mmgeneration): OpenMMLab 生成模型工具箱
|
|
|
|
|
|
|
|
|
|
## 欢迎加入 OpenMMLab 社区
|
|
|
|
|
|
2021-08-05 17:51:53 +08:00
|
|
|
|
扫描下方的二维码可关注 OpenMMLab 团队的 [知乎官方账号](https://www.zhihu.com/people/openmmlab),加入 OpenMMLab 团队的 [官方交流 QQ 群](https://jq.qq.com/?_wv=1027&k=GJP18SjI)
|
2021-04-26 13:58:18 +08:00
|
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
|
<img src="/docs/imgs/zhihu_qrcode.jpg" height="400" /> <img src="/docs/imgs/qq_group_qrcode.jpg" height="400" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
我们会在 OpenMMLab 社区为大家
|
|
|
|
|
|
|
|
|
|
- 📢 分享 AI 框架的前沿核心技术
|
|
|
|
|
- 💻 解读 PyTorch 常用模块源码
|
|
|
|
|
- 📰 发布 OpenMMLab 的相关新闻
|
|
|
|
|
- 🚀 介绍 OpenMMLab 开发的前沿算法
|
|
|
|
|
- 🏃 获取更高效的问题答疑和意见反馈
|
|
|
|
|
- 🔥 提供与各行各业开发者充分交流的平台
|
|
|
|
|
|
|
|
|
|
干货满满 📘,等你来撩 💗,OpenMMLab 社区期待您的加入 👬
|