My test code:
import torch as t
from torchnet import meter
loss_meter = meter.AverageValueMeter()
a = t.Tensor([10])
loss_meter.add(a)
b = t.Tensor([10])
loss_meter.add(b)
print(loss_meter.mean)
but I get a wrong result:
tensor([ 15.])