Skip to content

Commit

Permalink
reconstructing ref mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun738 committed May 25, 2022
1 parent afe5526 commit 46c760b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions model/fit_i3DMM_to_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ def empirical_stat(latent_vecs, indices):
decoder_col.load_state_dict(saved_model_state_col["model_state_dict"])
else:
saved_model_epoch = saved_model_state_ref["epoch"]
saved_model_state_col = torch.load(
os.path.join(
exp_directory, ws.model_params_subdir, args.checkpoint + "_col.pth"
)
)
decoder_col.load_state_dict(saved_model_state_col["model_state_dict"])
# saved_model_state_col = torch.load(
# os.path.join(
# exp_directory, ws.model_params_subdir, args.checkpoint + "_col.pth"
# )
# )
# decoder_col.load_state_dict(saved_model_state_col["model_state_dict"])


decoder_deform = decoder_deform.module.cuda()
Expand Down

0 comments on commit 46c760b

Please sign in to comment.