mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-12 12:40:20 +08:00
move unnecessary dict trainer_options (#1469)
* move unnecessary dict trainer_options * fix tests * fix tests * formatting * missing
This commit is contained in:
@@ -27,8 +27,6 @@ def assert_speed_parity(pl_times, pt_times, num_epochs):
|
||||
|
||||
|
||||
def run_model_test_without_loggers(trainer_options, model, min_acc=0.50):
|
||||
# save_dir = trainer_options['default_root_dir']
|
||||
|
||||
# fit model
|
||||
trainer = Trainer(**trainer_options)
|
||||
result = trainer.fit(model)
|
||||
|
||||
Reference in New Issue
Block a user