How to Solve NameError: name 'MaxPooling2D' is not defined -- keras

Solution: Import the 'MaxPooling2D' module

To Solve the error, add the following line to the top of your code.

from keras import MaxPooling2D

 

For more information:
Python keras MaxPooling2D