Skip to content

Commit 504715d

Browse files
authored
Update RevIN.py
1 parent 71fbd49 commit 504715d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

RevIN.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ def _normalize(self, x):
4444
x = x / self.stdev
4545
if self.affine:
4646
x = x * self.affine_weight
47-
x = x.to(device)
47+
# For Single-GPU users, if not, please not use it.
48+
# x = x.to(device)
4849
x = x + self.affine_bias
49-
x = x.to(device)
50+
#x = x.to(device)
5051
return x
5152

5253
def _denormalize(self, x):

0 commit comments

Comments
 (0)