Giter Club home page Giter Club logo

Comments (3)

lenscloth avatar lenscloth commented on June 13, 2024

First of all, you need to understand the training and test splits used in the field of deep metric learning (DML).
Unlike classification where the images of test set is consist of "seen classes",
The models of DML is evaluated on the task of image retrieval for the "unseen classes".

Therefore, train/test split of CUB200 for DML is different with that of CUB200 for classification.
First 98 classes are used for training, and the last 98 classes are used for test.

You may read the experiments section of the following paper for the details.
https://cvgl.stanford.edu/papers/song_cvpr16.pdf

from rkd.

alexzhang0825 avatar alexzhang0825 commented on June 13, 2024

I see. I'm still a bit confused, however. You said that the first 98 classes are for training while the last 98 are for testing, but what about the remaining 4 classes, are they completely ignored? Because the number of test and train images shown in the code output sum up to exactly how many images there are in the dataset. Sorry if this questions seems dumb.

from rkd.

lenscloth avatar lenscloth commented on June 13, 2024

Sorry for my typo,
I was confused CUB200 with Cars-196

For CUB 200, among 200 classes first 100 classes are used for training, and the last 100 classes are used for test.
For Cars 196, among 196 classes first 98 classes are used for training, and the last 98 classes are used for test.

from rkd.

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.