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
callbacks.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录