Update keras_applications to 1.0.6 and keras_preprocessing to 1.0.5.
This removes the transitive keras and scipy dependencies in TensorFlow. PiperOrigin-RevId: 215277190
This commit is contained in:
parent
3aa8b781b3
commit
d7edbeb8dc
tensorflow/tools
@ -28,8 +28,8 @@ RUN pip install --upgrade astor
|
||||
RUN pip install --upgrade gast
|
||||
RUN pip install --upgrade numpy
|
||||
RUN pip install --upgrade termcolor
|
||||
RUN pip install keras_applications==1.0.5
|
||||
RUN pip install keras_preprocessing==1.0.3
|
||||
RUN pip install --upgrade keras_applications
|
||||
RUN pip install --upgrade keras_preprocessing
|
||||
|
||||
# Install golang
|
||||
RUN apt-get install -t xenial-backports -y golang-1.9
|
||||
|
@ -115,10 +115,10 @@ pip2 install --upgrade setuptools==39.1.0
|
||||
pip3 install --upgrade setuptools==39.1.0
|
||||
|
||||
# Keras
|
||||
pip2 install keras_applications==1.0.5 --no-deps
|
||||
pip3 install keras_applications==1.0.5 --no-deps
|
||||
pip2 install keras_preprocessing==1.0.3 --no-deps
|
||||
pip3 install keras_preprocessing==1.0.3 --no-deps
|
||||
pip2 install keras_applications==1.0.6 --no-deps
|
||||
pip3 install keras_applications==1.0.6 --no-deps
|
||||
pip2 install keras_preprocessing==1.0.5 --no-deps
|
||||
pip3 install keras_preprocessing==1.0.5 --no-deps
|
||||
pip2 install --upgrade h5py==2.8.0
|
||||
pip3 install --upgrade h5py==2.8.0
|
||||
|
||||
|
@ -85,8 +85,8 @@ pip3.5 install --upgrade termcolor
|
||||
pip3.5 install --upgrade setuptools==39.1.0
|
||||
|
||||
# Keras
|
||||
pip3.5 install keras_applications==1.0.5
|
||||
pip3.5 install keras_preprocessing==1.0.3
|
||||
pip3.5 install keras_applications==1.0.6
|
||||
pip3.5 install keras_preprocessing==1.0.5
|
||||
pip3.5 install --upgrade h5py==2.8.0
|
||||
|
||||
# Install last working version of setuptools.
|
||||
|
@ -102,7 +102,7 @@ pip3 install --upgrade setuptools==39.1.0
|
||||
pip3 install --upgrade h5py==2.8.0
|
||||
|
||||
# Keras
|
||||
pip3 install keras_applications==1.0.5
|
||||
pip3 install keras_preprocessing==1.0.3
|
||||
pip3 install keras_applications==1.0.6
|
||||
pip3 install keras_preprocessing==1.0.5
|
||||
|
||||
# LINT.ThenChange(//tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh)
|
||||
|
@ -29,8 +29,8 @@ RUN pip --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
numpy \
|
||||
pandas \
|
||||
|
@ -33,8 +33,8 @@ RUN pip --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
|
@ -55,8 +55,8 @@ RUN pip --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
|
@ -52,8 +52,8 @@ RUN ${PIP} --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
|
@ -45,8 +45,8 @@ RUN ${PIP} --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
|
@ -42,8 +42,8 @@ RUN pip --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
numpy \
|
||||
pandas \
|
||||
|
@ -38,8 +38,8 @@ RUN ${PIP} --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
numpy \
|
||||
pandas \
|
||||
|
@ -38,8 +38,8 @@ RUN ${PIP} --no-cache-dir install \
|
||||
h5py \
|
||||
ipykernel \
|
||||
jupyter \
|
||||
keras_applications==1.0.5 \
|
||||
keras_preprocessing==1.0.3 \
|
||||
keras_applications \
|
||||
keras_preprocessing \
|
||||
matplotlib \
|
||||
numpy \
|
||||
pandas \
|
||||
|
@ -51,8 +51,8 @@ REQUIRED_PACKAGES = [
|
||||
'absl-py >= 0.1.6',
|
||||
'astor >= 0.6.0',
|
||||
'gast >= 0.2.0',
|
||||
'keras_applications >= 1.0.5',
|
||||
'keras_preprocessing >= 1.0.3',
|
||||
'keras_applications >= 1.0.6',
|
||||
'keras_preprocessing >= 1.0.5',
|
||||
'numpy >= 1.13.3',
|
||||
'six >= 1.10.0',
|
||||
'protobuf >= 3.6.1',
|
||||
|
Loading…
Reference in New Issue
Block a user