From cae027605c031e370e246930901534526821b5e2 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Thu, 4 Nov 2021 16:18:26 +0800 Subject: [PATCH] add reference --- ppcls/utils/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppcls/utils/misc.py b/ppcls/utils/misc.py index 90dc47e9..08ab7b6f 100644 --- a/ppcls/utils/misc.py +++ b/ppcls/utils/misc.py @@ -18,6 +18,7 @@ __all__ = ['AverageMeter'] class AverageMeter(object): """ Computes and stores the average and current value + Code was based on https://github.com/pytorch/examples/blob/master/imagenet/main.py """ def __init__(self, name='', fmt='f', postfix="", need_avg=True): -- GitLab