Skip to content

Commit 8073752

Browse files
committed
Merge branch 'master' into fs3
2 parents b4c30b2 + cbaad14 commit 8073752

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.install/linux/faceswap_setup_x64.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ activate_env() {
380380
install_git() {
381381
# Install git inside conda environment
382382
info "Installing Git..."
383-
yellow ; conda install git -q -y
383+
# TODO On linux version 2.45.2 makes the font fixed TK pull in Python from
384+
# graalpy, which breaks pretty much everything
385+
yellow ; conda install "git<2.45" -q -y
384386
}
385387

386388
delete_faceswap() {

lib/align/alignments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ def mask_is_valid(self, mask_type: str) -> bool:
407407
``True`` if all faces in the current alignments possess the given ``mask_type``
408408
otherwise ``False``
409409
"""
410-
retval = any((face.get("mask", None) is not None and
411-
face["mask"].get(mask_type, None) is not None)
410+
retval = all((face.get("mask") is not None and
411+
face["mask"].get(mask_type) is not None)
412412
for val in self._data.values()
413413
for face in val["faces"])
414414
logger.debug(retval)

requirements/_requirements_base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tqdm>=4.66
22
psutil>=5.9.0
33
numexpr>=2.8.7
4-
numpy>=1.26.4,<2.0.0
4+
numpy>=1.26.0,<2.0.0
55
opencv-python>=4.9.0.0
66
pillow>=10.3.0
77
scikit-learn>=1.4.2

0 commit comments

Comments
 (0)