fix max_epochs setup in basic example (#1105)

tested only for the CPU version
This commit is contained in:
Ondrej Platek
2020-03-12 12:42:52 -04:00
committed by GitHub
parent fb27a771f8
commit 1383f64a5f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def main(hparams):
# ------------------------
# 2 INIT TRAINER
# ------------------------
trainer = pl.Trainer()
trainer = pl.Trainer(max_epochs=hparams.epochs)
# ------------------------
# 3 START TRAINING