I am having an error regarding (Keras that does not support TensorFlow 2.0. We recommend using tf.keras
, or alternatively, downgrading to TensorFlow 1.14.) any reco
first, import tensorflow:
import tensorflow as tf
Next, in place of this,
classifier.add(Dense(output_dim = 6, init = 'uniform', activation = 'relu', input_dim = 11))
use:
classifier.add(tf.keras.layers.Dense(output_dim = 6, init = 'uniform', activation = 'relu', input_dim = 11))
Let me know if it works.