callbacks.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:visual_turing_test-tutorial 作者: mateuszmalinowski 项目源码 文件源码
def __init__(self, filepath, epoch_interval, verbose=0):
        """
        In:
            filepath - formattable filepath; possibilities:
                * weights.{epoch:02d}
                * weights.{era:02d}
            epoch_interval - 
                number of epochs that must be passed from the previous saving
            verbose - if nonzero then print out information on stdout;
                by default 0
        """
        super(KerasCallback, self).__init__()
        self.filepath = filepath
        self.epoch_interval = epoch_interval
        self.verbose = verbose
        self.era = 0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号