Git Product home page Git Product logo

Comments (3)

PiseyYou avatar PiseyYou commented on July 23, 2024

if the auther has already test the result, can you upload the result, and there are more information can discuss which can lead to the results we want.

from yolov3-channel-pruning.

PiseyYou avatar PiseyYou commented on July 23, 2024

in @talebolano code, the prune rule is:

python prune.py --cfg yolov3.cfg --weights checkpoints/yolov3_sparsity_100.weights --percent 0.3

the --percent 0.3 is following, I wonder whether this it the suitable value, or more test result.

from yolov3-channel-pruning.

violet17 avatar violet17 commented on July 23, 2024

It is the same...... This parameter is " --s 0.01" is the default parameter in the code.

The prune rule is (1)避免剪掉所有channel的最高阈值(每个BN层的gamma的最大值的最小值即为阈值上限)
(2)剪枝的时候会先对 bias 做处理,用其后的卷积层或者 BN 层来吸收这个参数,然后再将权重赋值给 compact model,
这样做的话就能保证 pruned_model (只对 weight 置 0 的模型)和 Compact_model 对相同的输入有相同的输出

The prune ratio mainly depend on the application.

from yolov3-channel-pruning.

Related Issues (13)

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.