Pytorch Extract Features From Image