Skip to content

Instantly share code, notes, and snippets.

@paularamo
Created February 16, 2023 13:38
Show Gist options
  • Save paularamo/e25957185d41798c869aec9b8d127c24 to your computer and use it in GitHub Desktop.
Save paularamo/e25957185d41798c869aec9b8d127c24 to your computer and use it in GitHub Desktop.
trainer = Trainer(
callbacks=callbacks,
accelerator= "auto",
auto_scale_batch_size= False,
check_val_every_n_epoch= 1,
devices= 1,
gpus= None,
max_epochs= 1,
num_sanity_val_steps= 0,
val_check_interval= 1.0,
)
trainer.fit(model=model, datamodule=datamodule)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment