code: def get_luminoth_version():
      try:
          return (
              subprocess.check_output(
                  ["git", "rev-parse", "HEAD"], cwd=CURRENT_DIR
              )
              .strip()
              .decode("utf-8")
          )
      except:  # noqa
          # Never fail, we don't care about the error.
          pass
  
      try:
          from luminoth import __version__ as lumi_version
  
          return lumi_version
      except ImportError:
          pass
  
file_path: luminoth/luminoth/utils/experiments.py
imports: import datetime
  import json
  import os.path
  import subprocess
  import tensorflow
  from luminoth.utils.homedir import get_luminoth_home
label_desc: Use image node_id 2 for calling a global function with example usage: get_luminoth_version() and returns: subprocess, lumi_version