def init_validation(self):
    losses = ['loss', 'surfaceloss', 'alignmentloss']
    ret = {l: 0 for l in losses}
    ret['count'] = 0
    return ret
def init_validation(self):
    losses = ['loss', 'surfaceloss', 'alignmentloss']
    ret = {l: 0 for l in losses}
    ret['count'] = 0
    return ret