From 2d6321e4f43e68314732d1844a3fceb97b76d00b Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Mon, 7 Oct 2024 20:05:30 +0200 Subject: [PATCH] temporary fix. Cannot load inference models with tensorflow >= 2.16.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4abc81a..0057466 100755 --- a/setup.py +++ b/setup.py @@ -77,7 +77,7 @@ license = "MIT", install_requires=['opencv-contrib-python', 'dlib', 'pandas', 'scikit-learn', 'h5py', 'matplotlib', 'onnxruntime-gpu', 'cheetah3', - 'av', 'tensorflow>=2.6', 'pyro4', 'xlsxwriter'], + 'av', 'tensorflow>=2.6,<2.16.0', 'pyro4', 'xlsxwriter'], extras_require={'doc': ['sphinx-toolbox']}, url = "https://github.com/ina-foss/inaFaceAnalyzer", packages=['inaFaceAnalyzer'],