How to test the FPS?
y-kl8 opened this issue · 1 comments
y-kl8 commented
LikeLy-Journey commented
You can reference this: https://github.com/juntang-zhuang/ShelfNet/blob/citys_lw/ShelfNet18_realtime/test_speed.py. Your test script contain the time of copying output tensor from gpu to cpu, which may take much more time than model inference because the size of output tensor is large.