PPE-YOLOv5
A YOLOv5s detector trained to spot safety helmets and other protective equipment on workers in real time.
Detection and tracking · 248 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 7M
- Operations
- 248
- Framework
- PyTorch
- Recurrent
- No
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19172
- Graph hash
- fde176eab0099d1aef56a48cdce91ea530b167574bb75b27e10ed1d3d33e9931
- Skeleton hash
- c4c0a9136d3d676c0e1102e84e0376ed06a319ef3c42d700b69bd8730f5b7995
- Architecture hash
- e46fd6966927d031e72a673978aa3869dc4f26534307d12147cf78085c49d3a9
- Diagram SHA-256
- 6d17242957fd9290395becb0192d4b168f81834581e0e886761d9505a6c97176
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a YOLOv5 detector trained to check, in real time, whether workers in industrial settings are wearing safety helmets. The project's stated motivation is that warnings about missing helmets are needed for worker safety, while managers cannot always be present.
Training used the YOLOv5s configuration, starting from the yolov5s.pt weights, at an image size of 640 for 50 epochs. The project's sample detection output shows that the classes go beyond helmets, listing Hardhats, No-Masks, a No-Safety Vest, Persons, Safety Vests, machinery and vehicles.
The same project also trained YOLOv8 on the same custom dataset, to compare the two and decide which is more suitable for an actual industrial setting. The authors report that YOLOv5 reached a mAP 50 equivalent to 80% and a mAP 50:95 of approximately 50% on their dataset. The project's inference log reports 157 layers, 7037095 parameters and 15.8 GFLOPs for the fused model.
Key idea. The project demonstrates that a usable real-time helmet detector can be built by training YOLO on a limited custom dataset.
- PPE-YOLOv5
- Safety Helmet YOLO
- safety helmet detection
- hardhat detection
- PPE detection
- personal protective equipment
- real-time object detection
- industrial safety
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.