lightning/tests/loggers
James Guillochon 4bf6dd122a Close SummaryWriter in TensorBoardLogger on finalize (#5696)
Not entirely sure this is the "right" solution to this problem, but currently when model fitting is finished the `TensorBoardLogger` attribute `_experiment` (a `SummaryWriter`) is left with an open file handle. This causes issues in particular on Windows systems (and probably others), and also makes the files un-syncable on cloud-synced devices like OneDrive. This PR adds a `close()` to `finalize` to make sure this handle is closed upon fit completion.

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-02-05 21:40:40 +01:00
..
__init__.py Logger tests and fixes (#1009) 2020-03-02 20:49:14 -05:00
test_all.py Ignore `step` param in Neptune logger's log_metric method (#5510) 2021-02-04 20:55:41 +01:00
test_base.py prune check on Trainer fit result (#5453) 2021-01-11 19:36:48 -05:00
test_comet.py [tests/loggers] refactor with BoringModel (#5440) 2021-01-10 07:30:06 -05:00
test_csv.py Fix pre-commit isort failure on tests/loggers/*.py (#5425) 2021-01-14 14:36:28 -05:00
test_mlflow.py [tests/loggers] refactor with BoringModel (#5440) 2021-01-10 07:30:06 -05:00
test_neptune.py Ignore `step` param in Neptune logger's log_metric method (#5510) 2021-02-04 20:55:41 +01:00
test_tensorboard.py Close SummaryWriter in TensorBoardLogger on finalize (#5696) 2021-02-05 21:40:40 +01:00
test_wandb.py feat(wandb): add sync_step (#5351) 2021-01-24 17:44:09 -05:00