{ "k": "5", "n_synthetic": 100, "models": { "real_only": { "run_id": "leather-real-k5-cp0-syn0-s0", "seed": "0", "val_mask_map50": "0.76267", "test_mask_map50": "0.62173" }, "genai": { "run_id": "leather-synthetic-k5-cp0-syn100-s0", "seed": "0", "val_mask_map50": "0.66089", "test_mask_map50": "0.83717" } }, "detect": { "conf": 0.25, "iou": 0.5, "imgsz": 512 }, "links": { "github": "https://github.com/Adarshpandey108/defectgen", "lora": "https://huggingface.co/adarsh108/defectgen-leather-lora" }, "classes": [ "color", "cut", "fold", "glue", "poke" ], "headline": "With 5 real defect images per class, adding 100 GenAI synthetic defects per class raised mask mAP50 from 0.653 ± 0.066 to 0.786 ± 0.053 (mean ± std of 3 seeds, real-only test set), on par with copy-paste (0.765 ± 0.015) within seed noise. With 3 real images: 0.600 ± 0.025 → 0.623 ± 0.057, within seed noise; with all real images: 0.742 ± 0.051 → 0.809 ± 0.040, a gain beyond seed noise. Copy-paste stays ahead of GenAI with 3 real and all real images.", "tables": { "main": "
Real images per type (K)Real only+ Copy-paste+ GenAI synthetic (best on val)+ Both
30.600 ± 0.0250.743 ± 0.0350.623 ± 0.057 (50/type)0.743 ± 0.040 (50/type)
50.653 ± 0.0660.765 ± 0.0150.786 ± 0.053 (100/type)not run
All (8–10)0.742 ± 0.0510.923 ± 0.0180.809 ± 0.040 (100/type)not run
", "grid": "
K0/type val · test50/type val · test100/type val · test200/type val · test
30.508 · 0.600 ± 0.0250.583 · 0.623 ± 0.0570.532 · 0.631 ± 0.0630.471 · 0.700 ± 0.044
50.655 · 0.653 ± 0.0660.571 · 0.718 ± 0.0720.626 · 0.786 ± 0.0530.615 · 0.668 ± 0.092
All (8–10)0.711 · 0.742 ± 0.0510.686 · 0.771 ± 0.0440.729 · 0.809 ± 0.0400.622 · 0.837 ± 0.061
", "per_class": "
KMethodcolorcutfoldgluepoke
3Real only0.620.640.420.960.36
3+ Copy-paste0.840.970.320.980.61
3+ GenAI0.810.590.340.970.40
5Real only0.700.690.400.970.50
5+ Copy-paste0.930.750.751.000.39
5+ GenAI0.900.890.750.970.41
All (8–10)Real only0.870.650.701.000.49
All (8–10)+ Copy-paste0.981.000.961.000.68
All (8–10)+ GenAI0.980.860.741.000.46
", "generation": "
KDefectAccepted / attemptedKID GenAI · copy-pasteReal-vs-fake acc. GenAI · copy-paste
3color200 / 200 (100%)0.075 · 0.0240.98 · 0.86
3cut200 / 201 (100%)0.059 · 0.0370.84 · 0.79
3fold200 / 582 (34%)0.086 · 0.0470.93 · 0.90
3glue200 / 200 (100%)0.050 · 0.0310.94 · 0.80
3poke200 / 201 (100%)0.069 · 0.0490.96 · 0.91
5color200 / 214 (93%)0.043 · 0.0240.96 · 0.89
5cut200 / 201 (100%)0.071 · 0.0400.86 · 0.75
5fold200 / 371 (54%)0.074 · 0.0470.94 · 0.87
5glue200 / 200 (100%)0.045 · 0.0340.92 · 0.76
5poke200 / 200 (100%)0.080 · 0.0450.96 · 0.92
All (8–10)color200 / 200 (100%)0.052 · 0.0210.96 · 0.84
All (8–10)cut200 / 201 (100%)0.052 · 0.0310.79 · 0.69
All (8–10)fold200 / 214 (93%)0.088 · 0.0340.97 · 0.86
All (8–10)glue200 / 232 (86%)0.044 · 0.0190.84 · 0.70
All (8–10)poke200 / 216 (93%)0.063 · 0.0350.94 · 0.92
" }, "examples": [ "examples/color_004.jpg", "examples/cut_004.jpg", "examples/fold_000.jpg", "examples/glue_011.jpg", "examples/poke_001.jpg", "examples/good_000.jpg" ], "gallery": [ { "file": "gallery/k3_syn_color_0000.jpg", "caption": "color · trained on 3 real color defects", "defect": "color", "k": "3" }, { "file": "gallery/k3_syn_color_0001.jpg", "caption": "color · trained on 3 real color defects", "defect": "color", "k": "3" }, { "file": "gallery/k3_syn_color_0002.jpg", "caption": "color · trained on 3 real color defects", "defect": "color", "k": "3" }, { "file": "gallery/k3_syn_cut_0000.jpg", "caption": "cut · trained on 3 real cut defects", "defect": "cut", "k": "3" }, { "file": "gallery/k3_syn_cut_0001.jpg", "caption": "cut · trained on 3 real cut defects", "defect": "cut", "k": "3" }, { "file": "gallery/k3_syn_cut_0002.jpg", "caption": "cut · trained on 3 real cut defects", "defect": "cut", "k": "3" }, { "file": "gallery/k3_syn_fold_0000.jpg", "caption": "fold · trained on 3 real fold defects", "defect": "fold", "k": "3" }, { "file": "gallery/k3_syn_fold_0001.jpg", "caption": "fold · trained on 3 real fold defects", "defect": "fold", "k": "3" }, { "file": "gallery/k3_syn_fold_0002.jpg", "caption": "fold · trained on 3 real fold defects", "defect": "fold", "k": "3" }, { "file": "gallery/k3_syn_glue_0000.jpg", "caption": "glue · trained on 3 real glue defects", "defect": "glue", "k": "3" }, { "file": "gallery/k3_syn_glue_0001.jpg", "caption": "glue · trained on 3 real glue defects", "defect": "glue", "k": "3" }, { "file": "gallery/k3_syn_glue_0002.jpg", "caption": "glue · trained on 3 real glue defects", "defect": "glue", "k": "3" }, { "file": "gallery/k3_syn_poke_0000.jpg", "caption": "poke · trained on 3 real poke defects", "defect": "poke", "k": "3" }, { "file": "gallery/k3_syn_poke_0001.jpg", "caption": "poke · trained on 3 real poke defects", "defect": "poke", "k": "3" }, { "file": "gallery/k3_syn_poke_0002.jpg", "caption": "poke · trained on 3 real poke defects", "defect": "poke", "k": "3" }, { "file": "gallery/kall_syn_color_0000.jpg", "caption": "color · trained on all real color defects", "defect": "color", "k": "all" }, { "file": "gallery/kall_syn_color_0001.jpg", "caption": "color · trained on all real color defects", "defect": "color", "k": "all" }, { "file": "gallery/kall_syn_color_0002.jpg", "caption": "color · trained on all real color defects", "defect": "color", "k": "all" }, { "file": "gallery/kall_syn_cut_0000.jpg", "caption": "cut · trained on all real cut defects", "defect": "cut", "k": "all" }, { "file": "gallery/kall_syn_cut_0001.jpg", "caption": "cut · trained on all real cut defects", "defect": "cut", "k": "all" }, { "file": "gallery/kall_syn_cut_0002.jpg", "caption": "cut · trained on all real cut defects", "defect": "cut", "k": "all" }, { "file": "gallery/kall_syn_fold_0000.jpg", "caption": "fold · trained on all real fold defects", "defect": "fold", "k": "all" }, { "file": "gallery/kall_syn_fold_0001.jpg", "caption": "fold · trained on all real fold defects", "defect": "fold", "k": "all" }, { "file": "gallery/kall_syn_fold_0002.jpg", "caption": "fold · trained on all real fold defects", "defect": "fold", "k": "all" }, { "file": "gallery/kall_syn_glue_0000.jpg", "caption": "glue · trained on all real glue defects", "defect": "glue", "k": "all" }, { "file": "gallery/kall_syn_glue_0001.jpg", "caption": "glue · trained on all real glue defects", "defect": "glue", "k": "all" }, { "file": "gallery/kall_syn_glue_0002.jpg", "caption": "glue · trained on all real glue defects", "defect": "glue", "k": "all" }, { "file": "gallery/kall_syn_poke_0000.jpg", "caption": "poke · trained on all real poke defects", "defect": "poke", "k": "all" }, { "file": "gallery/kall_syn_poke_0001.jpg", "caption": "poke · trained on all real poke defects", "defect": "poke", "k": "all" }, { "file": "gallery/kall_syn_poke_0002.jpg", "caption": "poke · trained on all real poke defects", "defect": "poke", "k": "all" } ], "plots": [ "results/plots/map_vs_synthetic.png", "results/plots/per_class_ap.png" ], "grids": [ "results/grids/k3_color.jpg", "results/grids/k3_cut.jpg", "results/grids/k3_fold.jpg", "results/grids/k3_glue.jpg", "results/grids/k3_poke.jpg", "results/grids/k5_color.jpg", "results/grids/k5_cut.jpg", "results/grids/k5_fold.jpg", "results/grids/k5_glue.jpg", "results/grids/k5_poke.jpg", "results/grids/kall_color.jpg", "results/grids/kall_cut.jpg", "results/grids/kall_fold.jpg", "results/grids/kall_glue.jpg", "results/grids/kall_poke.jpg" ] }