Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ annotations_creators:
|
|
20 |
|
21 |
# SWiM: Spacecraft With Masks
|
22 |
|
23 |
-
A large-scale instance segmentation dataset of nearly 64k annotated spacecraft images
|
24 |
|
25 |
## Dataset Summary
|
26 |
The dataset contains over 63,917 annotated images with instance masks for varied spacecraft. It's structured for YOLO and segmentation applications, and chunked to stay within Hugging Face's per-folder file limits.
|
@@ -43,7 +43,7 @@ Due to Hugging Face Hub's per-directory file limit (10,000 files), this dataset
|
|
43 |
└── ...
|
44 |
|
45 |
```
|
46 |
-
If you're using models/tools like **YOLO** or others that expect a **flat directory**,
|
47 |
|
48 |
**YOLO Example Structure:**
|
49 |
```
|
@@ -59,7 +59,7 @@ If you're using models/tools like **YOLO** or others that expect a **flat direct
|
|
59 |
|
60 |
### Utility Scripts
|
61 |
|
62 |
-
The following scripts help you
|
63 |
|
64 |
|
65 |
#### 1. Setup
|
@@ -75,7 +75,7 @@ Create your virtual environment to help manage dependencies and prevent conflict
|
|
75 |
|
76 |
#### 2. Sample 500 items from a specific chunk:
|
77 |
|
78 |
-
This script is
|
79 |
|
80 |
Usage:
|
81 |
python3 utils/sample_swim.py --output-dir ./samples --count 100
|
@@ -105,7 +105,7 @@ Features:
|
|
105 |
- Optionally flattens the directory structure by removing the deepest chunk level
|
106 |
- Saves each .png image with its corresponding .txt label
|
107 |
|
108 |
-
|
109 |
|
110 |
Usage:
|
111 |
# Download all chunks (flattened/ YOLO format)
|
|
|
20 |
|
21 |
# SWiM: Spacecraft With Masks
|
22 |
|
23 |
+
A large-scale instance segmentation dataset of nearly 64k annotated spacecraft images created using real spacecraft models, superimposed on a mixture of real and synthetic backgrounds generated using NASA's TTALOS pipeline. To mimic camera distortions and noise in real-world image acquisition, we added different types of noise and distortion.
|
24 |
|
25 |
## Dataset Summary
|
26 |
The dataset contains over 63,917 annotated images with instance masks for varied spacecraft. It's structured for YOLO and segmentation applications, and chunked to stay within Hugging Face's per-folder file limits.
|
|
|
43 |
└── ...
|
44 |
|
45 |
```
|
46 |
+
If you're using models/tools like **YOLO** or others that expect a **flat directory**, kindly use the --flatten argument provided in our utils/download_swim.py script.
|
47 |
|
48 |
**YOLO Example Structure:**
|
49 |
```
|
|
|
59 |
|
60 |
### Utility Scripts
|
61 |
|
62 |
+
The following scripts help you download this dataset. Due to the large nature of the data and the custom directory structure, it is recommended to use the following scripts to either sample or to download the entire dataset. Note, the scripts are in the utils subdirectory.
|
63 |
|
64 |
|
65 |
#### 1. Setup
|
|
|
75 |
|
76 |
#### 2. Sample 500 items from a specific chunk:
|
77 |
|
78 |
+
This script is helpful for quick local inspection, prototyping, or lightweight evaluation without downloading the full dataset.
|
79 |
|
80 |
Usage:
|
81 |
python3 utils/sample_swim.py --output-dir ./samples --count 100
|
|
|
105 |
- Optionally flattens the directory structure by removing the deepest chunk level
|
106 |
- Saves each .png image with its corresponding .txt label
|
107 |
|
108 |
+
You can use this script to download the complete dataset for model training or offline access.
|
109 |
|
110 |
Usage:
|
111 |
# Download all chunks (flattened/ YOLO format)
|