This pull request adds a new feature that allows measuring the latency of video processing time. It includes the following commits:
feat: Add measure_latency option for video processing time
feat: monitor GPU memory usage
refactor: moved scheduler to utils folder
The changes include adding a new command-line argument --extra_measurements to enable measuring per video/frame latency and peak memory usage during evaluation. The GPU memory usage is monitored using the pynvml library. The code has been refactored to move the scheduler and GPU monitoring into separate files for better organization. Redundant code has been removed, and documentation has been added.
This pull request adds a new feature that allows measuring the latency of video processing time. It includes the following commits:
feat: Add measure_latency option for video processing time
feat: monitor GPU memory usage
refactor: moved scheduler to utils folder
The changes include adding a new command-line argument
--extra_measurements
to enable measuring per video/frame latency and peak memory usage during evaluation. The GPU memory usage is monitored using thepynvml
library. The code has been refactored to move the scheduler and GPU monitoring into separate files for better organization. Redundant code has been removed, and documentation has been added.