Skip to content

Commit

Permalink
Fixed RuntimeError: CUDA out of memory
Browse files Browse the repository at this point in the history
Dok11 committed Jan 9, 2021
1 parent 147527c commit 0986c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightweight_gan/lightweight_gan.py
Original file line number Diff line number Diff line change
@@ -1065,7 +1065,7 @@ def train(self):
self.steps += 1

@torch.no_grad()
def evaluate(self, num = 0, num_image_tiles = 8, trunc = 1.0):
def evaluate(self, num = 0, num_image_tiles = 4, trunc = 1.0):
self.GAN.eval()

ext = self.image_extension

0 comments on commit 0986c3a

Please sign in to comment.