Imported from https://github.com/baowenbo/MEMC-Net
