MCPcopy Create free account
hub / github.com/CompVis/zigma / rankzero_logging_info

Function rankzero_logging_info

utils/train_utils_args.py:3–5  ·  view source on GitHub ↗
(rank, log)

Source from the content-addressed store, hash-verified

1import logging
2
3def rankzero_logging_info(rank, log):
4 if rank == 0:
5 logging.info(log)
6def none_or_str(value):
7 if value == 'None':
8 return None

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected