From 9eb5159b3e9c06aaa977968395852d373b8f236f Mon Sep 17 00:00:00 2001 From: Pratik Adarsh Date: Tue, 24 Nov 2020 09:52:07 +0530 Subject: [PATCH] Specific version of h5py. Working with latest version of h5py causes an AttributeError while loading the weights. Check out this solution https://stackoverflow.com/a/64635871/3831998. As mentioned, downgrading h5py to 2.10.0 is also required besides downgraded versions of tf and keras. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 80d1a26..5441ad1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ Keras==2.2.4 numpy==1.16.2 opencv_contrib_python==4.0.0.21 plumbum==1.6.7 +h5py==2.10.0