GithubHelp home page GithubHelp logo

Comments (6)

iamhankai avatar iamhankai commented on June 2, 2024

Thanks for your remind. I'll fix it soon. The tensorflow version is the standard version (https://github.com/iamhankai/ghostnet).

from ghostnet.pytorch.

iamhankai avatar iamhankai commented on June 2, 2024

In addition, there is another bug: the kernel size in self.shortcut = nn.Sequential( depthwise_conv(inp, inp, 3, stride, relu=True), nn.Conv2d(inp, oup, 1, 1, 0, bias=False), nn.BatchNorm2d(oup), should be set as kernel_size.

from ghostnet.pytorch.

glenn-jocher avatar glenn-jocher commented on June 2, 2024

@iamhankai has this bug #21 (comment) been fixed in the code? Last update to ghost_net.py says two months ago but your comment is more recent.

If not can you point to where to make the change?

from ghostnet.pytorch.

glenn-jocher avatar glenn-jocher commented on June 2, 2024

@hurri2000 @iamhankai I've submitted #23 to fix #21 (comment),

For the kernel size replacement, do you mean

depthwise_conv(inp, inp, 3, stride, relu=True),

should be this?
depthwise_conv(inp, inp, kernel_size, stride, relu=False)

from ghostnet.pytorch.

glenn-jocher avatar glenn-jocher commented on June 2, 2024

@hurri2000 @iamhankai I've updated both changes in #23. @iamhankai can you review please?
Screen Shot 2020-04-10 at 12 49 37 PM

Also @iamhankai are there any other bug fixes or changes needed that you know of? Thank you!!

from ghostnet.pytorch.

iamhankai avatar iamhankai commented on June 2, 2024

Thanks @glenn-jocher I merged your pull request.

from ghostnet.pytorch.

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.