MCPcopy Create free account
hub / github.com/PolymathicAI/AstroCLIP / add_meter

Method add_meter

astroclip/astrodino/utils.py:56–57  ·  view source on GitHub ↗
(self, name, meter)

Source from the content-addressed store, hash-verified

54 meter.synchronize_between_processes()
55
56 def add_meter(self, name, meter):
57 self.meters[name] = meter
58
59 def dump_in_output_file(self, iteration, iter_time, data_time):
60 if self.output_file is None or not distributed.is_main_process():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected