Slow inference and low GPU use.
Author: sharp-tricksterCreated Nov 2, 2022Updated Jun 10, 2026
The inference.py and its running at ~4.2it/s. It barely loads my RTX2060 (0-13% use) The inference_speed_test script gives me ~33.2it/s on the same model and video settings. Changing the --workers on the convert_video() function did nothing. Am I missing something? How can I run inferences faster using the full hardware potential?
Thanks.
Source: PeterL1n/RobustVideoMatting