title: ImportError: cannot import name 'adam' from 'keras.optimizers'
body: <p>I am trying to import Keras but I get the following error:</p>
  <pre><code>ImportError: cannot import name 'adam' from 'keras.optimizers' (/usr/local/lib/python3.8/dist-packages/keras/optimizers/__init__.py)
  </code></pre>
  <p>The import is invoked here:</p>
  <pre><code>from tensorflow import keras
  from keras.layers import Conv2D, Input, MaxPool2D,Flatten, Dense, Permute, GlobalAveragePooling2D
  from keras.models import Model
  from keras.optimizers import adam
  import numpy as np
  import pickle
  import keras
  import cv2
  import sys
  import dlib
  import os.path
  from keras.models import Sequential
  from keras.applications.resnet50 import ResNet50
  from keras.applications.resnet50 import Dense
  from keras.optimizers import Adam
  import pickle
  import numpy as np
  import cv2
  import os
  from keras.layers import Dropout
  </code></pre>
  <p>I am sure Keras is installed along with Tensorflow:</p>
  <pre><code>python3 -c 'import keras; print(keras.__version__)' // 2.4.3
  </code></pre>