Skip to content

Commit

Permalink
Fix face alignment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghassen-Chaabouni committed May 29, 2024
1 parent 981027f commit c2cef69
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 7 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.0
current_version = 1.4.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)?
Expand Down Expand Up @@ -30,7 +30,7 @@ python_requires = >=3.8,<3.9
install_requires =
click
dlib
face_alignment
face_alignment==1.4.1
kornia
mediapipe
numpy
Expand Down
2 changes: 1 addition & 1 deletion src/dot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from .dot import DOT

__version__ = "1.1.0"
__version__ = "1.4.0"
__author__ = "Sensity"
__url__ = "https://github.com/sensity-ai/dot/tree/main/dot"
__docs__ = "Deepfake offensive toolkit"
Expand Down
4 changes: 2 additions & 2 deletions src/dot/commons/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
np.random.seed(SEED)


def log(*args, file=sys.stderr, **kwargs):
def log(*args, **kwargs):
time_str = f"{time.time():.6f}"
print(f"[{time_str}]", *args, file=file, **kwargs)
print(f"[{time_str}]", *args, **kwargs)


def info(*args, file=sys.stdout, **kwargs):
Expand Down
Loading

0 comments on commit c2cef69

Please sign in to comment.