mit-han-lab / temporal-shift-module

[ICCV 2019] TSM: Temporal Shift Module for Efficient Video Understanding
https://arxiv.org/abs/1811.08383
MIT License
2.05k stars 418 forks source link

Online demo performance tuning #71

Open ragavendrams opened 4 years ago

ragavendrams commented 4 years ago

Hi, I am running the online demo on the Jetson TX2 and i find that the result is not really real time. This might be because the released code for the demo does not use TVM autotuning. There seems to be no pretuned logs for the Nano on TVM tophub. Hence i am not able to reproduce the results on the paper. @tonylins : Could you please let me know how you achieved 25-30 FPS on the Jetson Nano?

Thank you for your help and looking forward to your reply.

tonylins commented 4 years ago

Hi, the release code does have TVM part. One of the most usual problems is camera IO. You may want to reduce the image resolution from the camera. I set it in the code, but it does not always work from time to time.