Commit
·
f52bcf2
1
Parent(s):
1b17997
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -32,6 +32,6 @@ class PreTrainedPipeline():
|
|
32 |
class_vector = torch.from_numpy(class_vector)
|
33 |
|
34 |
with torch.no_grad():
|
35 |
-
output = self.model(noise_vector, class_vector, truncation)
|
36 |
|
37 |
return transforms.ToPILImage()(output[0])
|
|
|
32 |
class_vector = torch.from_numpy(class_vector)
|
33 |
|
34 |
with torch.no_grad():
|
35 |
+
output = self.model(noise_vector, class_vector, self.truncation)
|
36 |
|
37 |
return transforms.ToPILImage()(output[0])
|