【开源】三行代码对pytorch模型进行剪枝压缩
pytorch-Autoslim2.0
A pytorch toolkit for structured neural network pruning automatically
完全自动化的模型剪枝工具
代码地址:
https://github.com/coldlarry/Pytorch-Auto-Slim-Tools
1 Introduction 项目介绍
① Architecture 系统架构
用户层:人人都会用的剪枝工具,仅需二行代码即可完成全自动化剪枝
中间层:提供统一接口,让开发者可以自己封装SOTA剪枝算法,不断更新工具
系统底层:自动分析网络结构并构建剪枝关系
2 Support 支持度
① Supported Models 支持的模型
模型类型 |
|
|
---|---|---|
分类模型 | √ | AlexNet,VGG,ResNet系列等 |
检测 |