Skip to content

v0.6.0

Compare
Choose a tag to compare
@ejolly ejolly released this 10 Jul 22:53
· 142 commits to main since this release

0.6.0

Notes

This is a large model-update release. Several users noted issues with our AU models due to problematic HOG feature extraction. We have now retrained all of our models that were affected by this issue. This version will automatically download the new model weights and use them without any additional user input.

Detector Changes

We have made the decision to make video processing much more memory efficient at the trade-off of increased processing time, e.g. #139. Previously py-feat would load all frames into RAM and then process them. This was problematic for large videos and would cause kernel panics or system freezes. Now, py-feat will lazy-load video-frames one at a time, which scales to videos of any length or size assuming that your system has enough RAM to hold a few frames in memory (determined by batch_size). However, this also makes processing videos a bit slower and GPU benefits less dramatic. We have made this trade-off in favor of an easier end-user experience, but will be watching torch's VideoReader implementation closely and likely use that in future versions.

Fixes