vedmistry commited on
Commit
2fdbbfb
·
1 Parent(s): b933eb7

fix: pin keras==2.12.0 to match TF version and support SavedModel checkpoints

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. constraints.txt +1 -0
Dockerfile CHANGED
@@ -19,11 +19,12 @@ ENV TF_CPP_MIN_LOG_LEVEL=3
19
  RUN pip install --no-cache-dir -U pip wheel setuptools==80.9.0
20
  RUN pip install --no-cache-dir numpy==1.23.5 Cython
21
  RUN pip install --no-cache-dir protobuf==4.25.9
 
22
  RUN pip install --no-cache-dir tensorflow-cpu==2.12.0
23
  RUN pip install --no-cache-dir omnizart
24
  RUN PIP_CONSTRAINT="" pip install --no-cache-dir git+https://github.com/TEAMuP-dev/pyharp.git@v0.3.0
25
  RUN pip install --no-cache-dir gradio==5.28.0
26
- RUN pip install --no-cache-dir --force-reinstall protobuf==4.25.9 numpy==1.23.5
27
 
28
  RUN omnizart download-checkpoints
29
 
 
19
  RUN pip install --no-cache-dir -U pip wheel setuptools==80.9.0
20
  RUN pip install --no-cache-dir numpy==1.23.5 Cython
21
  RUN pip install --no-cache-dir protobuf==4.25.9
22
+ RUN pip install --no-cache-dir keras==2.12.0
23
  RUN pip install --no-cache-dir tensorflow-cpu==2.12.0
24
  RUN pip install --no-cache-dir omnizart
25
  RUN PIP_CONSTRAINT="" pip install --no-cache-dir git+https://github.com/TEAMuP-dev/pyharp.git@v0.3.0
26
  RUN pip install --no-cache-dir gradio==5.28.0
27
+ RUN pip install --no-cache-dir --force-reinstall protobuf==4.25.9 numpy==1.23.5 keras==2.12.0
28
 
29
  RUN omnizart download-checkpoints
30
 
constraints.txt CHANGED
@@ -1,2 +1,3 @@
1
  protobuf==4.25.9
2
  numpy==1.23.5
 
 
1
  protobuf==4.25.9
2
  numpy==1.23.5
3
+ keras==2.12.0