CoolFace
Modelpublic

star092304/traffic-sign-detection-vietnam-yolo

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
2likes60downloads
Model Card

๐Ÿšฆ Traffic Sign Detection โ€” Vietnam (YOLO11s)

![YOLO](https://github.com/ultralytics/ultralytics) ![Dataset](https://huggingface.co/datasets/star092304/Traffic-sign-detection-VietNam)

YOLO11s model trained on the Vietnam Traffic Sign Detection dataset.

PropertyValue
ModelYOLO11s
Classes82 Vietnamese traffic signs
Image size640ร—640
FrameworkUltralytics
Dataset SourceHugging Face

Evaluation Results

Below is the summary of the evaluation results from evalution/summary.json:

MetricValue
Modelyolo11s.pt
Epochs Trained50
Number of Classes82
DeviceGPU
Precision96.42% (0.9642)
Recall96.15% (0.9615)
mAP5098.06% (0.9806)
mAP7593.37% (0.9337)
mAP50-9583.57% (0.8357)
FPS61.5
Mean Latency16.25 ms
p50 Latency15.03 ms
p95 Latency22.59 ms
Min Latency13.44 ms
Max Latency23.24 ms

Visualizations

Training Curves

[image]

Results

[image]

Random Predictions (Inference)

[image]

Files

FileDescription
best.ptPyTorch weights (main model)
best.onnxONNX export (CPU/edge deploy)
data.yamlDataset config with class names
config.jsonTraining hyperparameters
metrics.jsonTest-set evaluation results
benchmark.jsonFPS / latency results
summary.jsonAll metrics combined

Quick Start

python
from ultralytics import YOLO

# PyTorch
model = YOLO("best.pt")
results = model("image.jpg", conf=0.25)
results[0].show()

# ONNX (faster on CPU)
model_onnx = YOLO("best.onnx")
results = model_onnx("image.jpg")

CLI Inference

bash
python infer.py --source image.jpg
python infer.py --source video.mp4 --save
python infer.py --source 0 --show          # webcam

Training Details

  • โ€”Base model: yolo11s.pt (pretrained COCO)
  • โ€”Early stopping: patience=20
  • โ€”Dataset cache: enabled (faster I/O)
  • โ€”Seed: 42 (reproducible)
  • โ€”Optimizer: auto (AdamW)