You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by nk...@apache.org on 2019/10/01 19:06:32 UTC

[madlib] branch master updated: DL: Update jenkins to install tensorflow 1.14.

This is an automated email from the ASF dual-hosted git repository.

nkak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/madlib.git


The following commit(s) were added to refs/heads/master by this push:
     new 9edd745  DL: Update jenkins to install tensorflow 1.14.
9edd745 is described below

commit 9edd74582008413ca4405e52c4f06c64efc7664c
Author: Nikhil Kak <nk...@pivotal.io>
AuthorDate: Mon Sep 30 17:32:52 2019 -0700

    DL: Update jenkins to install tensorflow 1.14.
    
    The latest version of tensorflow (2.0 as of this commit) is not compatible with the version of keras that we install i.e. 2.2.4.
    
    This is the error we get
    ```
    AttributeError: 'module' object has no attribute 'get_default_graph'
    ```
    
    This commit installs a compatible version of tensorflow i.e. 1.14.
---
 tool/docker/base/Dockerfile_postgres_10_Jenkins | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tool/docker/base/Dockerfile_postgres_10_Jenkins b/tool/docker/base/Dockerfile_postgres_10_Jenkins
index bd63312..a0d882d 100644
--- a/tool/docker/base/Dockerfile_postgres_10_Jenkins
+++ b/tool/docker/base/Dockerfile_postgres_10_Jenkins
@@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y  wget \
                        build-essential \
                        cmake
 
-RUN pip install tensorflow keras==2.2.4
+RUN pip install tensorflow==1.14 keras==2.2.4
 
 ## To build an image from this docker file, from madlib folder, run:
 # docker build -t madlib/postgres_10:jenkins -f tool/docker/base/Dockerfile_postgres_10_Jenkins .