Skip to content

Commit

Permalink
remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
leix28 committed Sep 11, 2020
1 parent 4154fa9 commit ab21e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctgan/synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def save(self, path):

# always save a cpu model.
device_bak = self.device
self.device = self.device = torch.device("cpu")
self.device = torch.device("cpu")
self.generator.to(self.device)
self.discriminator.to(self.device)

Expand Down

0 comments on commit ab21e59

Please sign in to comment.