  
  from lib.gpu_stats import GPUStats
  
  
  class SysInfo():
      """ System and Python Information """
      # pylint: disable=too-many-instance-attributes,too-many-public-methods
  
      def __init__(self):
          gpu_stats = GPUStats(log=False)
          self.state_file = State().state_file
          self.configs = Configs().configs
          self.platform = platform.platform()
 
</s> remove         gpu_stats = GPUStats(log=False)
        self.state_file = State().state_file
        self.configs = Configs().configs
        self.platform = platform.platform()
        self.system = platform.system()
        self.machine = platform.machine()
        self.release = platform.release()
        self.processor = platform.processor()
        self.cpu_count = os.cpu_count()
        self.py_implementation = platform.python_implementation()
        self.py_version = platform.python_version()
        self._cuda_path = self.get_cuda_path()
        self.vram = gpu_stats.vram
        self.gfx_driver = gpu_stats.driver
        self.gfx_devices = gpu_stats.devices
        self.gfx_devices_active = gpu_stats.active_devices
 </s> add         self._state_file = _State().state_file
        self._configs = _Configs().configs
        self._system = dict(platform=platform.platform(),
                            system=platform.system(),
                            machine=platform.machine(),
                            release=platform.release(),
                            processor=platform.processor(),
                            cpu_count=os.cpu_count())
        self._python = dict(implementation=platform.python_implementation(),
                            version=platform.python_version())
        self._gpu = GPUStats(log=False).sys_info
        self._cuda_path = self._get_cuda_path() </s> remove from lib.utils import FaceswapError, get_folder, get_image_paths
 </s> add from lib.utils import FaceswapError, get_backend, get_folder, get_image_paths </s> remove         self.model_dir = self.get_arg("-m", "--model-dir")
        self.trainer = self.get_arg("-t", "--trainer")
        self.state_file = self.get_state_file()
 </s> add         self._model_dir = self._get_arg("-m", "--model-dir")
        self._trainer = self._get_arg("-t", "--trainer")
        self.state_file = self._get_state_file() </s> remove         self.configs = self.get_configs()
 </s> add         self.configs = self._get_configs()

    def _get_configs(self):
        """ Obtain the formatted configurations from the config folder. </s> remove class Configs():
    """ Parses the config files in /config and outputs the information """
 </s> add class _Configs():
    """ Parses the config files in /faceswap/config and outputs the information stored within them
    in a human readable format. """
class _SysInfo():
    """ Obtain information about the System, Python and GPU """
  
  from lib.gpu_stats import GPUStats
  
  
class _SysInfo():
    """ Obtain information about the System, Python and GPU """
class _SysInfo():
    """ Obtain information about the System, Python and GPU """
class _SysInfo():
    """ Obtain information about the System, Python and GPU """
class _SysInfo():
    """ Obtain information about the System, Python and GPU """
      def __init__(self):
          gpu_stats = GPUStats(log=False)
          self.state_file = State().state_file
          self.configs = Configs().configs
          self.platform = platform.platform()
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Core Updates (#1015)

- Remove lib.utils.keras_backend_quiet and replace with get_backend() where relevant
- Document lib.gpu_stats and lib.sys_info
- Remove call to GPUStats.is_plaidml from convert and replace with get_backend()
- lib.gui.menu - typofix 
lib/sysinfo.py