gaur3009 commited on
Commit
0c09bb4
·
verified ·
1 Parent(s): c8cf89e

Update warp_design_on_dress.py

Browse files
Files changed (1) hide show
  1. warp_design_on_dress.py +2 -3
warp_design_on_dress.py CHANGED
@@ -26,9 +26,8 @@ def run_design_warp_on_dress(dress_path, design_path, gmm_ckpt, tom_ckpt, output
26
  # Fake agnostic: use the dress image itself
27
  agnostic = dress_tensor.clone()
28
 
29
- opt = Options()
30
- gmm = GMM(opt)
31
- load_checkpoint(gmm, gmm_ckpt, strict = False)
32
  gmm.cpu().eval()
33
 
34
  with torch.no_grad():
 
26
  # Fake agnostic: use the dress image itself
27
  agnostic = dress_tensor.clone()
28
 
29
+ gmm = GMM(opt = None)
30
+ load_checkpoint(gmm, gmm_ckpt)
 
31
  gmm.cpu().eval()
32
 
33
  with torch.no_grad():