Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fomm model download #160

Merged
merged 6 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Supported methods:
Download and run the dot executable for your OS:

- Windows (Tested on Windows 10 and 11):
- Download `dot.zip` from [here](https://drive.google.com/file/d/1IgMaaKzFw4lBKa8MWnsH7nKwBQtrtLGJ/view), unzip it and then run `dot.exe`
- Download `dot.zip` from [here](https://drive.google.com/file/d/1vRv1a5Vp1RmKr_gVwChvHNXoyrzvpUeo/view), unzip it and then run `dot.exe`
- Ubuntu:
- ToDo
- Mac (Tested on Apple M2 Sonoma 14.0):
Expand Down Expand Up @@ -147,7 +147,7 @@ pip install -e .

##### Download Models

- Download dot model checkpoints from [here](https://drive.google.com/file/d/1nL3WkntTrVBZVQvOF2i7clY8eFRqSr8L/view)
- Download dot model checkpoints from [here](https://drive.google.com/file/d/1Y_11R66DL4N1WY8cNlXVNR3RkHnGDGWX/view)
- Unzip the downloaded file in the root of this project

#### CLI Usage
Expand Down
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
Loading