-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed as not planned
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonquestionFurther information is requestedFurther information is requested
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
Hi All,
I am trying to inference using yolo v5. Below is the setup being used:
System Configuration :
Operating system : Windows
Processor Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz
Installed RAM 8.00 GB (7.86 GB usable)
System type 64-bit operating system, x64-based processor
Setup:
Input source : Real time RTSP stream from IP camera
Output : Annotated frames
Code:
sample code is like
model = torch.hub.load('ultralytics/yolov5', 'yolov5s', pretrained=True, )
results = detection_model(frame)
labels, confidence, _ = results.xyxyn[0][:, -1], results.xyxyn[0][:, -2], results.xyxyn[0][:, :-1]
detections = results.pred[0]
dets_prod = detections.to("cpu")
Current metrics
Able to process 30 frames in 6 seconds i.e. getting a output @ 5FPS
Question :
My Constraint is I have to run it on a CPU.
- My input stream is at 30FPS. With Yolo v5 running on CPU, can i achieve the rate of 30FPS?
- Is it possible to achieve 30FPS on a more powerful machine in terms of RAM and process(No GPU)
Additional
No response
Metadata
Metadata
Assignees
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonquestionFurther information is requestedFurther information is requested