LakshC commited on
Commit
dbf1ced
·
verified ·
1 Parent(s): 402f700

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +67 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - image-classification
5
+ tags:
6
+ - synthetic-data
7
+ - text-to-image
8
+ - data-augmentation
9
+ - zero-shot
10
+ - few-shot
11
+ - computer-vision
12
+ pretty_name: SynthBench
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # SynthBench
18
+
19
+ Benchmark dataset for evaluating synthetic data generation methods for visual classification. Contains real iPhone photos, FLUX text-to-image generated images, and programmatically augmented synthetic images across 6 object classes.
20
+
21
+ ## Classes
22
+
23
+ mouse, pen, phone, laptop, water bottle, Rubik's cube
24
+
25
+ ## Dataset Structure
26
+
27
+ ```
28
+ data/
29
+ ├── raw/ # 308 raw iPhone photos (HEIC converted to JPEG)
30
+ ├── real/ # 309 preprocessed images (224x224), train/test split
31
+ │ ├── train/
32
+ │ └── test/
33
+ ├── synthetic_t2i/ # 1,774 FLUX text-to-image generated images
34
+ ├── synthetic_aug/ # 1,801 programmatically augmented synthetic images
35
+ └── synthetic_t2i_lowdiv/ # 597 low-diversity T2I images (ablation)
36
+
37
+ models/
38
+ ├── real_baseline.pth # ResNet-18 trained on real data only
39
+ ├── t2i_zero_shot.pth # ResNet-18 trained on T2I synthetic data (zero-shot)
40
+ └── aug_zero_shot.pth # ResNet-18 trained on augmented synthetic data (zero-shot)
41
+ ```
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ from huggingface_hub import snapshot_download
47
+
48
+ # Download everything
49
+ snapshot_download(repo_id="LakshC/SynthBench", repo_type="dataset")
50
+
51
+ # Download only real images
52
+ snapshot_download(repo_id="LakshC/SynthBench", repo_type="dataset", allow_patterns="data/real/*")
53
+ ```
54
+
55
+ Or via CLI:
56
+
57
+ ```bash
58
+ huggingface-cli download LakshC/SynthBench --repo-type dataset
59
+ ```
60
+
61
+ ## Associated Code
62
+
63
+ GitHub: [https://github.com/LakshC/SynthBench](https://github.com/LakshC/SynthBench)
64
+
65
+ ## Model
66
+
67
+ All checkpoints are ResNet-18 (via `timm`), fine-tuned for 6-class classification.