tensorflow has no attribute get_default_graph code example
Example: AttributeError: module 'tensorflow' has no attribute 'GraphDef'
tf.compat.v1.GraphDef() # -> instead of tf.GraphDef()
tf.compat.v2.io.gfile.GFile() # -> instead of tf.gfile.GFile()