          max_ver = 1.15
          try:
              # Ensure tensorflow doesn't pin all threads to one core when using tf-mkl
              os.environ["KMP_AFFINITY"] = "disabled"
              import tensorflow as tf
          except ImportError as err:
              raise FaceswapError("There was an error importing Tensorflow. This is most likely "
                                  "because you do not have TensorFlow installed, or you are trying "
                                  "to run tensorflow-gpu on a system without an Nvidia graphics "
                                  "card. Original import error: {}".format(str(err)))
 
</s> remove             # Ensure tensorflow doesn't pin all threads to one core when using tf-mkl
 </s> add             # Ensure tensorflow doesn't pin all threads to one core when using Math Kernel Library </s> remove         tf_ver = float(".".join(tf.__version__.split(".")[:2]))
 </s> add         tf_ver = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member </s> remove             import tkinter  # noqa pylint: disable=unused-import
 </s> add             import tkinter  # noqa pylint: disable=unused-import,import-outside-toplevel </s> remove                     "performance."})
 </s> add                     "performance."
                    "\nThe auto generated masks are as follows:"
                    "\nL|components: Mask designed to provide facial segmentation based on the "
                    "positioning of landmark locations. A convex hull is constructed around the "
                    "exterior of the landmarks to create a mask."
                    "\nL|extended: Mask designed to provide facial segmentation based on the "
                    "positioning of landmark locations. A convex hull is constructed around the "
                    "exterior of the landmarks and the mask is extended upwards onto the "
                    "forehead."}) </s> remove             import plaidml  # noqa pylint:disable=unused-import
 </s> add             import plaidml  # noqa pylint:disable=unused-import,import-outside-toplevel
            import tensorflow as tf  # pylint:disable=import-outside-toplevel
          max_ver = 1.15
          try:
              # Ensure tensorflow doesn't pin all threads to one core when using tf-mkl
              os.environ["KMP_AFFINITY"] = "disabled"
            import tensorflow as tf  # pylint:disable=import-outside-toplevel
          except ImportError as err:
              raise FaceswapError("There was an error importing Tensorflow. This is most likely "
                                  "because you do not have TensorFlow installed, or you are trying "
                                  "to run tensorflow-gpu on a system without an Nvidia graphics "
                                  "card. Original import error: {}".format(str(err)))
keep keep keep keep replace keep keep keep keep keep
 Extraction - Auto generate Components and Extended Masks 
lib/cli.py