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 _trigger(self):
      curr_step, curr_val = self._get_stat()
      if curr_step is None:
          return
  
      if self.best is None or (
          curr_val > self.best[1]
          if self.reverse
          else curr_val < self.best[1]
      ):
          self.best = (curr_step, curr_val)
          self._save()
  
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 3 for calling the MinSaver obj's underlying member method code with example usage: obj._trigger() without return types