Home > Net >  Getting error: module 'tensorflow.keras.layers' has no attribute 'Normalization'
Getting error: module 'tensorflow.keras.layers' has no attribute 'Normalization'

Time:02-11

I am using

tf.keras.layers.Normalization(axis=-1)

and am getting the following error:

module 'tensorflow.keras.layers' has no attribute 'Normalization'

I'm following the tensorflow tutorial available here. I went through the solution given here and updated my tensorflow to v2.6.0. But still getting the error. I am new to tensorflow. Any help would be greatly appreciated.

CodePudding user response:

For anyone who may be looking for answer, I ditched Anconda altogether and set up everything from scratch. Thanks for all the responses.

  • Related