Skip to content

Commit

Permalink
remove inspect reference
Browse files Browse the repository at this point in the history
  • Loading branch information
lezwon committed Aug 19, 2020
1 parent 6e02c95 commit c06557b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pytorch_lightning/callbacks/model_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ def check_monitor_top_k(self, current):
return monitor_op(current, self.best_k_models[self.kth_best_model_path])

def format_checkpoint_name(self, epoch, metrics, ver=None):
print(inspect.currentframe().f_code.co_name)
"""Generate a filename according to the defined template.
Example::
Expand Down Expand Up @@ -257,7 +256,6 @@ def format_checkpoint_name(self, epoch, metrics, ver=None):
return filepath

def on_train_start(self, trainer, pl_module):
print(inspect.currentframe().f_code.co_name)
"""
Determines model checkpoint save directory at runtime. References attributes from the
trainer's logger to determine where to save checkpoints.
Expand Down
1 change: 0 additions & 1 deletion pytorch_lightning/utilities/cloud_io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import inspect
import io
import platform
import os
Expand Down

0 comments on commit c06557b

Please sign in to comment.