HumanFallDetection icon indicating copy to clipboard operation
HumanFallDetection copied to clipboard

FPS is very low

Open willswordh opened this issue 1 year ago • 2 comments

I ran the program on a MacBook m2 chip, the FPS is around 1 and 2. What is the cause behind this? Thanks

willswordh avatar Jun 22 '23 16:06 willswordh

I guess it requires a good gpu to do the task?

willswordh avatar Jun 22 '23 22:06 willswordh

The library is tested using CUDA-based GPUs on Ubuntu. Since we use PyTorch for the ML model, you should be able to run it using Apple's M1/M2 GPUs with MLP acceleration that provides an inference speedup of around 10x-20x.

Feel free to open up a PR if any changes are required to run the library on Apple M-chip GPUs!

taufeeque9 avatar Jun 27 '23 15:06 taufeeque9