johnberg commited on
Commit
0bcc919
·
1 Parent(s): b88e502

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ input_transforms = transforms.Compose([
32
  transforms.ToTensor(),
33
  transforms.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
34
 
35
- model_path = "/scratch/users/aanees20/hpc_run/light_textmod/textmodulation/mapper/exp_ada5/checkpoints/best_model.pt"
36
- e4e_path = 'e4e_ffhq_encode.pt' # "/scratch/users/abaykal20/hpc_run/sam/SAM/pretrained_models/e4e_ffhq_encode.pt"
37
 
38
  ckpt = torch.load(model_path, map_location='cpu')
39
  opts = ckpt['opts']
 
32
  transforms.ToTensor(),
33
  transforms.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
34
 
35
+ model_path = 'pretrained_faces.pt'
36
+ e4e_path = 'e4e_ffhq_encode.pt'
37
 
38
  ckpt = torch.load(model_path, map_location='cpu')
39
  opts = ckpt['opts']