百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SENet-Tensorflow

> 前端框架
开源

使用 Cifar10 实现"压缩和激励网络"的简单 Tensorflow 实现(ResNeXt、Inception-v4、Inception-resnet-v2)

756 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

使用 Cifar10 实现"压缩和激励网络"的简单 Tensorflow 实现(ResNeXt、Inception-v4、Inception-resnet-v2)

SENet-Tensorflow

Simple Tensorflow implementation of Squeeze Excitation Networks using Cifar10

I implemented the following SENet

  • ResNeXt paper
  • Inception-v4, Inception-resnet-v2 paper

If you want to see the original author's code, please refer to this link

Requirements

  • Tensorflow 1.x
  • Python 3.x
  • tflearn (If you are easy to use global average pooling, you should install tflearn)

Issue

Image_size

  • In paper, experimented with ImageNet
  • However, due to image size issues in Inception network, so I used zero padding for the Cifar10
input_x = tf.pad(input_x, [[0, 0], [32, 32], [32, 32], [0, 0]]) # size 32x32 -> 96x96

NOT ENOUGH GPU Memory

  • If not enough GPU memory, Please edit the code
with tf.Session() as sess : NO
with tf.Session(config=tf.ConfigProto(allow_soft_placement=True)) as sess : OK

Idea

What is the "SE block" ?

def Squeeze_excitation_layer(self, input_x, out_dim, ratio, layer_name):
    with tf.name_scope(layer_name) :
        squeeze = Global_Average_Pooling(input_x)

        excitation = Fully_connected(squeeze, units=out_dim / ratio, layer_name=layer_name+'_fully_connected1')
        excitation = Relu(excitation)
        excitation = Fully_connected(excitation, units=out_dim, layer_name=layer_name+'_fully_connected2')
        excitation = Sigmoid(excitation)

        excitation = tf.reshape(excitation, [-1,1,1,out_dim])

        scale = input_x * excitation

        return scale

How apply ? (Inception, Residual)

How "Reduction ratio" should I set?

  • original refers to ResNet-50

ImageNet Results

Benefits against Network Depth

Incorporation with Modern Architecture

Comparison with State-of-the-art

Cifar10 Results

Will be soon

Related works

  • Densenet-Tensorflow
  • ResNeXt-Tensorflow
  • ResNet-Tensorflow

Reference

  • Inception_korean

Author

Junho Kim

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythondensenetinceptioninception-resnetresnext

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架