Closed nanowireUK closed 4 years ago
@nanowireUK I had the same issue and was able to do a quick fix by adding 'tensorflow==1.12.0' to the end of the amd64-requirements.txt file and rebuilding.
Awaiting a proper fix of course, but maybe this will help you forward for now
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Traceback (most recent call last): File "app.py", line 15, in
from predict import initialize, predict_image, predict_url
File "/app/predict.py", line 22, in
graph_def = tf.GraphDef()
AttributeError: module 'tensorflow' has no attribute 'GraphDef'
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
Can be fixed by changing the Dockerfile to use a different base image and then install fixed tensorflow 1.12.0 and then including the various apt install for python dependencies.
FROM tensorflow/tensorflow:latest-py3
FROM ubuntu:xenial