code: def _get_gpu_info():
      try:
          gpu_info = (
              subprocess.check_output(["nvidia-smi", "-L"])
              .decode()
              .strip()
          )
          gpu_info = gpu_info.split("\n")
          for i in range(len(gpu_info)):
              gpu_info[i] = " ".join(gpu_info[i].split(" ")[:4])
      except:
          gpu_info = " Can not get GPU information. Please make sure CUDA have been installed successfully."
      return gpu_info
  
file_path: PaddleSeg/paddleseg/utils/env/sys_env.py
imports: import glob
  import os
  import platform
  import subprocess
  import sys
  import cv2
  import paddle
  import paddleseg
label_desc: Use image node_id 3 for calling a global function with example usage: _get_gpu_info() and returns: gpu_info