Open ppjjhh0911 opened 2 years ago
Oh, you need to add the 'arch' attribute to the checkpoint file. For now copy it from the provided reenactment model.
File "/data/dev/projects/fsgan/train_inpainting.py", line 266, in main Gr = obj_factory(checkpoint['arch']).to(device)
train_inpainting.py", line 266, in main -> Gc_path = os.path.join(checkpoint_dir, 'Gc_latest.pth')
But,I'm Got (D_best.pth,D_latest.pth,G_best.pth,G_latest.pth) from training face reenactment. Where is Gc_latest.pth?Is Gc_latest.pth a replacement for G_latedst.pth?
Im solved it . https://cchhoo407.tistory.com/37
I'm trying to copy with provided reenactment model(ijbc_msrunet_reenactment_attr_no_seg.py,train_reenactment_attr.py,train_blending.py). After trying the training face reenactment script, the weights created were copied to the swapping folder.When I tried the next step, Training face blending, I got this error.
@YuvalNirkin
I'm trying to copy arch attribute with train_reenacted_attr_no_sev_v2_1.py
'arch': G_arch'
'arch': D_arch'
When I tried the next step, Training face blending, I got this error.
I am following Training face inpainting. How to solve Gr = obj_factory(checkpoint['arch']).to(device) KeyError: 'arch' I also wrote the reenactment_model location correctly. @YuvalNirkin