Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
183
9.15k
label
stringclasses
28 values
cluster_id
stringlengths
6
6
pool
stringclasses
3 values
source
stringclasses
21 values
mined
bool
2 classes
oof_prob
float64
0
1
batik_score
float64
-0.09
0.08
width
int64
183
9.15k
height
int64
181
6.3k
Bali_Barong
c00000
existing
existing_local
false
0.9932
-0.058
276
276
Bali_Barong
c00001
existing
existing_local
false
0.9641
0.0305
1,200
1,200
Bali_Barong
c00001
existing
existing_local
false
0.931
-0.0018
224
224
Bali_Barong
c00002
existing
existing_local
false
0.9509
-0.03
302
302
Bali_Barong
c00003
existing
existing_local
false
0.9966
0.0267
224
224
Bali_Barong
c00004
existing
existing_local
false
0.9749
-0.0569
417
417
Bali_Barong
c00005
existing
existing_local
false
0.8349
0.021
750
750
Bali_Barong
c00006
existing
existing_local
false
0.9874
-0.0539
1,090
1,090
Bali_Barong
c00007
existing
existing_local
false
0.9173
-0.0076
600
600
Bali_Barong
c00008
existing
existing_local
false
0.9884
0.0025
224
224
Bali_Barong
c00009
existing
existing_local
false
0.9731
0.0477
744
744
Bali_Barong
c00010
existing
existing_local
false
0.9904
-0.0657
441
441
Bali_Barong
c00011
existing
existing_local
false
0.9533
-0.053
224
224
Bali_Barong
c00012
existing
existing_local
false
0.9755
-0.0507
404
404
Bali_Barong
c00013
existing
existing_local
false
0.9953
-0.0491
224
224
Bali_Barong
c00009
existing
existing_local
false
0.9583
0.0427
423
423
Bali_Barong
c00014
existing
existing_local
false
0.9779
-0.0383
370
370
Bali_Barong
c00015
existing
existing_local
false
0.7241
-0.0428
412
412
Bali_Barong
c00016
existing
existing_local
false
0.2455
-0.0063
428
428
Bali_Barong
c00017
existing
existing_local
false
0.9678
-0.0129
450
450
Bali_Barong
c00018
existing
existing_local
false
0.9899
0.0357
446
446
Bali_Barong
c00019
existing
existing_local
false
0.8391
-0.0424
434
434
Bali_Barong
c00007
existing
existing_local
false
0.9747
0.0109
1,281
1,281
Bali_Barong
c00020
existing
existing_local
false
0.7319
-0.0363
699
699
Bali_Barong
c00021
existing
existing_local
false
0.9973
-0.0401
279
279
Bali_Barong
c00022
existing
existing_local
false
0.9979
0.0483
949
949
Bali_Barong
c00023
existing
existing_local
false
0.9565
0.0377
800
800
Bali_Barong
c00024
existing
existing_local
false
0.9405
0.0407
987
987
Bali_Barong
c00025
existing
existing_local
false
0.9817
0.0242
228
221
Bali_Barong
c00026
existing
existing_local
false
0.937
0.0229
204
247
Bali_Barong
c00007
existing
existing_local
false
0.9571
0.0121
190
265
Bali_Barong
c00027
existing
existing_local
false
0.9909
0.0231
183
275
Bali_Barong
c00028
existing
existing_local
false
0.9264
0.0152
217
232
Bali_Barong
c00029
existing
existing_local
false
0.9386
-0.0061
259
194
Bali_Barong
c00030
existing
existing_local
false
0.911
-0.0313
225
225
Bali_Barong
c00031
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.9457
-0.0266
640
640
Bali_Barong
c00032
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.9929
-0.0662
640
640
Bali_Barong
c00007
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.909
0.0102
640
640
Bali_Barong
c00033
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.6514
0.0433
640
640
Bali_Barong
c00034
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.9326
0.0102
640
640
Bali_Barong
c00035
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.3322
0.0734
483
590
Bali_Barong
c00036
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.9054
0.0134
639
433
Bali_Barong
c00037
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.6573
-0.0033
441
615
Bali_Barong
c00038
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.474
0.015
519
485
Bali_Barong
c00039
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.9075
-0.0322
454
514
Bali_Barong
c00040
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.8579
-0.0093
494
470
Bali_Barong
c00041
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.421
-0.0221
485
346
Bali_Barong
c00042
new_unambiguous
Batik_Indonesia_Skripsi_v52i_yolov8
false
0.7817
-0.025
372
372
Bali_Barong
c00036
new_unambiguous
kaggle_hendryhb_batik_nusantara
false
0.8228
0.026
827
827
Bali_Barong
c00043
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9896
0.0176
640
640
Bali_Barong
c00044
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.839
-0.0089
640
640
Bali_Barong
c00045
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9823
0.0325
640
640
Bali_Barong
c00046
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9802
0.0207
640
640
Bali_Barong
c00047
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9785
0.009
640
640
Bali_Barong
c00007
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9396
0.0039
640
640
Bali_Barong
c00035
new_unambiguous
kaggle_hendryhb_batik_nusantara
false
0.5496
0.078
626
626
Bali_Barong
c00048
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9845
-0.0147
320
320
Bali_Barong
c00049
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9443
0.0247
320
320
Bali_Barong
c00050
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.985
-0.0063
320
320
Bali_Barong
c00051
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9054
0.0061
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.8033
0.021
320
320
Bali_Barong
c00007
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9644
0.0061
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.954
0.0124
320
320
Bali_Barong
c00052
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9295
-0.0285
320
320
Bali_Barong
c00053
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.994
-0.0235
320
320
Bali_Barong
c00054
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9821
0.013
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9632
0.0111
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9558
0.0093
320
320
Bali_Barong
c00007
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.8632
0.0082
320
320
Bali_Barong
c00055
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9711
-0.0004
320
320
Bali_Barong
c00056
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9641
0.0066
320
320
Bali_Barong
c00057
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9754
-0.0032
320
320
Bali_Barong
c00058
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9906
-0.0129
320
320
Bali_Barong
c00056
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9248
0.0075
320
320
Bali_Barong
c00059
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9922
-0.0241
320
320
Bali_Barong
c00060
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9505
-0.0072
320
320
Bali_Barong
c00061
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9941
-0.03
320
320
Bali_Barong
c00062
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9277
-0.0222
320
320
Bali_Barong
c00063
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9885
0.0302
320
320
Bali_Barong
c00064
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9231
0.0157
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.8093
0.0188
320
320
Bali_Barong
c00065
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9716
-0.0496
320
320
Bali_Barong
c00066
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.7763
0.0177
320
320
Bali_Barong
c00001
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9501
0.0017
320
320
Bali_Barong
c00066
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9428
0.0107
320
320
Bali_Barong
c00062
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.7612
-0.0161
320
320
Bali_Barong
c00067
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9711
0.0033
320
320
Bali_Barong
c00043
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9802
0.0214
320
320
Bali_Barong
c00068
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.8211
0.0371
320
320
Bali_Barong
c00069
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9902
-0.0397
320
320
Bali_Barong
c00051
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9351
0.014
320
320
Bali_Barong
c00070
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9921
-0.0013
320
320
Bali_Barong
c00071
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9446
0.0002
320
320
Bali_Barong
c00072
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9063
-0.0417
320
320
Bali_Barong
c00064
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.8877
0.0153
320
320
Bali_Barong
c00073
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9315
-0.0048
320
320
Bali_Barong
c00007
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.944
0.0037
320
320
Bali_Barong
c00074
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.3215
0.0195
320
320
Bali_Barong
c00043
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.988
0.0237
320
320
Bali_Barong
c00052
new_unambiguous
kaggle_buyungsaloka_motif_batik
false
0.9809
-0.0274
320
320
End of preview. Expand in Data Studio

