Coder Social home page Coder Social logo

Comments (3)

tanluren avatar tanluren commented on June 15, 2024 2

稀疏训练中只是对bn层的gamma进行L1正则化,达到压缩效果,但是beta没有进行压缩,它经过激活函数后会输入到下一层卷积,并且对下一层卷积的输出有影响,如果剪掉了某个通道,就会导致由beta引起的激活偏移值,并且参与剪枝的层和通道越多,产生的偏差越大,直接影响了模型的输出,所以需要将偏移值传递到下一层的bn running mean或者conv bias中。这个问题在shortcut中更加复杂,需要进行连续的传递。

from yolov3-channel-and-layer-pruning.

tanluren avatar tanluren commented on June 15, 2024

看稀疏情况的,有时0.01比0.1剪枝后的精度更高,它可能对应了更合理的结构,去掉了冗余的甚至是不利于精度的权重,可以下载我分享的cfg和权重剪剪试下。你也可以观察下剪枝后的cfg,哪些位置被剪的多,哪些剪得少。

from yolov3-channel-and-layer-pruning.

MiniBullLab avatar MiniBullLab commented on June 15, 2024

在SlimYOLOv3中提到“在本项目中还对激活偏移值添加了处理,降低剪枝时的精度损失”,这个怎么理解

from yolov3-channel-and-layer-pruning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.