Using tempfile
in PyTorch checkpoint example
#299
Labels
code-fix
Change that does not change the behavior, such as code refactoring.
The PyTorch checkpoint example uses temporary files, which can be replaced with
tempfile
.optuna-examples/pytorch/pytorch_checkpoint.py
Lines 101 to 107 in bb14f7e
optuna-examples/pytorch/pytorch_checkpoint.py
Lines 161 to 176 in bb14f7e
The text was updated successfully, but these errors were encountered: