MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / get_logger

Function get_logger

modeling/pi3/utils/basic.py:71–77  ·  view source on GitHub ↗
(cfg, name=None)

Source from the content-addressed store, hash-verified

69
70
71def get_logger(cfg, name=None):
72 # log_file_path is used when unit testing
73 if is_logging_process():
74 logging.config.dictConfig(
75 OmegaConf.to_container(cfg.job_logging_cfg, resolve=True)
76 )
77 return logging.getLogger(name)
78
79
80def count_parameters(model, top_k=15):

Callers

nothing calls this directly

Calls 1

is_logging_processFunction · 0.85

Tested by

no test coverage detected