Skip to content

Commit

Permalink
updated results
Browse files Browse the repository at this point in the history
  • Loading branch information
AntixK committed Feb 10, 2020
1 parent 7bb883a commit 55e654f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file modified assets/LogCoshVAE_49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/SWAE_49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/recons_LogCoshVAE_49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/recons_SWAE_49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion configs/swae.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ model_params:
latent_dim: 128
reg_weight: 100
wasserstein_deg: 2.0
num_projections: 100
num_projections: 200
projection_dist: "normal" #"cauchy"

exp_params:
Expand Down
10 changes: 5 additions & 5 deletions experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ def sample_images(self):
normalize=True,
nrow=int(math.sqrt(self.params['batch_size'])))

vutils.save_image(test_input.data,
f"{self.logger.save_dir}{self.logger.name}/version_{self.logger.version}/"
f"real_img_{self.logger.name}_{self.current_epoch}.png",
normalize=True,
nrow=int(math.sqrt(self.params['batch_size'])))
# vutils.save_image(test_input.data,
# f"{self.logger.save_dir}{self.logger.name}/version_{self.logger.version}/"
# f"real_img_{self.logger.name}_{self.current_epoch}.png",
# normalize=True,
# nrow=int(math.sqrt(self.params['batch_size'])))

samples = self.model.sample(self.params['batch_size'],
self.curr_device,
Expand Down

0 comments on commit 55e654f

Please sign in to comment.