files like scene_0183.pth missing
Closed this issue · 2 comments
kys321 commented
Thanks for your work. But I have a question while running mode 'transfer',which needs latent_code like 'demo/transfer_exp/scene_0183.pth',how can I obtain these files?
olivia23333 commented
You can save the latent code for generated avatar by utilizing torch.save in def eval_and_viz(self, data, decoder, code, viz_dir=None, cfg=dict(), ortho=True, recon=False, return_norm=False):
inE3Gen/lib/models/autodecoders/base_nerf.py
defined in Line 515. You can also fit latent code to multi-view images while freezing the decoder and diffusion parameter and then save the latent code.
kys321 commented
GOT it! tks for your reply.