GithubHelp home page GithubHelp logo

Acc lower than paper claims about prototree HOT 4 CLOSED

m-nauta avatar m-nauta commented on July 22, 2024
Acc lower than paper claims

from prototree.

Comments (4)

M-Nauta avatar M-Nauta commented on July 22, 2024

Thanks for your interest in our work and I'm sorry to hear you get a lower accuracy. It is difficult to pinpoint the main reason but it could be that the training hyperparameters, data preprocessing or other settings were not the same as used in the paper. Some default arguments, such as the milestones for lr decay, need to be changed in order to follow the setup of the paper. All hyperparameters are reported in the appendix of the paper. Maybe also check the PyTorch version. Since CUB is a small dataset it could also be that you had a very bad seed.

from prototree.

huygens12 avatar huygens12 commented on July 22, 2024

The training hyperparameters are set strictly following the paper. I reran the experiments several times. So far, my acc distribution across these runs is [72.4, 78.6, 82.4, 82.4, 80.5]. Seed issue could be the reason. Did this happen to you? And will a larger batch size help?

from prototree.

huygens12 avatar huygens12 commented on July 22, 2024

Follow-up: I slightly adjusted the hyperparameters to "epochs=150 milestones=60,80,100,120,140" and conducted 5 runs, and the test accs are now [0.828, 0.825, 0.820, 0.831, 0.815]. Hopefully this will help other readers to reproduce the results. Thank @M-Nauta again for this interesting work.

The training hyperparameters are set strictly following the paper. I reran the experiments several times. So far, my acc distribution across these runs is [72.4, 78.6, 82.4, 82.4, 80.5]. Seed issue could be the reason. Did this happen to you? And will a larger batch size help?

from prototree.

M-Nauta avatar M-Nauta commented on July 22, 2024

I was already looking into potential causes of the issue, but I am glad to hear that your results are now in line with the paper and that you shared your solution here.

from prototree.

Related Issues (14)

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.