-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
🚀 Feature
Add --cache-images option to detect.py like train.py
Motivation
There R about 300k images in my--source directory, when i run detect.py, I noticed that it seems like load and test images one by one , and my pc sound "pew-pew-pew-pew..." like a rushing laser weapon, maybe the disk is trembling. And it consumes a long time.
Maybe cached option(read from disk, and test direct in RAM) can speedup ? Or yolov5 has integrated this featue and just not provide visible option for users?
Pitch
Add --cache-images option to detect.py like train.py
Alternatives
Maybe add a script that make a big cache file from --src imgs?
Additional context
None.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request