How to Solve NameError: name 'Dropout' is not defined -- keras
Solution: Import the 'Dropout' module
To Solve the error, add the following line to the top of your code.
from keras.layers import Dropout
For more information:
Python keras Dropout