code: def get_environment(config):
      gpu_usage = (
          get_gpu_usage(config["device"])
          if torch.cuda.is_available() and config["use_gpu"]
          else "0.0 / 0.0"
      )
  
      import psutil
  
      memory_used = (
          psutil.Process(os.getpid()).memory_info().rss / 1024**3
      )
      memory_total = psutil.virtual_memory()[0] / 1024**3
      memory_usage = "{:.2f} G/{:.2f} G".format(
          memory_used, memory_total
      )
      cpu_usage = "{:.2f} %".format(psutil.cpu_percent(interval=1))
      """environment_data = [
          {"Environment": "CPU", "Usage": cpu_usage,},
          {"Environment": "GPU", "Usage": gpu_usage, },
          {"Environment": "Memory", "Usage": memory_usage, },
      ]"""
  
      table = Texttable()
      table.set_cols_align(["l", "c"])
      table.set_cols_valign(["m", "m"])
      table.add_rows(
          [
              ["Environment", "Usage"],
              ["CPU", cpu_usage],
              ["GPU", gpu_usage],
              ["Memory", memory_usage],
          ]
      )
  
      return table
  
imports: import datetime
  import importlib
  import os
  import random
  import pandas
  import numpy
  import torch
  import torch.nn
  from torch.utils.tensorboard import SummaryWriter
  from texttable import Texttable
  from recbole.utils.enum_type import ModelType
label_desc: Use image node_id 13 for calling a global function with example usage: get_environment(config) and returns: table