For some reason when jupyter notebook tries to print an object of the **KerasModel** class the following error is raised: 