Skip to content

Commit

Permalink
Update train_lapgan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
witnessai authored Mar 27, 2018
1 parent f0bfe10 commit 7f223f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def run_LAPGAN(n_level=3, n_epoch=1, batch_size=256, use_gpu=True,

samples = LapGan_model.generate(n_sample)
current_time = time.strftime('%Y-%m-%d %H%M%S')
samples = torch.Tensor(samples*3)
samples = torch.Tensor(samples)
save_image(samples, './result/%s epoch%d.png'% (current_time, n_epoch), normalize=True)
return samples.numpy()

Expand Down

0 comments on commit 7f223f9

Please sign in to comment.