Giter Club home page Giter Club logo

expandnets's People

Contributors

guoshuxuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

expandnets's Issues

About padding

Hello, your work is great.
I noticed that the padding operation is used in 1x1 convolution, but it's usually used in 3x3 convolution and I would like to know why.

Compute expansion from existing network

Hi,
I find your work really interesting but I have a question.
How can I expand a network with existing weights?
I want to train a network using this scheme, but I need to start from existing weights, such as imagenet pretraining.

Adding 1x1 convolution without changing the model is simple.
So Expand-CL can be implemented using existing weights.

I'm not sure how to do Expand-CK. If I have an existing k X k kernel for k > 3, how do I split it into a 3x3 kernels?

The compute function seems to have some errors

Hi there, Great Jobs!
Still, when I tried the compute_ck, compute_cl and compute_cl_2 functions, it seems two of them have some errors compared to the origin network output.

The code link is below, pretrained network layers from official torchvision used for calculation.
https://github.com/hiterjoshua/BasicSR/blob/master/tests/expand_net.py

Directly run the upper expand_net.py and you would get the output of error:
error 3*3 and 3*3: -80360.1015625
error 3*3 and 1*1: 0.20960576832294464
error 1*1 and 3*3: -2098.904541015625

It seems the functions error 3*3 and 3*3 and 1*1 and 3*3 have some errors here, would you take a look at this problem? Hoping your answer! Thanks!

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.