Indonesian Batik Dataset v2.0 (Clean, Deduplicated 28-Class Benchmark + OOD Set)

A clean, ready-to-use image dataset of 28 traditional Indonesian Batik motifs from across the archipelago — covering Java, Bali, Sumatra, Kalimantan, Sulawesi, Madura, Nusa Tenggara, Maluku, and Papua — plus 177 open-licensed non-batik negative images for real-world Out-of-Distribution (OOD) testing.


Why Use This Dataset?

When we audited over 20 popular public Indonesian batik datasets, most had the same hidden issues: pre-augmented copies split across train and test sets, near-identical photos recycled across multiple uploads, mislabeled classes, and random non-batik photos mixed in. Models trained on those datasets often score 95%+ in notebooks but struggle on real camera photos.

This v2.0 release solves those problems out of the box:

  • Truly deduplicated: Removed thousands of exact copies, resized/flipped duplicates, pre-baked augmentation variants, and cropped repeats of the same fabric.
  • Noise & mislabel cleaned: Filtered out non-batik images (portraits, plain shirts, screenshots, logos) and clear mislabels using automated vision checks plus strict taxonomy rules.
  • Balanced & diverse: Over-represented motifs are capped at 200 diverse images per class, while rare regional motifs (Priangan Merak Ngibing, Bali Barong, Lontara, Rumah Minang, Yogyakarta Parang) were significantly expanded.
  • Built-in "Not Batik" set (ood_negatives config): Includes 177 open-licensed non-batik photos — including tricky look-alike Indonesian woven textiles (Songket, Tenun Ikat, Ulos), plaid/floral patterns, plain clothes, and everyday backgrounds.
  • Leak-free splitting made easy: Every row includes a cluster_id grouping visually similar fabrics together, so you can build zero-leakage train/validation/test splits in 3 lines of code with StratifiedGroupKFold.

