Git Product home page Git Product logo

Comments (2)

davnov134 avatar davnov134 commented on June 24, 2024 1

Hello, this is by design.

Tl;dr: Indeed, using the train setlist of set_lists_fewview_train is the best way to train your few-view model.

In more detail, all frames within a category are separated to 6 sets <sequence_set>_<seen|unknown>, i.e.:

train_unseen
train_known
dev_unseen
dev_known
test_unseen
test_known

The set_lists_fewview_*.json set lists are defined as follows:

set_lists_fewview_train: {
    "train": train_known,
    "val": train_known + train_unseen,
    "test": train_known + train_unseen,
}
set_lists_fewview_dev: {
    "train": train_known,
    "val": dev_known + dev_unseen,
    "test": dev_known + dev_unseen,
}
set_lists_fewview_test: {
    "train": train_known,
    "val": dev_known + dev_unseen,
    "test": test_known + test_unseen,
}

For your case specifically, the train setlist of set_lists_fewview_train contains only the train_known frames which should be used for training. However, the val setlist of set_lists_fewview_train contains train_known but ALSO train_unseen. This is why you see that all frames from train are also in val.

The "val" set contains also the "train" views because, when validating/testing, one needs to have access to the "known" source views (from the train set) in order to be able to generate the unseen views. This requires both known and unseen views to live in the same set of loaded images.

Indeed, if you inspect the eval_batches files, you will discover that the first (target) frame in an eval batch is always drawn from the unseen set of frames, while the rest of the frames comes from the known frames.

In order to find out which frames are known/unseen, feel free to inspect the meta.frame_type fields in frame_annotations.jgz.

I hope this helps, let me know if further clarification is needed.

from co3d.

zhizdev avatar zhizdev commented on June 24, 2024

Thank you so much for the reply! This is super helpful!

from co3d.

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.