Skip to content

Question about dataset preparation #1

Description

@tongzixin716716

Hi, thank you for releasing this code.

I am trying to follow the dataset format used in this repository, where each dataset is organized as:

<dataset>/<train or test>/<domain>/<class>/

I would like to ask whether you could provide more details about the dataset preparation process, especially for datasets whose official releases do not naturally follow this structure.

In particular, I am confused about the preprocessing for:

  • OfficeHome
    The official dataset seems to be organized by domain/class, and in many DG settings, the protocol is usually to treat some domains as source/train domains and one or more domains as target/test domains, rather than splitting each individual domain into its own train/test subset. Could you please clarify how this train/test split was created for each domain in OfficeHome?

  • NICO++
    The official release I downloaded contains train and public_test_flat, but public_test_flatpart seems to contain images without class-organized labels, so it does not directly match the repository format. Could you please explain how the NICO++ test set was prepared in your codebase?

  • TerraIncognita
    The official annotations are provided as global splits (e.g. train, cis, trans), so if I directly convert these official global splits into the repository format, I encounter a problem where some classes (or even some domains) end up with no samples in the train split. Could you please clarify how TerraIncognita was processed?

If there are any preprocessing scripts, split files, or additional instructions for these datasets, could you please share them?

That would be very helpful for reproducing the experiments. Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions