SIGN IN SIGN UP
ultralytics / yolov5 UNCLAIMED

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite

0 0 59 Python

Validate local detect sources before inference

Add early local source validation to detect.py so missing local files and directories fail clearly before model setup. Preserve URL, webcam, screenshot, and matching glob behavior.\n\nThanks @Isha2790 for the contribution.
I
Isha Choudhary committed
dc372d95e9ae8a9a1246f2c6f1d9da99b0e17f51
Parent: 6d6b4ec
Committed by GitHub <noreply@github.com> on 4/23/2026, 10:40:33 PM