Skip to content

Instantly share code, notes, and snippets.

@annikabrundyn
Created July 4, 2020 02:23
Show Gist options
  • Save annikabrundyn/26218aff6369fbedf2ff53c7c0def072 to your computer and use it in GitHub Desktop.
Save annikabrundyn/26218aff6369fbedf2ff53c7c0def072 to your computer and use it in GitHub Desktop.
trainer = pl.Trainer(gpus=1, progress_bar_refresh_rate=20)
# Fit the model - provide the training + validation dataloaders
trainer.fit(model, mnist_dm.train_dataloader(), mnist_dm.val_dataloader())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment