teticio commited on
Commit
b3e97c5
1 Parent(s): a8d2b62

add max_epochs arg

Browse files
Files changed (1) hide show
  1. scripts/train_vae.py +1 -0
scripts/train_vae.py CHANGED
@@ -160,6 +160,7 @@ if __name__ == "__main__":
160
  trainer_opt = argparse.Namespace(**trainer_config)
161
  trainer = Trainer.from_argparse_args(
162
  trainer_opt,
 
163
  resume_from_checkpoint=args.resume_from_checkpoint,
164
  callbacks=[
165
  ImageLogger(every=args.save_images_batches,
 
160
  trainer_opt = argparse.Namespace(**trainer_config)
161
  trainer = Trainer.from_argparse_args(
162
  trainer_opt,
163
+ max_epochs=args.max_epochs,
164
  resume_from_checkpoint=args.resume_from_checkpoint,
165
  callbacks=[
166
  ImageLogger(every=args.save_images_batches,