fixed RemoteMonitor: Json to handle np.float32 and np.int32 types (#9261)
fixed RemoteMonitor: Json to handle np.float32 and np.int32 types (#9261)

* casted ReduceLRonPlateau lr log to float

Previously lr log had dtype numpy.float32 which throws JSON serializable error if used along with Remote monitor callback.

* Undone changes made:Revert "casted ReduceLRonPlateau lr log to float"

This reverts commit 6d3c3ddbe6f9c7548b8502b4432ad9690ccb386f.

* fixed RemoteMonitor json to handle np.float32 and np.int32 types

* fixed RemoteMonitor json to handle np.float32 and np.int32 types

* fixed np.int32 json unserializable error in Remotemonitor

* fix RemoteMonitor json to handle np.float32 and np.int32 types

keras-team/keras,keras-team/keras