Spaces:
Running
Running
firatozdemir
commited on
Commit
•
cc9a06d
1
Parent(s):
60eed5d
bugfix
Browse files
utils.py
CHANGED
@@ -14,7 +14,7 @@ class SampleFromGAN:
|
|
14 |
z = torch.randn(self.z_shp)
|
15 |
if self.in_gpu:
|
16 |
z = z.cuda()
|
17 |
-
ims = G(z, c=None)
|
18 |
ims = ims[:,0,...]
|
19 |
return ims
|
20 |
|
|
|
14 |
z = torch.randn(self.z_shp)
|
15 |
if self.in_gpu:
|
16 |
z = z.cuda()
|
17 |
+
ims = self.G(z, c=None)
|
18 |
ims = ims[:,0,...]
|
19 |
return ims
|
20 |
|