(*paths)
return os.path.join(dnnlib.submit_config.run_dir, *paths)
Make a path/filename that resides under the current submit run_dir.

    Args:
        *paths: Path components to be passed to os.path.join

    Returns:
        A file/dirname rooted at submit_config.run_dir.  If there's no
        submit_config or run_dir, the base directory is the current
        working directory.

    E.g., `os.path.join(dnnlib.submit_config.run_dir, "output.txt"))`
Make a path/filename that resides under the current submit run_dir.
Make a path / filename that resides under the current submit run_dir .
def make_run_dir_path(*paths):
    """Make a path/filename that resides under the current submit run_dir.

    Args:
        *paths: Path components to be passed to os.path.join

    Returns:
        A file/dirname rooted at submit_config.run_dir.  If there's no
        submit_config or run_dir, the base directory is the current
        working directory.

    E.g., `os.path.join(dnnlib.submit_config.run_dir, "output.txt"))`
    """
    import dnnlib
    if (dnnlib.submit_config is None) or (dnnlib.submit_config.run_dir is None):
        return os.path.join(os.getcwd(), *paths)
    return os.path.join(dnnlib.submit_config.run_dir, *paths)
def make_run_dir_path ( * paths ) : import dnnlib if ( dnnlib . submit_config is None ) or ( dnnlib . submit_config . run_dir is None ) : return os . path . join ( os . getcwd ( ) , * paths ) return os . path . join ( dnnlib . submit_config . run_dir , * paths )