Quantcast
Channel: How can I solve this error during running CNN model with Keras? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by user11530462 for How can I solve this error during running CNN...

Because this is a binary classification problem, the output layer should have 1 neuron(unit) and a sigmoid activation function.To overcome the error, replace the following line of code:# Output...

View Article



How can I solve this error during running CNN model with Keras?

When running my CNN model, below are my code with Kerasimport tensorflow as tfimport numpy as npfrom tensorflow import kerasfrom tensorflow.keras.optimizers import RMSpropfrom...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images