Downloads · 30 days
7
3% of all-time downloads
0408happyfeet/duo-image-best
duo-image-best is a image classification model from 0408happyfeet. Use it when you need a label for an image. It is set up for transformers. The card lists the license as mit.
Task: Binary image classification Dataset: scottymcgee/duo-image-dataset Backbone (selected via a small AutoML sweep): google/vit-base-patch16-224 Input resolution: 224×224
Downloads · 30 days
7
3% of all-time downloads
All-time downloads
234
Public
Parameters
85.8M
21.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt9.6 GB · 67%
From the Hugging Face model README
Task: Binary image classification
Dataset: scottymcgee/duo-image-dataset
Backbone (selected via a small AutoML sweep): google/vit-base-patch16-224
Input resolution: 224×224
preprocessor_config.json)Early stopping was used (patience=2). Best eval_accuracy = 1.0000 at epoch 5; training stopped at epoch 5 after 0 non-improvement evals. Best checkpoint: runs/vit-base-patch16-224/run-0/checkpoint-40.

Accuracy: 1.000 • Macro F1: 1.000 • Weighted F1: 1.000
| class | precision | recall | f1 | support |
|---|---|---|---|---|
| duo | 1.000 | 1.000 | 1.000 | 25 |
| no_duo | 1.000 | 1.000 | 1.000 | 15 |
Confusion matrix

Classify images into duo vs no_duo to demonstrate a compact, reproducible fine‑tuning and AutoML workflow for small image datasets (course project / teaching demo).
Origin: scottymcgee/duo-image-dataset (peer‑provided).
Splits used: All original images reserved for test; augmented split used for train/val with a stratified 85/15 split. No augmented views of test originals are used at train/val (leakage guard).
Features: RGB images, expected 224×224 after preprocessing (resize + center crop + normalize).
Target labels: duo, no_duo.
Backbone: google/vit-base-patch16-224 (best).
Optimizer: AdamW (Transformers default).
Batch sizes: train 16 or 32, eval 64.
Scheduler: cosine or linear (selected by HPO).
Epochs & early stopping: early stopping with patience=2; best epoch and checkpoint recorded on the card.
We performed a small budgeted HPO sweep across four backbones (ViT‑B/16, ConvNeXt‑T, ResNet‑50, Swin‑T) and tuned:
learning_rate: 5e‑6 → 5e‑4 (log‑uniform)weight_decay: 1e‑6 → 5e‑3 (log‑uniform)warmup_ratio: 0.0 → 0.1per_device_train_batch_size: 16 or 32lr_scheduler_type: cosine or linearlabel_smoothing_factor: 0.0 → 0.2google/vit-base-patch16-224) fine‑tuned with Hugging Face Transformers.MIT (see repository header).