firatozdemir commited on
Commit
60eed5d
1 Parent(s): 3341213
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -43,4 +43,5 @@ def load_default_gen(in_gpu=False, fname_pkl=None):
43
  G = pickle.load(f)['G_ema'] # torch.nn.ModuleDict
44
  if in_gpu:
45
  G = G.cuda()
 
46
 
 
43
  G = pickle.load(f)['G_ema'] # torch.nn.ModuleDict
44
  if in_gpu:
45
  G = G.cuda()
46
+ return G
47