天天看點

單目3D人臉重建DECA

#SIGGRAPH2021單目3D人臉重建,皺紋可以随着表情而産生自然變化,更加逼真。

代碼已開源DECA: Learning an Animatable Detailed 3D Face Model from In-the-Wild Images 機關 | 馬普所

論文 | https://files.is.tue.mpg.de/black/papers/SIGGRAPH21_DECA.pdf

代碼 | https://github.com/YadiraF/DECA

首頁 | https://deca.is.tue.mpg.de/

開源了預訓練模型:

model_path="deca_model.tar"

 checkpoint = torch.load(model_path)

            self.checkpoint = checkpoint

            util.copy_state_dict(self.E_flame.state_dict(), checkpoint['E_flame'])

            util.copy_state_dict(self.E_detail.state_dict(), checkpoint['E_detail'])

            util.copy_state_dict(self.D_detail.state_dict(), checkpoint['D_detail'])

隻有torch能讀這個檔案,netorn打開失敗。

依賴項:pytorch3d

windows安裝方法,參考我的臉另一篇部落格:

ht