Skip to content

Commit

Permalink
Update modelsRig.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiePython authored Jul 18, 2022
1 parent 3b63d28 commit 4660a56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions models/modelsRig.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@ def forward_test(self, latent_w, pca_id, pca_val):
if self._model_name == 'RIGModelS':
What = self.RigNetDecoder.forwardShape(I, Pv, latent_w, Pw)
elif self._model_name == 'RIGModelE':
What = self.RigNetDecoder.forwardExpression(I, Pv, latent, Pw)
What = self.RigNetDecoder.forwardExpression(I, Pv, latent_w, Pw)
elif self._model_name == 'RIGModelP':
What = self.RigNetDecoder.forwardPose(I, Pv, latent, Pw)
What = self.RigNetDecoder.forwardPose(I, Pv, latent_w, Pw)
elif self._model_name == 'RIGModelL':
What = self.RigNetDecoder.forwardLight(I, Pv, latent, Pw)
What = self.RigNetDecoder.forwardLight(I, Pv, latent_w, Pw)
elif self._model_name == 'RIGModelA':
What = self.RigNetDecoder.forwardAlbedo(I, Pv, latent, Pw)
What = self.RigNetDecoder.forwardAlbedo(I, Pv, latent_w, Pw)

WhatF = What.view(1, -1)
Pwhat = self.APNet(WhatF)
Expand Down

0 comments on commit 4660a56

Please sign in to comment.