Imported from https://github.com/lhaof/Motion-Guided-Attention