GithubHelp home page GithubHelp logo

Comments (7)

flexibility2 avatar flexibility2 commented on July 20, 2024 1

@ehsanmok ,hi, however ,in the
https://github.com/floodsung/LearningToCompare_FSL/blob/master/miniimagenet/miniimagenet_train_few_shot.py#L15
you just use the "task_generator_test", not the "task_generator"……

from learningtocompare_fsl.

ehsanmok avatar ehsanmok commented on July 20, 2024

It's based on meta validation set: See 1, 2, 3

from learningtocompare_fsl.

ehsanmok avatar ehsanmok commented on July 20, 2024

Right! not a good code. It's the third mistake along with not using model.eval() and using the same normalization for omniglot and mini-imagenet!

from learningtocompare_fsl.

ehsanmok avatar ehsanmok commented on July 20, 2024

However, it's done correctly for one shot here. Based on the copy pasting attitude of the code maybe it was changed at the time of training and when released the code wasn't carefully done!

from learningtocompare_fsl.

xyxxmb avatar xyxxmb commented on July 20, 2024

@ehsanmok Hello! I think that although the code uses "task_generator_test" instead of "task_generator" in miniimagenet_train_few_shot.py, it doesn't influence the result of model training because "metatest_folders" is only used for monitoring generalization performance. It doesn't participate in the process of model training.

from learningtocompare_fsl.

hyyuan123 avatar hyyuan123 commented on July 20, 2024

I would like to ask, is there a problem with the model selection based on omniglot? Should be based on the accuracy of training to choose it

from learningtocompare_fsl.

hyyuan123 avatar hyyuan123 commented on July 20, 2024

When selecting a model, the test data is unknown, so the accuracy of the test cannot be used to select the model.

from learningtocompare_fsl.

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.