      def _user_input(self) -> None:
          """ Get user input for AMD/DirectML/ROCm/Cuda/Docker """
          self._directml_ask_enable()
          self._rocm_ask_enable()
          if not self._env.backend:
              self._amd_ask_enable()
          if not self._env.backend:
              self._docker_ask_enable()
              self._cuda_ask_enable()
          if self._env.os_version[0] != "Linux" and (self._env.enable_docker
                                                     and self._env.backend == "nvidia"):
 
</s> remove     def _amd_ask_enable(self) -> None:
        """ Set backend to 'amd' to use plaidML if AMD support required """
        msg = ""
        if self._env.os_version[0] == "Windows":
            msg = "AMD users should select 'DirectML support' if possible.\r\n"
        if self._env.os_version[0] == "Linux":
            msg = "AMD users should select 'ROCm support' if possible.\r\n"

        logger.info("AMD Support:\r\nThis version is deprecated and will be removed from a future "
                    "update.\r\n%s"
                    "Nvidia Users MUST answer 'no' to this option.", msg)
        i = input("Enable AMD Support? [y/N] ")
        if i in ("Y", "y"):
            logger.info("AMD Support Enabled")
            self._env.backend = "amd"

 </s> add  </s> remove             retval = (os.path.basename(prefix) == "envs")
 </s> add             retval = os.path.basename(prefix) == "envs" </s> remove         if self.backend == "amd" and sys.version_info >= (3, 9):
            logger.error("The AMD version of Faceswap cannot be installed on versions of Python "
                         "higher than 3.8")
            sys.exit(1)
 </s> add  </s> remove     def _get_input_shape(self) -> Tuple[int, int, int]:
 </s> add     def _get_input_shape(self) -> T.Tuple[int, int, int]: </s> remove     if sys.version_info < (3,):
        arg_spec = inspect.getargspec(func)
        if accept_all and arg_spec.keywords is not None:
            return True
        return (name in arg_spec.args)
    elif sys.version_info < (3, 3):
 </s> add     if sys.version_info < (3, 3):
      def _user_input(self) -> None:
          """ Get user input for AMD/DirectML/ROCm/Cuda/Docker """
          self._directml_ask_enable()
          self._rocm_ask_enable()


          if not self._env.backend:
              self._docker_ask_enable()
              self._cuda_ask_enable()
          if self._env.os_version[0] != "Linux" and (self._env.enable_docker
                                                     and self._env.backend == "nvidia"):
keep keep keep keep replace replace keep keep keep keep keep
 Remove plaidML support (#1325)

* Remove PlaidML reference from readme files

* Remove AMD option from installers

* remove amd requirements and update setup.py

* remove plaidml test from CI workflow

* gpustats: remove plaidml backend

* plaid removals:
  - faceswap.py - python version check
  - setup.cfg - plaidml typing ignore
  - lib.keras_utils - All plaid code
  - lib.launcher.py - All plaidml checks and configuration

* remove tf2.2 specific code from GUI event reader

* lib.model - remove all plaidml implementations

* plugins.extract - remove plaidml code

* plugins.train remove plaidml code

* lib.convert - remove plaidml code

* tools.model: remove plaidml code

* Remove plaidML tests from unit tests

* remove plaidml_utils and docsting cleanups

* Remove plaidML refs from configs

* fix keras imports 
setup.py