← 开源
ShichenLiu

CondenseNet

CondenseNet: Light weighted CNN for mobile devices

Model DevelopmentArchitecturePython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
690
Star
128
Fork
+0
本周
4
贡献者
创建于 2017-09-26 · 更新于 2026-07-20 · 今日第 14957 名
主要开发者
ShichenLiulvdmaatengaohuang

ShichenLiu/CondenseNet 排名第 14,957,有 690 个星标。

同类别比较

ShichenLiu/CondenseNet 排名第 14,957,此处有 8 个同类条目;maxpumperla/betago 排名第 14,959。

同类别比较
名称排名指标
philipperemy/FX-1-Minute-Data14,950
语言:
Python
星标数:
691
分叉数:
172
简介:
HISTDATA - Dataset composed of all FX trading pairs / Crude Oil / Stock Indexes. Simple API to retrieve 1 Minute data (and tick data) Historical FX Prices (up to date).
rizkiarm/LipNet14,951
语言:
Python
星标数:
691
分叉数:
244
简介:
Keras implementation of 'LipNet: End-to-End Sentence-level Lipreading'
vanderschaarlab/synthcity14,953
语言:
Python
星标数:
691
分叉数:
99
简介:
A library for generating and evaluating synthetic tabular data for privacy, fairness and data augmentation.
x4nth055/emotion-recognition-using-speech14,954
语言:
Python
星标数:
691
分叉数:
252
简介:
Building and training Speech Emotion Recognizer that predicts human emotions using Python, Sci-kit learn and Keras
maxpumperla/betago14,959
语言:
Python
星标数:
690
分叉数:
164
简介:
BetaGo: AlphaGo for the masses, live on GitHub.
NVIDIA-RTX/RTXNTC14,963
语言:
C++
星标数:
689
分叉数:
49
简介:
NVIDIA Neural Texture Compression SDK
Yijunmaverick/CartoonGAN-Test-Pytorch-Torch14,965
语言:
Python
星标数:
689
分叉数:
202
简介:
Pytorch and Torch testing code of CartoonGAN [Chen et al., CVPR18]
dCaples/AutoDidact14,966
语言:
Jupyter Notebook
星标数:
689
分叉数:
64
简介:
Autonomously train research-agent LLMs on custom data using reinforcement learning and self-verification.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture
关键词Computer vision
星标数690
分叉数128
贡献者4
创建日期2017-09-26
更新日期2026-07-20
1 天星标数0
7 天星标数0
排名14,957
上次排名14,788
排名变化-169
7 天星标排名14,738
上次 7 天星标排名14,749
7 天星标排名变化11
总星标排名15,046
上次总星标排名15,021
总星标排名变化-25
国家USA
README 摘录

CondenseNets This repository contains the code (in PyTorch) for "CondenseNet: An Efficient DenseNet using Learned Group Convolutions" paper by Gao Huang\*, Shichen Liu\*, Laurens van der Maaten and Kilian Weinberger (* Authors contributed equally). Citation If you find our project useful in your research, please consider citing: Contents 1. Contacts Introduction CondenseNet is a novel, computationally efficient convolutional network architecture. It combines dense connectivity between layers with a mechanism to remove unused connections. The dense connectivity facilitates feature re-use in

the network, whereas learned group convolutions remove connections between layers for which this feature re-use is superfluous. Our experiments demonstrate that CondenseNets are much more efficient than other compact convolutional networks such as MobileNets and ShuffleNets. Figure 1: Learned Group Convolution with G=C=3. Figure 2: CondenseNets with Fully Dense Connectivity and Increasing Growth Rate. 0) ImageNet Train As an example, use the following command to train a CondenseNet on ImageNet As another example, use the following command

to train a CondenseNet on CIFAR-10 Evaluation We take the ImageNet model trained above as an example. To evaluate the trained model, use to evaluate from the default checkpoint directory: or use to evaluate from an arbitrary path: Note that these models are still the large models. To convert the model to group-convolution version as described in the paper, use the function: Finally, to directly load from a converted model (that is, a CondenseNet), use a **converted model

file** in combination with the option: Other Options We also include DenseNet implementation in this repository. For more examples of usage, please refer to script. sh For detailed options, please Results Results on ImageNet | Model | FLOPs | Params | Top-1 Err. 69M) | | CondenseNet-74 (C=G=8) | 274M | 2. 96 | | CondenseNet-74 (C=G=4) | 529M | 26. 89 | | CondenseNet-74 (C=G=8) | 274M | 29. com We are working on the implementation on other frameworks. Any discussions or concerns are welcomed

