Views
No views yet
swin_base512x512Truerank=8, alpha=16.0, dropout=0.050.550,000 / 5,000| Metric | Value |
|---|---|
| Best epoch | 7 |
| Val IoU | 0.9487 |
| Val Dice | 0.9736 |
| Val Precision | 0.9723 |
| Val Recall | 0.9751 |
| Epochs completed | 10 |
| Avg epoch time (sec) | 3546.45 |
| Split | IoU | Dice | Precision | Recall |
|---|---|---|---|---|
| Fine-tuned test | 0.9368 | 0.9674 | 0.9651 | 0.9697 |
| Fine-tuned test_hard | 0.9393 | 0.9687 | 0.9663 | 0.9711 |
| Baseline SegFace test | 0.1360 | 0.2394 | 0.1360 | 1.0000 |
| Baseline SegFace test_hard | 0.1803 | 0.3055 | 0.1803 | 1.0000 |
0.1360 to 0.9368 (+0.8008).0.2394 to 0.9674 (+0.7280).0.1803 to 0.9393 (+0.7590).0.3055 to 0.9687 (+0.6632).50,000 / 5,000 / 921 / 15000top-improved, previews: 12ad5c2098-485e-48d7-979b-6190bb01e7a2: baseline IoU 0.0481 -> fine-tuned IoU 0.9751 (+0.9270).
top-improved, previews: 4ccfa01f0-1b0a-4a39-a1c9-9d5c883f3fb2: baseline IoU 0.0707 -> fine-tuned IoU 0.9546 (+0.8839).
best.pt: inference checkpointconfig.json: training-time model configtraining_run_summary.json: run summary and validation metricsreports/*.json: hold-out test and baseline comparison reports when availablereports/mask_comparison/**: baseline vs fine-tuned qualitative comparison sheets and sample previews when availabledocs/test_split_summary.json: hold-out split summary when availableinference.py: local / Hub inference examplerequirements.txt: minimal runtime dependencieshair_mask_dataset/, models/: custom model code required to load the checkpoint1python -m pip install -r requirements.txt
2python inference.py --checkpoint best.pt --input path/to/input.jpg --output-mask output_mask.png --output-overlay output_overlay.png1python -m pip install -r requirements.txt
2python inference.py --repo-id siik/segface_hair_khairstyle --input path/to/input.jpg --output-mask output_mask.png --output-overlay output_overlay.png.jpg or .png512, ImageNet normalization, and sigmoid threshold 0.5.
