mmarquezsa commited on
Commit
268a5fb
·
verified ·
1 Parent(s): 040db8c

Upgrade to Keras 3.x for model compatibility

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -10,8 +10,11 @@ RUN pip install --no-cache-dir datasets "huggingface-hub>=0.30" "hf-transfer>=0.
10
 
11
  # CRITICAL: Install numpy FIRST (pyradiomics needs it at build time)
12
  RUN pip install --no-cache-dir "numpy<2.0"
13
- RUN pip install --no-cache-dir tensorflow-cpu==2.15.0
 
 
14
 
 
15
  # Use --no-build-isolation to access already-installed numpy
16
  RUN pip install --no-cache-dir --no-build-isolation pyradiomics==3.0.1 SimpleITK pynrrd
17
 
 
10
 
11
  # CRITICAL: Install numpy FIRST (pyradiomics needs it at build time)
12
  RUN pip install --no-cache-dir "numpy<2.0"
13
+ # Install Keras 3.x and TensorFlow
14
+ RUN pip install --no-cache-dir keras==3.7.0
15
+ RUN pip install --no-cache-dir tensorflow-cpu==2.18.0
16
 
17
+ # Install pyradiomics separately (needs numpy at build time)
18
  # Use --no-build-isolation to access already-installed numpy
19
  RUN pip install --no-cache-dir --no-build-isolation pyradiomics==3.0.1 SimpleITK pynrrd
20