Imported from https://github.com/kenshohara/3D-ResNets-PyTorch