code: def collect_env_info():
      """
      Collect information about user system including cuda, torch, gpus, vissl and its
      dependencies. Users are strongly recommended to run this script to collect
      information about information if they needed debugging help.
      """
      # common python info
      data = []
      data = collect_python_info(data)
      data = collect_vissl_info(data)
      data = collect_gpus_info(data)
      data = collect_dep_env(data)
  
      # append torch info
      torch_version = torch.__version__
      data.append(
          (
              "PyTorch",
              torch_version + " @" + os.path.dirname(torch.__file__),
          )
      )
      data.append(("PyTorch debug build", torch.version.debug))
  
      env_str = tabulate(data) + "\n"
      env_str += collect_torch_env() + "\n"
      env_str += "CPU info:\n"
      env_str += collect_cpu_info()
      return env_str
  
file_path: vissl/vissl/utils/collect_env.py
imports: import os
  import sys
  from collections import defaultdict
  import numpy
  import PIL
  import pkg_resources
  import torch
  import torchvision
  from tabulate import tabulate
label_desc: Use image node_id 7 for calling a global function with example usage: collect_env_info() and returns: env_str