I am trying to run a CNN python code, but at the top of the code, the following line has keras and BatchNormalization underline in red.
from keras.layers.normalization import BatchNormalization
I don't know why there are underline. I confirmed that I have python, keras and tensorflow installed
>>> import keras
>>> keras.__version__
'2.8.0'
>>>
>>> import tensorflow as tf
>>> print(tf. __version__)
2.8.0
>>>
(venv) PS C:\Users\PycharmProjects\Local-Binary-Patterns> python --version
Python 3.10.4
>>
Am I missing something?
Computer specs: HP Omen with Ryzen 7 CPU and GEFORCE RTX 3080 GPU.