Code Monkey home page Code Monkey logo

Comments (5)

wzd-fanshan avatar wzd-fanshan commented on June 4, 2024

仅对于VGG16的Flops计算,我们debug了一下,发现当卷积层时它每次进入的是“get_flops.py”文件中的第73-76行:
            delta_ops = layer.in_channels * (layer.out_channels-pruned_num) * layer.kernel_size[0] *  
                    layer.kernel_size[1] * out_h * out_w / layer.groups * multi_add
这句等号右边的第一项输入的channel个数是不是没考虑上一层剪枝后channel个数的删去量?不知是否是我理解有问题?

from hrank.

lmbxmu avatar lmbxmu commented on June 4, 2024

仅对于VGG16的Flops计算,我们debug了一下,发现当卷积层时它每次进入的是“get_flops.py”文件中的第73-76行:
            delta_ops = layer.in_channels * (layer.out_channels-pruned_num) * layer.kernel_size[0] *  
                    layer.kernel_size[1] * out_h * out_w / layer.groups * multi_add
这句等号右边的第一项输入的channel个数是不是没考虑上一层剪枝后channel个数的删去量?不知是否是我理解有问题?

这些问题我们在readme里都已经讲的很清楚了,请自行参考

from hrank.

wzd-fanshan avatar wzd-fanshan commented on June 4, 2024

好的好的,就是说hrank比论文中展示的还要优秀,感谢!

from hrank.

lmbxmu avatar lmbxmu commented on June 4, 2024

好的好的,就是说hrank比论文中展示的还要优秀,感谢!

参考 https://github.com/lmbxmu/HRankPlus

from hrank.

lyc728 avatar lyc728 commented on June 4, 2024

好的好的,就是说hrank比论文中展示的还要优秀,感谢!

参考 https://github.com/lmbxmu/HRankPlus

你好,可以直接对vgg训练好模型进行压缩吗?

from hrank.

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.