This repository contains the implementation of a traffic light detection model fine-tuned using YOLOv5 on a custom dataset. The dataset is provided by Roboflow.
Traffic light detection is a critical component in autonomous driving systems. This project aims to fine-tune a pre-trained YOLOv5 model to accurately detect traffic lights in images. Paper
The dataset used for this project is available on Roboflow and includes images and annotations for traffic lights. You can download the dataset from here.
To get started, clone this repository and install the necessary dependencies:
git clone https://github.com/ultralytics/yolov5.git
and split train-valid dataset
Use the following command to start training:
python train.py --img 360 --batch 256 --epochs 50 --data ../data.yaml --cfg models/yolov5s.yaml --weights yolov5s.pt --name traffic_light_yolov5s_results --entity taewan2002 --project traffic_light_yolov5s
Test modal with this camera
Convert the model
Apply the model
Test the model with camera
It works well!!
How about vision-language model (VLM), PaliGemma-3b link