Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "labels" folder from verify for xView2 #787

Merged
merged 1 commit into from
Sep 24, 2022

Conversation

RitwikGupta
Copy link
Collaborator

The labels folder exists for the tier3 imagery that was released after the tier1 imagery for xView2. It should really be called targets but we messed up. When you're merging tier1 with tier3, simply copy all the files from tier3/labels to tier1/targets.

The `labels` folder exists for the `tier3` imagery that was released after the `tier1` imagery for xView2. It should really be called `targets` but we messed up. When you're merging `tier1` with `tier3`, simply copy all the files from `tier3/labels` to `tier1/targets`.
@RitwikGupta RitwikGupta changed the title Remove "labels" folder from verify Remove "labels" folder from verify for xView2 Sep 22, 2022
@github-actions github-actions bot added the datasets Geospatial or benchmark datasets label Sep 22, 2022
@ashnair1 ashnair1 added this to the 0.3.2 milestone Sep 22, 2022
@isaaccorley
Copy link
Collaborator

We should also update the docs to explain to users that they need to manually move tier3 labels into the tier1 folder.

@adamjstewart
Copy link
Collaborator

I would prefer that the TorchGeo dataset "just works" without the user needing to change anything on their part. If the download still has that directory in the latest version, we should support it.

@RitwikGupta
Copy link
Collaborator Author

The download has that directory, but the dataset does not use it whatsoever. The user has to actually manually convert Tier3 JSON labels to masks, but the dataset doesn't do anything with the labels folder. Therefore, there's no reason to check for its existence.

@calebrob6 calebrob6 merged commit a457650 into microsoft:main Sep 24, 2022
@adamjstewart adamjstewart modified the milestones: 0.3.2, 0.4.0 Jan 23, 2023
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
The `labels` folder exists for the `tier3` imagery that was released after the `tier1` imagery for xView2. It should really be called `targets` but we messed up. When you're merging `tier1` with `tier3`, simply copy all the files from `tier3/labels` to `tier1/targets`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants