Make sure git-xet is installed (https://hf.co/docs/hub/git-xet)

brew install git-xet git xet install

git clone https://huggingface.co/asahiner/car-warning-light-detection

If you want to clone without large files - just their pointers

GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/asahiner/car-warning-light-detection

Make sure the hf CLI is installed

curl -LsSf https://hf.co/cli/install.sh | bash

Download the model

hf download asahiner/car-warning-light-detection


πŸš— Car Warning Light Detection

An open-source deep learning model that detects and classifies vehicle dashboard warning lights from images.

The model supports both mobile inference (ONNX) and web/server inference (PyTorch) and is designed to work in real-world conditions with multiple warning lights visible at once.


πŸ” What it does

  • Detects multiple warning lights in a single dashboard image
  • Classifies 68 different warning light types
  • Provides confidence scores
  • Designed for AI-assisted vehicle diagnostics
  • Works with:
    • πŸ“± Mobile apps (ONNX)
    • 🌐 Web / backend servers (PyTorch)

πŸ–ΌοΈ Demo / Screenshots

Screenshot_20260115_023301 Screenshot_20260115_023408 Screenshot_20260115_023449


🧠 Model Architecture

  • Backbone: ResNet50
  • Input size: 3 Γ— 224 Γ— 224
  • Head:
    • Dropout (0.3)
    • Linear (2048 β†’ 512)
    • ReLU
    • BatchNorm
    • Dropout (0.15)
    • Linear (512 β†’ 68)
  • Parameters: ~24.6M

Architecture definition:
πŸ“„ model_architecture.py


πŸ“¦ Files

File Description
car_warning_lights_resnet50.pth PyTorch weights (web/server inference)
car_warning_lights_resnet50.onnx ONNX model (mobile / edge inference)
model_architecture.py Model definition
README.md Model documentation

πŸš€ Usage

PyTorch

import torch
from model_architecture import create_model

model = create_model(num_classes=68)
model.load_state_dict(
    torch.load("car_warning_lights_resnet50.pth", map_location="cpu")
)
model.eval()
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support