I let device = torch.device('cpu') in detect_video.py, then the speed drop dramatically from 60fps to 2fps.