Giter VIP home page Giter VIP logo

Comments (7)

ethanhe42 avatar ethanhe42 commented on September 13, 2024
  1. A common practice is to merge batchnorm into conv when inference
  2. ResNet has only 1 pooling layer.
  3. 2X is in terms of FLOPs, not GPU real time

from channel-pruning.

eeric avatar eeric commented on September 13, 2024

@yihui-he
1.merge batchnorm into conv when inference
--answer: The maximum increase was 10% in speed.
2.2X is in terms of FLOPs, not GPU real time,
--problem: how about your paper to practice?

from channel-pruning.

ethanhe42 avatar ethanhe42 commented on September 13, 2024

We only compared GPU acceleration on VGG-16.

from channel-pruning.

eeric avatar eeric commented on September 13, 2024

So it was not suit to ResNet to prune.

from channel-pruning.

ethanhe42 avatar ethanhe42 commented on September 13, 2024

from channel-pruning.

eeric avatar eeric commented on September 13, 2024

yes, It should be full rank.

from channel-pruning.

bbjy avatar bbjy commented on September 13, 2024

@eeric Hi,you said that "yes, It should be full rank.",do you mean the rankdic in code should be set as the same as the output channel of the resnet? Or how should I change it for resnet? Thank you so much!
In the author's the code for vgg the rankdic is as follows:
rankdic = {'conv1_1': 17,
'conv1_2': 17,
'conv2_1': 37,
'conv2_2': 47,
'conv3_1': 83,
'conv3_2': 89,
'conv3_3': 106,
'conv4_1': 175,
'conv4_2': 192,
'conv4_3': 227,
'conv5_1': 398,
'conv5_2': 390,
'conv5_3': 379}

from channel-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.