(self, task_name, iteration)
Set the modified time of the checkpoint to latest. Used to set the best
        checkpoint
Set the modified time of the checkpoint to latest. Used to set the best
        checkpoint
Set the modified time of the checkpoint to latest . Used to set the best checkpoint
def set_latest(self, task_name, iteration):
        """
        Set the modified time of the checkpoint to latest. Used to set the best
        checkpoint
        """
        model_dir = gen_model_dir(task_name, self.__class__)
        checkpoint_path = os.path.join(model_dir, CHECKPOINT_FILE.format(int(iteration)))
        os.utime(checkpoint_path, None)
def set_latest ( self , task_name , iteration ) : model_dir = gen_model_dir ( task_name , self . __class__ ) checkpoint_path = os . path . join ( model_dir , CHECKPOINT_FILE . format ( int ( iteration ) ) ) os . utime ( checkpoint_path , None )