FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Install keras_applications before tensorflow · HadokenCode/docker-python@dcb594f · GitHub

Commit dcb594f

Browse files
Chris Crawford
committed
Install keras_applications before tensorflow
1 parent fc69038 commit dcb594f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ RUN apt-get update && apt-get install -y python-software-properties zip && \
4949
apt-get upgrade -y bazel
5050

5151
# Tensorflow
52-
# Temp fixes: Downgrade python 3.7->3.6.6 and downgrade Pandas 0.23.3->0.23.2
52+
# Fix to install tf 1.10:: Downgrade python 3.7->3.6.6 and downgrade Pandas 0.23.3->0.23.2
5353
RUN conda install -y python=3.6.6 && \
5454
pip install pandas==0.23.2 && \
55+
# Another fix for TF 1.10 https://github.com/tensorflow/tensorflow/issues/21518
56+
pip install keras_applications==1.0.4 --no-deps && \
57+
pip install keras_preprocessing==1.0.2 --no-deps && \
5558
cd /usr/local/src && \
5659
git clone https://github.com/tensorflow/tensorflow && \
5760
cd tensorflow && \

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL