Top "Keras-layer" questions

Backward propagation in Keras?

can anyone tell me how is backpropagation done in Keras? I read that it is really easy in Torch and …

python deep-learning keras keras-layer
Add a resizing layer to a keras sequential model

How can I add a resizing layer to model = Sequential() using model.add(...) To resize an image from shape (160, 320, 3) to (224,224,3) ?

keras keras-layer
When does keras reset an LSTM state?

I read all sorts of texts about it, and none seem to answer this very basic question. It's always ambiguous: …

keras lstm keras-layer
what is the difference between Flatten() and GlobalAveragePooling2D() in keras

I want to pass the output of ConvLSTM and Conv2D to a Dense Layer in Keras, what is the …

tensorflow machine-learning keras deep-learning keras-layer
Resizing an input image in a Keras Lambda layer

I would like my keras model to resize the input image using cv2 or similar. I have seen the use …

python keras keras-layer cv2
How to have parallel convolutional layers in keras?

I am a little new to neural networks and keras. I have some images with size 6*7 and the size of …

neural-network keras conv-neural-network keras-layer
Keras - ImportError: cannot import name 'CuDNNLSTM'

I am trying to use the CuDNNLSTM Keras cell to improve training speed for a recurrent neural network (doc here). …

keras keras-layer cudnn
How do you make TensorFlow + Keras fast with a TFRecord dataset?

What is an example of how to use a TensorFlow TFRecord with a Keras Model and tf.session.run() while …

machine-learning tensorflow deep-learning keras keras-layer
Keras error "You must feed a value for placeholder tensor 'bidirectional_1/keras_learning_phase' with dtype bool"

I get the following error for the code snippet below: You must feed a value for placeholder tensor 'bidirectional_1/keras_…

tensorflow deep-learning keras keras-layer
expected input to have 4 dimensions, but got array with shape

I have this error Error when checking input: expected input_13 to have 4 dimensions, but got array with shape (7, 100, 100) For the …

python-3.x deep-learning keras conv-neural-network keras-layer