mirror of
https://github.com/deepfakes/faceswap.git
synced 2026-10-17 05:21:10 +08:00
Update tests for tf2.10
This commit is contained in:
@@ -31,5 +31,5 @@ def test_backend(dummy): # pylint:disable=unused-argument
|
||||
def test_keras(dummy): # pylint:disable=unused-argument
|
||||
""" Sanity check to ensure that tensorflow keras is being used for CPU and standard
|
||||
keras for AMD. """
|
||||
assert ((_BACKEND == "cpu" and keras.__version__ in ("2.7.0", "2.8.0", "2.9.0")) or
|
||||
assert ((_BACKEND == "cpu" and keras.__version__ in ("2.7.0", "2.8.0", "2.9.0", "2.10.0")) or
|
||||
(_BACKEND == "amd" and keras.__version__ == "2.2.4"))
|
||||
|
||||
Reference in New Issue
Block a user