Open ljchang opened 11 months ago
@ljchang I've also added some more detailed profiling instructions here using snakeviz
One immediate optimization in our default AU model (XGB) is that we reload model weights each time we want to do a detection instead of just once during initialization like the SVM model. This should be a pretty quick fix.
Many py-feat users have reported slow inference when detecting facial expression features. We would like to find ways to speed this up.
We were hoping users might be able to share some data to help us identify where we should focus our efforts.
First, initialize a detector and load our test images
Next run each individual detector and save the run time in milliseconds for the single_image test.
Finally, run each individual detector on the multi_image test and save the run time in milliseconds.
Please post your results in this google sheet along with some information about your system.
We are hoping to get data on a wide variety of computing systems with CPUs and GPUs