0

I am trying to run this program https://github.com/catthatcodes/car-damage-assessment and currently, i am getting this error.

Traceback (most recent call last): File "/Users/vikrant/Downloads/Car/catthatcodes/app/app.py", line 7, in module

from pipeline import pipeline


graph = tf.get_default_graph()

AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

1 Answer 1

2

You should try changing your imports from keras to tensorflow.keras, as it seems like a Tensorflow version update caused the change.

Alternatively, you may downgrade your Tensorflow version to a one that is compatible with your current way of calling it.

The issue is detailed here: https://github.com/keras-team/keras/issues/12783

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.