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

Add SODA-A dataset #2575

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/api/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,12 @@ So2Sat

.. autoclass:: So2Sat


SODAA
^^^^^

.. autoclass:: SODAA

SpaceNet
^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions docs/api/datasets/non_geo_datasets.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Dataset,Task,Source,License,# Samples,# Classes,Size (px),Resolution (m),Bands
`SKIPP'D`_,R,"Fish-eye","CC-BY-4.0","363,375",-,64x64,-,RGB
`SkyScript`_,IC,"NAIP, orthophotos, Planet SkySat, Sentinel-2, Landsat 8--9",MIT,5.2M,-,100--1000,0.1--30,RGB
`So2Sat`_,C,Sentinel-1/2,"CC-BY-4.0","400,673",17,32x32,10,"SAR, MSI"
`SODAA`_,OD,Aerial,"CC-BY-SA","2513",9,"varying","RGB"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`SODAA`_,OD,Aerial,"CC-BY-SA","2513",9,"varying","RGB"
`SODA`_,OD,Aerial,"CC-BY-SA","2513",9,"varying","RGB"

I see CC-BY-SA here, but I wish we knew which CC-BY-SA version. I usually use a size range instead of "varying".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shaunyuan22 do you know?

P.S. We are adding TorchGeo data loaders for your excellent SODA-A dataset, hopefully this makes it even easier for people to use and cite your paper!

`SpaceNet`_,I,WorldView-2/3 Planet Lab Dove,"CC-BY-SA-4.0","1,889--28,728",2,102--900,0.5--4,MSI
`SSL4EO`_-L,T,Landsat,"CC0-1.0",1M,-,264x264,30,MSI
`SSL4EO`_-S12,T,Sentinel-1/2,"CC-BY-4.0",1M,-,264x264,10,"SAR, MSI"
Expand Down
Binary file added tests/data/soda/Annotations.zip
Binary file not shown.
133 changes: 133 additions & 0 deletions tests/data/soda/Annotations/test/00006.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"type": "instance",
"images": {
"file_name": "00006.jpg",
"height": 32,
"width": 32,
"id": 6
},
"annotations": [
{
"poly": [
2.0,
16.5,
10.0,
16.5,
10.0,
25.5,
2.0,
25.5
],
"area": 1635.0,
"category_id": 2,
"image_id": 6,
"id": 1
},
{
"poly": [
0.5,
15.0,
9.5,
15.0,
9.5,
23.0,
0.5,
23.0
],
"area": 997.0,
"category_id": 8,
"image_id": 6,
"id": 2
},
{
"poly": [
8.5,
14.5,
13.5,
14.5,
13.5,
21.5,
8.5,
21.5
],
"area": 1658.0,
"category_id": 4,
"image_id": 6,
"id": 3
},
{
"poly": [
15.5,
14.5,
20.5,
14.5,
20.5,
21.5,
15.5,
21.5
],
"area": 610.0,
"category_id": 4,
"image_id": 6,
"id": 4
},
{
"poly": [
15.5,
8.5,
20.5,
8.5,
20.5,
15.5,
15.5,
15.5
],
"area": 842.0,
"category_id": 4,
"image_id": 6,
"id": 5
}
],
"categories": [
{
"id": 0,
"name": "airplane"
},
{
"id": 1,
"name": "helicopter"
},
{
"id": 2,
"name": "small-vehicle"
},
{
"id": 3,
"name": "large-vehicle"
},
{
"id": 4,
"name": "ship"
},
{
"id": 5,
"name": "container"
},
{
"id": 6,
"name": "storage-tank"
},
{
"id": 7,
"name": "swimming-pool"
},
{
"id": 8,
"name": "windmill"
},
{
"id": 9,
"name": "ignore"
}
]
}
85 changes: 85 additions & 0 deletions tests/data/soda/Annotations/test/00007.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"type": "instance",
"images": {
"file_name": "00007.jpg",
"height": 32,
"width": 32,
"id": 7
},
"annotations": [
{
"poly": [
17.5,
13.5,
24.5,
13.5,
24.5,
20.5,
17.5,
20.5
],
"area": 879.0,
"category_id": 2,
"image_id": 7,
"id": 1
},
{
"poly": [
8.0,
3.5,
14.0,
3.5,
14.0,
12.5,
8.0,
12.5
],
"area": 406.0,
"category_id": 8,
"image_id": 7,
"id": 2
}
],
"categories": [
{
"id": 0,
"name": "airplane"
},
{
"id": 1,
"name": "helicopter"
},
{
"id": 2,
"name": "small-vehicle"
},
{
"id": 3,
"name": "large-vehicle"
},
{
"id": 4,
"name": "ship"
},
{
"id": 5,
"name": "container"
},
{
"id": 6,
"name": "storage-tank"
},
{
"id": 7,
"name": "swimming-pool"
},
{
"id": 8,
"name": "windmill"
},
{
"id": 9,
"name": "ignore"
}
]
}
85 changes: 85 additions & 0 deletions tests/data/soda/Annotations/train/00001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"type": "instance",
"images": {
"file_name": "00001.jpg",
"height": 32,
"width": 32,
"id": 1
},
"annotations": [
{
"poly": [
3.5,
23.0,
12.5,
23.0,
12.5,
29.0,
3.5,
29.0
],
"area": 1202.0,
"category_id": 6,
"image_id": 1,
"id": 1
},
{
"poly": [
4.5,
14.0,
9.5,
14.0,
9.5,
22.0,
4.5,
22.0
],
"area": 561.0,
"category_id": 2,
"image_id": 1,
"id": 2
}
],
"categories": [
{
"id": 0,
"name": "airplane"
},
{
"id": 1,
"name": "helicopter"
},
{
"id": 2,
"name": "small-vehicle"
},
{
"id": 3,
"name": "large-vehicle"
},
{
"id": 4,
"name": "ship"
},
{
"id": 5,
"name": "container"
},
{
"id": 6,
"name": "storage-tank"
},
{
"id": 7,
"name": "swimming-pool"
},
{
"id": 8,
"name": "windmill"
},
{
"id": 9,
"name": "ignore"
}
]
}
Loading