              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)))
          tf_ver = float(".".join(tf.__version__.split(".")[:2]))
          if tf_ver < min_ver:
              raise FaceswapError("The minimum supported Tensorflow is version {} but you have "
                                  "version {} installed. Please upgrade Tensorflow.".format(
                                      min_ver, tf_ver))
          if tf_ver > max_ver:
 
</s> remove             import tensorflow as tf
 </s> add             import tensorflow as tf  # pylint:disable=import-outside-toplevel </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                     "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                     "\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> add  </s> remove             "help": "R|Masker to use."
 </s> add             "help": "R|Additional Masker to use. NB: The Extended and Components (landmark based) "
                    "masks are automatically generated on extraction. Any mask selected here "
                    "will be generated in addition to these default masks."
        tf_ver = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member
              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)))
        tf_ver = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member
          if tf_ver < min_ver:
              raise FaceswapError("The minimum supported Tensorflow is version {} but you have "
                                  "version {} installed. Please upgrade Tensorflow.".format(
                                      min_ver, tf_ver))
          if tf_ver > max_ver:
keep keep keep keep replace keep keep keep keep keep
 Extraction - Auto generate Components and Extended Masks 
lib/cli.py