def __init__(self, n_classes, void_label, save_path,
generator, epoch_length, color_map, classes, tag,
n_legend_rows=1, *args):
super(Callback, self).__init__()
self.n_classes = n_classes
self.void_label = void_label
self.save_path = save_path
self.generator = generator
self.epoch_length = epoch_length
self.color_map = color_map
self.classes = classes
self.n_legend_rows = n_legend_rows
self.tag = tag
评论列表
文章目录