Skip to content

Commit

Permalink
Fixed the VAE validation images being sent too many times to wandb du…
Browse files Browse the repository at this point in the history
…ring validation causing network issues because of it hitting the api rate limit.
  • Loading branch information
ZeroCool940711 committed Sep 5, 2023
1 parent aaddf6e commit fce8fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion muse_maskgit_pytorch/trainers/vqvae_trainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def log_validation_images(self, logs, steps):
log_imgs.append(Image.open(ema_save_path))
prompts.append("ema")

super().log_validation_images(log_imgs, steps, prompts=prompts)
super().log_validation_images(log_imgs, steps, prompts=prompts)
self.model.train()

def train(self):
Expand Down

0 comments on commit fce8fd1

Please sign in to comment.