next
This commit is contained in:
+3
-3
@@ -594,10 +594,10 @@ class Solver(object):
|
||||
|
||||
for i, (x_real, c_org) in enumerate(data_loader):
|
||||
# Black image
|
||||
black = np.zeros((1,3,256,256))
|
||||
black = torch.FloatTensor(black).to(self.device)
|
||||
# black = np.zeros((1,3,256,256))
|
||||
# black = torch.FloatTensor(black).to(self.device)
|
||||
|
||||
# black = torch.FloatTensor(torch.rand((1,3,256,256))).to(self.device)
|
||||
black = torch.FloatTensor(torch.rand((1,3,256,256))).to(self.device)
|
||||
|
||||
# Prepare input images and target domain labels.
|
||||
x_real = x_real.to(self.device)
|
||||
|
||||
Reference in New Issue
Block a user