How to fix “AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph'”? April 11, 2023 by Tarik Please try: from tensorflow.keras.models import Sequential instead of from keras.models import Sequential