Skip to content

Commit

Permalink
Merge branch 'master' into fs3
Browse files Browse the repository at this point in the history
  • Loading branch information
torzdf committed Aug 10, 2024
2 parents b4c30b2 + cbaad14 commit 8073752
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .install/linux/faceswap_setup_x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@ activate_env() {
install_git() {
# Install git inside conda environment
info "Installing Git..."
yellow ; conda install git -q -y
# TODO On linux version 2.45.2 makes the font fixed TK pull in Python from
# graalpy, which breaks pretty much everything
yellow ; conda install "git<2.45" -q -y
}

delete_faceswap() {
Expand Down
4 changes: 2 additions & 2 deletions lib/align/alignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ def mask_is_valid(self, mask_type: str) -> bool:
``True`` if all faces in the current alignments possess the given ``mask_type``
otherwise ``False``
"""
retval = any((face.get("mask", None) is not None and
face["mask"].get(mask_type, None) is not None)
retval = all((face.get("mask") is not None and
face["mask"].get(mask_type) is not None)
for val in self._data.values()
for face in val["faces"])
logger.debug(retval)
Expand Down
2 changes: 1 addition & 1 deletion requirements/_requirements_base.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tqdm>=4.66
psutil>=5.9.0
numexpr>=2.8.7
numpy>=1.26.4,<2.0.0
numpy>=1.26.0,<2.0.0
opencv-python>=4.9.0.0
pillow>=10.3.0
scikit-learn>=1.4.2
Expand Down

0 comments on commit 8073752

Please sign in to comment.