!

常见问题

记录了多少星标和分叉?

ShichenLiu/CondenseNet 有 690 个星标和 128 个分叉。

仓库排名是多少?

ShichenLiu/CondenseNet 排名第 14,957。

记录的语言和类别是什么?

ShichenLiu/CondenseNet 有 690 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

ShichenLiu/CondenseNet 与 maxpumperla/betago 比较,后者排名第 14,959,有 690 个星标。

README

CondenseNets

This repository contains the code (in PyTorch) for "CondenseNet: An Efficient DenseNet using Learned Group Convolutions" paper by Gao Huang*, Shichen Liu*, Laurens van der Maaten and Kilian Weinberger (* Authors contributed equally).

Citation

If you find our project useful in your research, please consider citing:

@inproceedings{huang2018condensenet,
  title={Condensenet: An efficient densenet using learned group convolutions},
  author={Huang, Gao and Liu, Shichen and Van der Maaten, Laurens and Weinberger, Kilian Q},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  pages={2752--2761},
  year={2018}
}

Contents

  1. Introduction
  2. Usage
  3. Results
  4. Discussions
  5. Contacts

Introduction

CondenseNet is a novel, computationally efficient convolutional network architecture. It combines dense connectivity between layers with a mechanism to remove unused connections. The dense connectivity facilitates feature re-use in the network, whereas learned group convolutions remove connections between layers for which this feature re-use is superfluous. At test time, our model can be implemented using standard grouped convolutions —- allowing for efficient computation in practice. Our experiments demonstrate that CondenseNets are much more efficient than other compact convolutional networks such as MobileNets and ShuffleNets.

Figure 1: Learned Group Convolution with G=C=3.

Figure 2: CondenseNets with Fully Dense Connectivity and Increasing Growth Rate.

Usage

Dependencies

Train

As an example, use the following command to train a CondenseNet on ImageNet

python main.py --model condensenet -b 256 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0,1,2,3,4,5,6,7 --resume

As another example, use the following command to train a CondenseNet on CIFAR-10

python main.py --model condensenet -b 64 -j 12 cifar10 \
--stages 14-14-14 --growth 8-16-32 --gpu 0 --resume

Evaluation

We take the ImageNet model trained above as an example.

To evaluate the trained model, use evaluate to evaluate from the default checkpoint directory:

python main.py --model condensenet -b 64 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0 --resume \
--evaluate

or use evaluate-from to evaluate from an arbitrary path:

python main.py --model condensenet -b 64 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0 --resume \
--evaluate-from /PATH/TO/BEST/MODEL

Note that these models are still the large models. To convert the model to group-convolution version as described in the paper, use the convert-from function:

python main.py --model condensenet -b 64 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0 --resume \
--convert-from /PATH/TO/BEST/MODEL

Finally, to directly load from a converted model (that is, a CondenseNet), use a converted model file in combination with the evaluate-from option:

python main.py --model condensenet_converted -b 64 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0 --resume \
--evaluate-from /PATH/TO/CONVERTED/MODEL

Other Options

We also include DenseNet implementation in this repository.
For more examples of usage, please refer to script.sh
For detailed options, please python main.py --help

Results

Results on ImageNet

Model FLOPs Params Top-1 Err. Top-5 Err. Pytorch Model
CondenseNet-74 (C=G=4) 529M 4.8M 26.2 8.3 Download (18.69M)
CondenseNet-74 (C=G=8) 274M 2.9M 29.0 10.0 Download (11.68M)

Results on CIFAR

Model FLOPs Params CIFAR-10 CIFAR-100
CondenseNet-50 28.6M 0.22M 6.22 -
CondenseNet-74 51.9M 0.41M 5.28 -
CondenseNet-86 65.8M 0.52M 5.06 23.64
CondenseNet-98 81.3M 0.65M 4.83 -
CondenseNet-110 98.2M 0.79M 4.63 -
CondenseNet-122 116.7M 0.95M 4.48 -
CondenseNet-182* 513M 4.2M 3.76 18.47

(* trained 600 epochs)

Inference time on ARM platform

Model FLOPs Top-1 Time(s)
VGG-16 15,300M 28.5 354
ResNet-18 1,818M 30.2 8.14
1.0 MobileNet-224 569M 29.4 1.96
CondenseNet-74 (C=G=4) 529M 26.2 1.89
CondenseNet-74 (C=G=8) 274M 29.0 0.99

Contact

liushichen95@gmail.com
gh349@cornell.com

We are working on the implementation on other frameworks.
Any discussions or concerns are welcomed!

排名相邻
同类项目