Hi@akhtar,
You may get this error, if you don't have proper versions of keras and tensorflow. Follow the below given steps.
$ pip uninstall tensorflow
$ conda uinstall tensorflow
$ pip uninstall keras
$ conda uninstall keras
$ pip uninstall protobuf
$ conda uninstall protobuf
$ pip install tensorflow
$ pip install keras