MCPcopy
hub / github.com/openai/improved-diffusion / get_dir

Function get_dir

improved_diffusion/logger.py:281–286  ·  view source on GitHub ↗

Get directory that log files are being written to. will be None if there is no output directory (i.e., if you didn't call start)

()

Source from the content-addressed store, hash-verified

279
280
281def get_dir():
282 """
283 Get directory that log files are being written to.
284 will be None if there is no output directory (i.e., if you didn't call start)
285 """
286 return get_current().get_dir()
287
288
289record_tabular = logkv

Callers

nothing calls this directly

Calls 2

get_currentFunction · 0.85
get_dirMethod · 0.80

Tested by

no test coverage detected