Giter Site home page Giter Site logo

Comments (6)

YyzHarry avatar YyzHarry commented on May 24, 2024

Hi, thanks for your interest in our work.

For training hyper-parameters on each dataset, you can actually find all relevant parameters in Appendix B, Table 8, in our paper. In short, for MNIST, we use SGD w/ momentum 0.9, LR=0.01, and LR decay on Epoch 100/150.

from me-net.

Magallan1229 avatar Magallan1229 commented on May 24, 2024

Thank you for your reply , but the lenet model your provide need input with size of 33232 , which seems to be consistent with CIFAR10 not MNIST (12828). Do I need to resize the input or modify the model to match?

from me-net.

YyzHarry avatar YyzHarry commented on May 24, 2024

Oh good question. I just checked the implementation on MNIST, and found that the LeNet model I used is actually the same as you used (I just made a quick check and seems this is the standard one used in literature). So no worries about my previous comment on architecture. :)

from me-net.

Magallan1229 avatar Magallan1229 commented on May 24, 2024

And should I normalize images into [0,1] , or use mean and std to get transforms of inputs as (inputs-mean)/std ?

from me-net.

Magallan1229 avatar Magallan1229 commented on May 24, 2024

In the paper you said"We then randomly flip the images horizontally and normalize them into [0, 1]", but code in train_pure.py has transforms composed of ToTensor() and Normalize() which results in a larger range of inputs than 0~1. Forgive my so many questions, I have to make things clear to avoid wasting days of time because my device always spend too much time to run cnn code. Thank you again for your reply.

from me-net.

YyzHarry avatar YyzHarry commented on May 24, 2024

For the pure training of ME-Net, whether you do the normalization or not shouldn't affect the results much. So either way is fine.

from me-net.

Related Issues (6)

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.