提交 0d3e2818 编写于 作者: W WuHaobo

add misc

上级 f5fd4f1f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册