Skip to content

Commit

Permalink
fix(trainer): missing check
Browse files Browse the repository at this point in the history
  • Loading branch information
webpolis committed Aug 12, 2023
1 parent 25efb3d commit 9706373
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def on_train_epoch_end(self, trainer, pl_module):
) else
args.vae_emb[1] if
(
args.vae_emb != None and
len(args.vae_emb) > 1 and VAE_MODE == 'train' and os.path.isfile(
args.vae_emb[1])
) else
Expand Down

0 comments on commit 9706373

Please sign in to comment.