class_docstr: Separately save the model with minimum value of some statistics.
class_docstr_tok: ["Separately","save","the","model","with","minimum","value","of","some","statistics","."]
code: def _get_stat(self):
      try:
          v = self.trainer.monitors.get_history(self.monitor_stat)[-1]
      except (KeyError, IndexError):
          v = None, None
      return v
  
file_path: tensorpack/tensorpack/callbacks/saver.py
imports: import os
  from datetime import datetime
  from ..compat import tfv1
  from ..utils import fs, logger
  from .base import Callback
label_desc: Use image node_id 2 for calling the MinSaver obj's underlying member method code with example usage: obj._get_stat() and returns: v