I have the following error when running a CNN made in keras
File "venv/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 4185, in truncated_normal return tf.truncated_normal(shape, mean, stddev, dtype=dtype, seed=seed) AttributeError: module 'tensorflow' has no attribute 'truncated_normal'
I have already installed and reinstalled Tensorflow 2.0 several times. What could be happening?
In Tensorflow v2.0 and above, "tf.truncated_normal" replaced with "tf.random.truncated_normal"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With