Datasets:
Tasks:
Image Classification
Formats:
parquet
Sub-tasks:
multi-label-image-classification
Languages:
English
Size:
1K - 10K
License:
Add dataset README with metadata
Browse files
README.md
CHANGED
|
@@ -1,96 +1,157 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
num_bytes: 12072390.0
|
| 22 |
-
num_examples: 128
|
| 23 |
-
- name: few_shot_train_15_shot
|
| 24 |
-
num_bytes: 16781171.0
|
| 25 |
-
num_examples: 175
|
| 26 |
-
- name: few_shot_train_1_shot
|
| 27 |
-
num_bytes: 1499051.0
|
| 28 |
-
num_examples: 16
|
| 29 |
-
- name: few_shot_train_20_shot
|
| 30 |
-
num_bytes: 21623151.0
|
| 31 |
-
num_examples: 220
|
| 32 |
-
- name: few_shot_train_2_shot
|
| 33 |
-
num_bytes: 2605778.0
|
| 34 |
-
num_examples: 30
|
| 35 |
-
- name: few_shot_train_5_shot
|
| 36 |
-
num_bytes: 6184131.0
|
| 37 |
-
num_examples: 67
|
| 38 |
-
- name: partition_0.01x_partition
|
| 39 |
-
num_bytes: 2137231.0
|
| 40 |
-
num_examples: 19
|
| 41 |
-
- name: partition_0.02x_partition
|
| 42 |
-
num_bytes: 3740776.0
|
| 43 |
-
num_examples: 33
|
| 44 |
-
- name: partition_0.05x_partition
|
| 45 |
-
num_bytes: 8894127.0
|
| 46 |
-
num_examples: 81
|
| 47 |
-
- name: partition_0.10x_partition
|
| 48 |
-
num_bytes: 20208822.0
|
| 49 |
-
num_examples: 184
|
| 50 |
-
- name: partition_0.20x_partition
|
| 51 |
-
num_bytes: 38839903.0
|
| 52 |
-
num_examples: 361
|
| 53 |
-
- name: partition_0.25x_partition
|
| 54 |
-
num_bytes: 49039006.0
|
| 55 |
-
num_examples: 447
|
| 56 |
-
- name: partition_0.50x_partition
|
| 57 |
-
num_bytes: 96471900.0
|
| 58 |
-
num_examples: 878
|
| 59 |
-
download_size: 599828338
|
| 60 |
-
dataset_size: 596644493.738
|
| 61 |
-
configs:
|
| 62 |
-
- config_name: default
|
| 63 |
-
data_files:
|
| 64 |
-
- split: train
|
| 65 |
-
path: data/train-*
|
| 66 |
-
- split: val
|
| 67 |
-
path: data/val-*
|
| 68 |
-
- split: test
|
| 69 |
-
path: data/test-*
|
| 70 |
-
- split: few_shot_train_10_shot
|
| 71 |
-
path: data/few_shot_train_10_shot-*
|
| 72 |
-
- split: few_shot_train_15_shot
|
| 73 |
-
path: data/few_shot_train_15_shot-*
|
| 74 |
-
- split: few_shot_train_1_shot
|
| 75 |
-
path: data/few_shot_train_1_shot-*
|
| 76 |
-
- split: few_shot_train_20_shot
|
| 77 |
-
path: data/few_shot_train_20_shot-*
|
| 78 |
-
- split: few_shot_train_2_shot
|
| 79 |
-
path: data/few_shot_train_2_shot-*
|
| 80 |
-
- split: few_shot_train_5_shot
|
| 81 |
-
path: data/few_shot_train_5_shot-*
|
| 82 |
-
- split: partition_0.01x_partition
|
| 83 |
-
path: data/partition_0.01x_partition-*
|
| 84 |
-
- split: partition_0.02x_partition
|
| 85 |
-
path: data/partition_0.02x_partition-*
|
| 86 |
-
- split: partition_0.05x_partition
|
| 87 |
-
path: data/partition_0.05x_partition-*
|
| 88 |
-
- split: partition_0.10x_partition
|
| 89 |
-
path: data/partition_0.10x_partition-*
|
| 90 |
-
- split: partition_0.20x_partition
|
| 91 |
-
path: data/partition_0.20x_partition-*
|
| 92 |
-
- split: partition_0.25x_partition
|
| 93 |
-
path: data/partition_0.25x_partition-*
|
| 94 |
-
- split: partition_0.50x_partition
|
| 95 |
-
path: data/partition_0.50x_partition-*
|
| 96 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- expert-generated
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license:
|
| 9 |
+
- cc-by-4.0
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1K<n<10K
|
| 14 |
+
source_datasets:
|
| 15 |
+
- original
|
| 16 |
+
task_categories:
|
| 17 |
+
- image-classification
|
| 18 |
+
task_ids:
|
| 19 |
+
- multi-label-image-classification
|
| 20 |
+
pretty_name: MER - Mars Exploration Rover Dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
+
|
| 23 |
+
# MER - Mars Exploration Rover Dataset
|
| 24 |
+
|
| 25 |
+
A multi-label classification dataset containing Mars images from the Mars Exploration Rover (MER) mission for planetary science research.
|
| 26 |
+
|
| 27 |
+
## Dataset Metadata
|
| 28 |
+
|
| 29 |
+
* **License:** CC-BY-4.0 (Creative Commons Attribution 4.0 International)
|
| 30 |
+
* **Version:** 1.0
|
| 31 |
+
* **Date Published:** 2025-05-14
|
| 32 |
+
* **Cite As:** TBD
|
| 33 |
+
|
| 34 |
+
## Classes
|
| 35 |
+
|
| 36 |
+
This dataset uses multi-label classification, meaning each image can have multiple class labels.
|
| 37 |
+
|
| 38 |
+
The dataset contains the following classes:
|
| 39 |
+
|
| 40 |
+
- **rah** (0): Rock Abrasion Tool (RAT) Hole
|
| 41 |
+
- **cla** (1): Clasts
|
| 42 |
+
- **dur** (2): Dunes/Ripples
|
| 43 |
+
- **soi** (3): Soil
|
| 44 |
+
- **roc** (4): Rock Outcrops
|
| 45 |
+
- **clr** (5): Close-up Rock
|
| 46 |
+
- **rab** (6): Rock Abrasion Tool (RAT) Brushed Target
|
| 47 |
+
- **div** (7): Distant Vista
|
| 48 |
+
- **rod** (8): Rover Deck
|
| 49 |
+
- **bso** (9): Bright Soil
|
| 50 |
+
- **flr** (10): Float Rocks
|
| 51 |
+
- **art** (11): Artifacts
|
| 52 |
+
- **pct** (12): Pancam Calibration Target
|
| 53 |
+
- **arh** (13): Arm Hardware
|
| 54 |
+
- **rrf** (14): Rock (Round Features)
|
| 55 |
+
- **sph** (15): Spherules
|
| 56 |
+
- **ohw** (16): Other Hardware
|
| 57 |
+
- **ast** (17): Astronomy
|
| 58 |
+
- **nbs** (18): Nearby Surface
|
| 59 |
+
- **rmi** (19): Rocks (Misc)
|
| 60 |
+
- **rtr** (20): Rover Tracks
|
| 61 |
+
- **sky** (21): Sky
|
| 62 |
+
- **rpa** (22): Rover Parts
|
| 63 |
+
- **rlf** (23): Rock (Linear Features)
|
| 64 |
+
- **sot** (24): Soil Trench
|
| 65 |
+
## Statistics
|
| 66 |
+
|
| 67 |
+
- **train**: 1762 images
|
| 68 |
+
- **val**: 443 images
|
| 69 |
+
- **test**: 739 images
|
| 70 |
+
- **few_shot_train_10_shot**: 128 images
|
| 71 |
+
- **few_shot_train_15_shot**: 175 images
|
| 72 |
+
- **few_shot_train_1_shot**: 16 images
|
| 73 |
+
- **few_shot_train_20_shot**: 220 images
|
| 74 |
+
- **few_shot_train_2_shot**: 30 images
|
| 75 |
+
- **few_shot_train_5_shot**: 67 images
|
| 76 |
+
- **partition_0.01x_partition**: 19 images
|
| 77 |
+
- **partition_0.02x_partition**: 33 images
|
| 78 |
+
- **partition_0.05x_partition**: 81 images
|
| 79 |
+
- **partition_0.10x_partition**: 184 images
|
| 80 |
+
- **partition_0.20x_partition**: 361 images
|
| 81 |
+
- **partition_0.25x_partition**: 447 images
|
| 82 |
+
- **partition_0.50x_partition**: 878 images
|
| 83 |
+
|
| 84 |
+
## Few-shot Splits
|
| 85 |
+
|
| 86 |
+
This dataset includes the following few-shot training splits:
|
| 87 |
+
|
| 88 |
+
- **few_shot_train_10_shot**: 128 images
|
| 89 |
+
- **few_shot_train_15_shot**: 175 images
|
| 90 |
+
- **few_shot_train_1_shot**: 16 images
|
| 91 |
+
- **few_shot_train_20_shot**: 220 images
|
| 92 |
+
- **few_shot_train_2_shot**: 30 images
|
| 93 |
+
- **few_shot_train_5_shot**: 67 images
|
| 94 |
+
|
| 95 |
+
Few-shot configurations:
|
| 96 |
+
|
| 97 |
+
- **10_shot.csv**
|
| 98 |
+
- **15_shot.csv**
|
| 99 |
+
- **1_shot.csv**
|
| 100 |
+
- **20_shot.csv**
|
| 101 |
+
- **2_shot.csv**
|
| 102 |
+
- **5_shot.csv**
|
| 103 |
+
## Partition Splits
|
| 104 |
+
|
| 105 |
+
This dataset includes the following partition splits:
|
| 106 |
+
|
| 107 |
+
- **partition_0.01x_partition**: 19 images
|
| 108 |
+
- **partition_0.02x_partition**: 33 images
|
| 109 |
+
- **partition_0.05x_partition**: 81 images
|
| 110 |
+
- **partition_0.10x_partition**: 184 images
|
| 111 |
+
- **partition_0.20x_partition**: 361 images
|
| 112 |
+
- **partition_0.25x_partition**: 447 images
|
| 113 |
+
- **partition_0.50x_partition**: 878 images
|
| 114 |
+
|
| 115 |
+
Partition configurations:
|
| 116 |
+
|
| 117 |
+
- **0.01x_partition.csv**
|
| 118 |
+
- **0.02x_partition.csv**
|
| 119 |
+
- **0.05x_partition.csv**
|
| 120 |
+
- **0.10x_partition.csv**
|
| 121 |
+
- **0.20x_partition.csv**
|
| 122 |
+
- **0.25x_partition.csv**
|
| 123 |
+
- **0.50x_partition.csv**
|
| 124 |
+
## Format
|
| 125 |
+
|
| 126 |
+
Each example in the dataset has the following format:
|
| 127 |
+
|
| 128 |
+
```
|
| 129 |
+
{
|
| 130 |
+
'image': Image(...), # PIL image
|
| 131 |
+
'labels': List[int], # Multi-hot encoded binary vector (1 if class is present, 0 otherwise)
|
| 132 |
+
'feature_names': List[str], # List of feature names (class short codes)
|
| 133 |
+
}
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
## Usage
|
| 137 |
+
|
| 138 |
+
```python
|
| 139 |
+
from datasets import load_dataset
|
| 140 |
+
|
| 141 |
+
dataset = load_dataset("Mirali33/mb-surface_multi_label_cls")
|
| 142 |
+
|
| 143 |
+
# Access an example
|
| 144 |
+
example = dataset['train'][0]
|
| 145 |
+
image = example['image'] # PIL image
|
| 146 |
+
labels = example['labels'] # Multi-hot encoded binary vector
|
| 147 |
+
|
| 148 |
+
# Example of how to find which classes are present in an image
|
| 149 |
+
present_classes = [i for i, is_present in enumerate(labels) if is_present == 1]
|
| 150 |
+
print(f"Classes present in this image: {present_classes}")
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
## Multi-label Classification
|
| 154 |
+
|
| 155 |
+
In multi-label classification, each image can belong to multiple classes simultaneously. The labels are represented as a binary vector where a 1 indicates the presence of a class and a 0 indicates its absence.
|
| 156 |
+
|
| 157 |
+
Unlike single-label classification where each image has exactly one class, multi-label classification allows modeling scenarios where multiple features can be present in the same image, which is often the case with Mars imagery.
|