Make sure that videos during testing are also presented to the model at the correct frame rate. Currently, they would be read at their original frame rate while assuming it to be the model frame rate, making them look slower or faster.
The uniform_frame_sample method has been extended to also handle the case of upsampling
A VideoSource can now have a target_fps defined. If this is given, the video is immediately read and resampled on initialization.
This same mechanism is now used in both training and testing
Make sure that videos during testing are also presented to the model at the correct frame rate. Currently, they would be read at their original frame rate while assuming it to be the model frame rate, making them look slower or faster.
uniform_frame_sample
method has been extended to also handle the case of upsamplingVideoSource
can now have atarget_fps
defined. If this is given, the video is immediately read and resampled on initialization.This is a different approach to #155