class_docstr: Provide methods to save, load, and overrides an omegaconf config object
  which may contain definition of lazily-constructed objects.
class_docstr_tok: ["Provide","methods","to","save",",","load",",","and","overrides","an","omegaconf","config","object","which","may","contain","definition","of","lazily-constructed","objects","."]
docstr: Similar to :meth:`load()`, but load path relative to the caller's
  source file.
  
  This has the same functionality as a relative import, except that this method
  accepts filename as a string, so more characters are allowed in the filename.
docstr_tok: ["Similar","to",":","meth",":","`","load","(",")","`",",","but","load","path","relative","to","the","caller's","source","file",".","This","has","the","same","functionality","as","a","relative","import",",","except","that","this","method","accepts","filename","as","a","string",",","so","more","characters","are","allowed","in","the","filename","."]
code: def load_rel(
      filename: str, keys: Union[None, str, Tuple[str, ...]] = None
  ):
      """
      Similar to :meth:`load()`, but load path relative to the caller's
      source file.
  
      This has the same functionality as a relative import, except that this method
      accepts filename as a string, so more characters are allowed in the filename.
      """
      caller_frame = inspect.stack()[1]
      caller_fname = caller_frame[0].f_code.co_filename
      assert (
          caller_fname != "<string>"
      ), "load_rel Unable to find caller"
      caller_dir = os.path.dirname(caller_fname)
      filename = os.path.join(caller_dir, filename)
      return LazyConfig.load(filename, keys)
  
imports: import ast
  import builtins
  import collections.abc
  import importlib
  import inspect
  import logging
  import os
  import uuid
  from contextlib import contextmanager
  from copy import deepcopy
  from dataclasses import is_dataclass
  from typing import List, Tuple, Union
  import cloudpickle
  import yaml
  from omegaconf import DictConfig, ListConfig, OmegaConf, SCMode
  from detectron2.utils.file_io import PathManager
  from detectron2.utils.registry import _convert_target_to_string
label_desc: Use image node_id 1 for calling the LazyConfig obj's underlying member method code with example usage: obj.load_rel(filename, keys) and returns: LazyConfig