Quick Stats

Feature Value
Batik Images (default config) 3,470 full-resolution RGB JPEGs
Motif Classes 28 distinct visual motifs (18 classes have 100–200 images)
Images per Class Min 37 · Median 117 · Mean 124 · Max 200
Semantic Clusters (cluster_id) 3,140 independent groups for leak-free CV splitting
Non-Batik Negatives (ood_negatives config) 177 images across 6 everyday & woven-textile buckets
Reference Benchmark (DINOv2-ViT-S/14 INT8) 89.82% Top-1 · 96.01% Top-3 · 87.47% Macro-F1 · 0.9591 OOD AUROC

Included 28 Motif Classes

Bali_Barong, Bali_Merak, Ceplok, Corak_Insang, Ikat_Celup, Jakarta_Ondel_Ondel, Jawa_Barat_Megamendung, Jawa_Timur_Pring, Kalimantan_Dayak, Lampung_Gajah, Lasem, Madura_Mataketeran, Maluku_Pala, NTB_Lumbung, Papua_Asmat, Papua_Cendrawasih, Papua_Tifa, Priangan_Merak_Ngibing, Sekar, Sidoluhur, Sogan, Solo_Parang, Sulawesi_Selatan_Lontara, Sumatera_Barat_Rumah_Minang, Sumatera_Utara_Boraspati, Tambal, Yogyakarta_Kawung, Yogyakarta_Parang


Quick Start (datasets)

from datasets import load_dataset
from sklearn.model_selection import StratifiedGroupKFold

# Load the 3,470 batik images (28 classes)
batik = load_dataset("benedictpepper/indonesian-batik-v2", split="train")
print(batik[0])  # {'image': <PIL.Image>, 'label': 'Bali_Barong', 'cluster_id': 'c00001', ...}

# Load the 177 OOD non-batik calibration negatives
ood = load_dataset("benedictpepper/indonesian-batik-v2", "ood_negatives", split="test")
print(ood[0])    # {'image': <PIL.Image>, 'bucket': 'indoor_textures', 'license': ...}

# Leak-free 5-fold split grouped by cluster_id (0 shared clusters!)
sgkf = StratifiedGroupKFold(n_splits=5, shuffle=True, random_state=42)
train_idx, val_idx = next(sgkf.split(range(len(batik)), batik["label"], groups=batik["cluster_id"]))
train_ds, val_ds = batik.select(train_idx), batik.select(val_idx)

Two Quick Tips for Better Models

  1. Always split by cluster_id: Use StratifiedGroupKFold on cluster_id so visually similar photos of the same cloth never leak between train and validation.
  2. Avoid horizontal flips on 3 classes: Solo_Parang vs Yogyakarta_Parang differ in diagonal blade direction, and Sulawesi_Selatan_Lontara contains script characters. Keep hue shifts gentle (<= 5°) so traditional Sogan and Lasem colors stay intact.

Full Technical Audit, Sources & Licensing

Released under CC BY-SA 4.0. This dataset harmonizes, cleans, and deduplicates images from 21 open community and academic sources across Kaggle, Roboflow Universe (CC BY 4.0), Mendeley Data (CC BY 4.0), Hugging Face (Batik-Indonesia, Apache 2.0), GitHub, and Wikimedia Commons (museum archives & open-licensed OOD negatives).

For full technical methodology, exact audit funnel numbers, per-class F1 tables, and complete per-source citations and licenses, see DATA_CARD_TECHNICAL.md, LICENSE_AND_SOURCES.md, and curation_audit_summary.json in the Files tab.

Downloads last month
144

Models trained or fine-tuned on benedictpepper/indonesian-batik-v2