Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
| 1 |
-
This is a dataset dervied from placing watermarks on the CalebA dataset of huma faces. The purpose of this dataset is to train a model to be able to remove watermarks from images
|
| 2 |
-
|
| 3 |
---
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: pair_id
|
| 5 |
+
dtype: int64
|
| 6 |
+
- name: clean_image
|
| 7 |
+
dtype: image
|
| 8 |
+
- name: watermarked_image
|
| 9 |
+
dtype: image
|
| 10 |
+
splits:
|
| 11 |
+
- name: train
|
| 12 |
+
num_examples: 5000
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# Watermark Dataset
|
| 16 |
+
|
| 17 |
+
Paired clean / watermarked face images generated from CelebA.
|
| 18 |
+
|
| 19 |
+
Each row contains:
|
| 20 |
+
- `pair_id` — unique integer index
|
| 21 |
+
- `clean_image` — original 128×128 face crop
|
| 22 |
+
- `watermarked_image` — same image with a synthetic proof watermark overlay
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from datasets import load_dataset
|
| 28 |
+
|
| 29 |
+
# Streaming
|
| 30 |
+
ds = load_dataset("GeraldNdawula/Watermark_Dataset", streaming=True, split="train")
|
| 31 |
+
for sample in ds:
|
| 32 |
+
clean = sample["clean_image"] # PIL Image
|
| 33 |
+
watermarked = sample["watermarked_image"] # PIL Image
|
| 34 |
+
|
| 35 |
+
# Full load
|
| 36 |
+
ds = load_dataset("GeraldNdawula/Watermark_Dataset", split="train")
|
| 37 |
+
```
|