jactorch.train.tb#
Classes
A group of meters that can be updated and logged to tensorboard. |
|
A simple wrapper for tensorboard. |
Class TBGroupMeters
- class TBGroupMeters[source]#
Bases:
GroupMeters
A group of meters that can be updated and logged to tensorboard.
- __new__(**kwargs)#
- dump(filename, values='avg')#
- format(caption, values, kv_format, glue)#
- format_simple(caption=None, values='avg', compressed=True)#
- items()#
- reset()#
- update(updates=None, value=None, n=1, prefix=None, **kwargs)[source]#
Update the meters.
Example
>>> meters.update(key, value) >>> meters.update({key1: value1, key2: value2}) >>> meters.update(key1=value1, key2=value2)
- property avg#
- property count#
- property std#
- property sum#
- property val#
Class TBLogger