  import os
  from importlib import import_module
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class PluginLoader():
      """ Plugin loader for extract, training and model tasks """
 
</s> remove from lib.utils import FaceswapError, safe_shutdown
 </s> add from lib.utils import FaceswapError, get_backend, safe_shutdown
from lib.utils import get_backend


  import os
  from importlib import import_module
  
from lib.utils import get_backend

  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class PluginLoader():
      """ Plugin loader for extract, training and model tasks """
keep keep add keep keep keep keep keep
 More seamless AMD Integration

- utils.py: Set FS backend if .faceswap config file doesn't exist
- setup.py: set .faceswap config on setup
- Dynamically load options for AMD/CPU/NVIDIA backends 
plugins/plugin_loader.py