Giter Club home page Giter Club logo

Comments (2)

WenbinLee avatar WenbinLee commented on September 4, 2024

It may be caused by the different initializations of the neural network by different versions of Pytorch. If you find it is a little overfitting, you can use a smaller initial learning rate instead of 0.005, e.g., 0.001. Actually, we had tested the released code on the miniImageNet dataset in our own machine and you can find our tested results in the file of DN4/results. By the way, can you tell me the version of Pytorch you used and the results you obtained? I can retest the code on other Pytorch versions and machines.

It is a little trick. We didn't pay a lot of effort on this hyperparameter. In our experiments, we find 0.05 is okay because we use 0.005 as the initial learning rate for the first 10 epoch. Maybe you can use 0.001 as the initial learning rate, and change it by 0.5. We believe we should have a better decay mechanism of the learning rate, but this is not the main concern of our paper. Thank you.

from dn4.

happycoding1996 avatar happycoding1996 commented on September 4, 2024

@IbsenChan Could you share the results you have reproduced with this code? Thank you!

from dn4.

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.