After defining the model it is failing at the model.compile:
model.compile(loss=RMSprop(learning_rate=X),
optimizer='binary_crossentropy',
metrics=['accuracy'])
where X is the learning rate value chosen by me
with error being:
ValueError: Unknown optimizer: binary_crossentropy. Please ensure this object is passed to the `custom_objects` argument. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.
I checked stack overflow but nothing, has someone else ran into this issue?