first i was getting this error :
TypeError: Tensors in list passed to 'values' of 'ConcatV2' Op have types [bool, float32] that don't all match.
After installing pip install keras==2.2.4
it gives me : super(type, obj): obj must be an instance or subtype of type