Coder Social home page Coder Social logo

evofl's Introduction

Top Langs

Anurag's github stats

Hits

evofl's People

Contributors

mahi97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

vivianoriccardo

evofl's Issues

Description

Could you share the description of the programming environment? It is important for us to reproduce the results.

What's the dimension of the average pooling?

Hi,

i have a question about the right dimensions stated in the paper according to the current code available here.

Given these networks in the supplementary material:

Screenshot from 2024-02-07 23-14-46

The number of parameters is neither 11k and not 2.3 milions as stated in the paper for the networks if we use the average pooling in your code.
The number of parameters should be:

8 X 5 X 5+8+8 X 16 X 5 X 5+16+weights and biases of last fully conencted layer.
Now, in the table's paper is stated that the fully connected is 16 X 10 but is not true because they are not the input neurons instead they are the input channels. Now, since the input images are 28 by 28 and you kernel rows and columns are 5 by 5 and from your code you used an average pooling with size 2 by 2 with stride 2 we have for both dimensions: ((((28 - 5)/1 + 1 - 2)/2 + 1 - 5)/1 + 1 - 2/2 + 1) = 4.
So the output from the last average pooling should be 4 X 4 X 16 so the weights of the last fully connected layers should be 16 X 16 X 10 so the final number of parameters should be:

8 X 5 X 5+8+8 X 16 X 5 X 5+16+16 X 16 X 10+10 = 5994 parameters not 11k.

Unless i'm missing something.

and

same for the cifar-10 dataset.

with the only difference that the input images are 3 X 32 X 32 so being 32 by 32 with the same previous computations (considering the average pooling dimensions and stride you have set in the code) the first fully connected layer after the average pooling should have 5 X 5 X 128 X 256 + 256 parameters and with all the right computations it pops out the the actual number of parameters is more or less 1 M not 2.3M

Is possible to provide the actual average pooling dimensions and stride? i'm trying to reproduce on my own the paper and compare with another algorithm but i need the same network architecture if possible. Thanks in advance

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.