code: def get_env_info():
      run_lambda = run
  
      doctr_str = doctr.__version__ if DOCTR_AVAILABLE else "N/A"
  
      if TF_AVAILABLE:
          tf_str = tf.__version__
          tf_cuda_available_str = any(
              tf.config.list_physical_devices("GPU")
          )
      else:
          tf_str = tf_cuda_available_str = "N/A"
  
      if TORCH_AVAILABLE:
          torch_str = torch.__version__
          torch_cuda_available_str = torch.cuda.is_available()
      else:
          torch_str = torch_cuda_available_str = "N/A"
  
      tv_str = torchvision.__version__ if TV_AVAILABLE else "N/A"
  
      cv2_str = cv2.__version__ if CV2_AVAILABLE else "N/A"
  
      return SystemEnv(
          doctr_version=doctr_str,
          tf_version=tf_str,
          torch_version=torch_str,
          torchvision_version=tv_str,
          cv2_version=cv2_str,
          python_version=".".join(map(str, sys.version_info[:3])),
          is_cuda_available_tf=tf_cuda_available_str,
          is_cuda_available_torch=torch_cuda_available_str,
          cuda_runtime_version=get_running_cuda_version(run_lambda),
          nvidia_gpu_models=get_gpu_info(run_lambda),
          nvidia_driver_version=get_nvidia_driver_version(run_lambda),
          cudnn_version=get_cudnn_version(run_lambda),
          os=get_os(run_lambda),
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import locale
  import os
  import re
  import subprocess
  import sys
  from collections import namedtuple
label_desc: Use image node_id 15 for calling a global function with example usage: get_env_info() and returns: SystemEnv