Git Product home page Git Product logo

Comments (3)

kjunelee avatar kjunelee commented on June 2, 2024

(a) For prototypical networks, we set meta-training shot == meta-test shot for all datasets. In other words, if you want to test your model on 1-shot scenario, you need to set meta-training shot to be 1.
(b) From what I remember, label smoothing was only applied for miniImageNet.

from metaoptnet.

ars22 avatar ars22 commented on June 2, 2024

Thanks for your response @kjunelee

I understand that the shots are matched, my question was more on the number of ways. The original protonet paper found that increasing ways improved their performance. So I was wondering if you do the same in your re-implementation with Resnet-12 or do you train only with 5-way. Also, have you tried experiments with increasing ways for the SVM and RR models?

from metaoptnet.

kjunelee avatar kjunelee commented on June 2, 2024

Sorry I misread your question.

From what I remember, in our implementation increasing ways did not help for Prototypical Networks. Hence, we always trained on 5-way for experiments in our paper. Note that we use different hyperparameters (e.g. number of query samples) from original ProtoNet paper and this may be the reason why we did not observe a gain by increasing "way". To be honest, we didn't try much on increasing the number of ways as it increases memory consumption. It might be still useful to try it. One caveat is that due to the way we implemented multi-class SVM, the running time will blow up if you try >10-way. Our ridge regression implementation does not have such problem.

from metaoptnet.

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.