hollance / YOLO-CoreML-MPSNNGraph

Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.
MIT License
935 stars 252 forks source link

FPS go down when app runs a few minutes #31

Closed haemi closed 6 years ago

haemi commented 6 years ago

on my iPhone X, the FPS from the demo app (coreml) starts at around 22/23 fps but goes down slowly but steadily - after ~ 2 minutes to about 13 fps - without moving the phone, just laying on the table.

hollance commented 6 years ago

How hot is the phone at that point? The GPU will automatically throttle down when it gets too warm.

haemi commented 6 years ago

it is hot, so that would explain that. Ich guess that cant be avoided?

hollance commented 6 years ago

It will also use a lot of battery power if you run this for an extended amount of time. YOLO isn't particularly efficient so I actually don't recommend using it on mobile, especially now that SSDLite is available.