aijack commited on
Commit
804ca40
·
1 Parent(s): 4909045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ class ImageEditor(object):
80
 
81
  checkpoint = torch.load(model_paths[model], map_location=self.device)
82
 
83
- g_ema.load_state_dict(checkpoint['g_ema'])
84
 
85
  self.generators[model] = g_ema
86
 
 
80
 
81
  checkpoint = torch.load(model_paths[model], map_location=self.device)
82
 
83
+ g_ema.load_state_dict(checkpoint['g_ema'], strict=False)
84
 
85
  self.generators[model] = g_ema
86