diff --git a/ppcls/utils/misc.py b/ppcls/utils/misc.py index ee68db4178cd97369e909aae34ffb28303e34097..b94c0895951be956391103cfe2da4dd29def0cb9 100644 --- a/ppcls/utils/misc.py +++ b/ppcls/utils/misc.py @@ -20,7 +20,7 @@ class AverageMeter(object): Computes and stores the average and current value """ - def __init__(self, name='', fmt='f', need_avg=False): + def __init__(self, name='', fmt='f', need_avg=True): self.name = name self.fmt = fmt self.need_avg = need_avg