Top "Keras-2" questions

What is validation data used for in a Keras Sequential model?

My question is simple, what is the validation data passed to model.fit in a Sequential model used for? And, …

python validation keras training-data keras-2
Keras: weighted binary crossentropy

I tried to implement a weighted binary crossentropy with Keras, but I am not sure if the code is correct. …

machine-learning keras keras-2
ImportError: cannot import name '_obtain_input_shape' from keras

In Keras, I'm trying to import _obtain_input_shape as follows: from keras.applications.imagenet_utils import _obtain_input_shape …

keras keras-layer keras-2
Is there any way to get variable importance with Keras?

I am looking for a proper or best way to get variable importance in a Neural Network created with Keras. …

tensorflow deep-learning keras keras-layer keras-2
Keras Multi-inputs AttributeError: 'NoneType' object has no attribute 'inbound_nodes'

I'm trying to build a model as ilustrated in below diagram. The idea is to take more than one categorical …

python deep-learning keras keras-2
How to use keras ReduceLROnPlateau

I am training a keras sequential model. I want the learning rate to be reduced when training is not progressing. …

python neural-network keras deep-learning keras-2
how to save resized images using ImageDataGenerator and flow_from_directory in keras

I am resizing my RGB images stored in a folder(two classes) using following code: from keras.preprocessing.image import …

keras keras-2
Create model using one - hot encoding in Keras

I am working on a sentence classification problem and try to solve using Keras. The total unique words in the …

python-3.x tensorflow keras artificial-intelligence keras-2
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'

I am doing some task related to image captioning and I have loaded the weights of inception model like this …

python tensorflow keras keras-layer keras-2
keras: Use one model output as another model input

I am adding a dense layer before InceptionResNetV2 model(pre-trained) This is InceptionResNetV2 output model_base = InceptionResNetV2(include_top=True, …

model computer-vision deep-learning keras keras-2