diff --git a/faceswap.py b/faceswap.py index 89d9514eeb..13e4311b45 100755 --- a/faceswap.py +++ b/faceswap.py @@ -5,9 +5,9 @@ import lib.cli as cli if sys.version_info[0] < 3: - raise Exception("This program requires at least python3.2") -if sys.version_info[0] == 3 and sys.version_info[1] < 2: - raise Exception("This program requires at least python3.2") + raise Exception("This program requires at least python3.6") +if sys.version_info[0] == 3 and sys.version_info[1] < 6: + raise Exception("This program requires at least python3.6") def bad_args(args): diff --git a/plugins/extract/align/fan.py b/plugins/extract/align/fan.py index 02bf34ef26..f6d256e033 100644 --- a/plugins/extract/align/fan.py +++ b/plugins/extract/align/fan.py @@ -62,7 +62,7 @@ def get_center_scale(self, detected_faces): center_scale[index, :, 0] = np.full(68, x_center, dtype='float32') center_scale[index, :, 1] = np.full(68, y_center, dtype='float32') center_scale[index, :, 2] = np.full(68, scale, dtype='float32') - logger.trace("Calculated center and scale: %s, %s", center_scale) + logger.trace("Calculated center and scale: %s", center_scale) return center_scale def crop(self, batch): # pylint:disable=too-many-locals