Downloads · 30 days
4
9% of all-time downloads
weather-whiplash/vit-track-condition
vit-track-condition is a image classification model from weather-whiplash. Use it when you need a label for an image. The card lists the license as apache-2.0.
Classifies a racing-surface frame as Dry / Damp / Drying / Wet.
Downloads · 30 days
4
9% of all-time downloads
All-time downloads
46
Public
Parameters
85.8M
343 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
Classifies a racing-surface frame as Dry / Damp / Drying / Wet.
Fine-tuned from google/vit-base-patch16-224-in21k on trackside motorsport
imagery collected from Wikimedia Commons. Built for Weather Whiplash, a live
track-condition detector for race strategy.
from transformers import pipeline
pipe = pipeline("image-classification", model="weather-whiplash/vit-track-condition")
pipe("trackside_frame.jpg")
CLIP zero-shot with surface-worded prompts is a reasonable baseline and is kept
in the project as a fallback, but it confuses an overcast sky with a wet surface
and cannot represent Drying (a dry racing line on wet asphalt) at all -
there is no natural-language prompt that reliably isolates it.
Per-class on the held-out test split:
| Class | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| Damp | 0.40 | 0.67 | 0.50 | 6 |
| Dry | 0.92 | 0.79 | 0.85 | 29 |
| Wet | 0.89 | 0.89 | 0.89 | 36 |
The test split is hand-verified, so these numbers are measured against human labels rather than triage output.
Decision support for race strategy, not an autonomous decision-maker. A single frame is never enough to call "drying" - that requires the trend layer in the project repo, which reads direction of change across a rolling window of frames.
Training data skews to Formula One and European circuits. Expect degradation on night races, heavy motion blur, unusual surfaces (street circuits, gravel) and other series.
See the companion dataset. Images are CC-BY / CC-BY-SA from Wikimedia Commons with per-image attribution retained.