Spaces:
Running
Running
firatozdemir
commited on
Commit
•
60eed5d
1
Parent(s):
3341213
bugfix
Browse files
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 |
|