Skip to content Skip to sidebar Skip to footer
Showing posts with the label Keras

How To Pass The Input Tensor Of A Model To A Loss Function?

My goal is to create a custom loss function that calculates the loss based on y_true, y_pred and th… Read more How To Pass The Input Tensor Of A Model To A Loss Function?

Tensorflow Check Failed: Status == Cudnn_status_success (7 Vs. 0)failed To Set Cudnn Stream

When I run my tensorflow keras model it will sometimes stop after an epoch and throw the following … Read more Tensorflow Check Failed: Status == Cudnn_status_success (7 Vs. 0)failed To Set Cudnn Stream

Cnn Keras: How Many Weights Will Be Trained?

I have a little comprehension problem with CNN. And I'm not quite sure how many filters and thu… Read more Cnn Keras: How Many Weights Will Be Trained?

How Can I Clip The Values Returned By A Layer In Keras?

How can I clip the values returned by the Lambda layer? I tried using this: from keras.backend.tens… Read more How Can I Clip The Values Returned By A Layer In Keras?

How Does It Works The Input_shape Variable In Conv1d In Keras?

Ciao, I'm working with CNN 1d on Keras but I have tons of troubles with the input shape variabl… Read more How Does It Works The Input_shape Variable In Conv1d In Keras?

Transfer Learning, Wrong Dense Layer's Shape

I am trying to apply transfer learning to my ANN for image classification. I have found an example … Read more Transfer Learning, Wrong Dense Layer's Shape

Conv2d Cnn Edge Detection Script Returns Blank Images

I want to colour the oil, water and plastic in the images shown. Currently I split up the training… Read more Conv2d Cnn Edge Detection Script Returns Blank Images

How To Convert 2d Array Into Format That Keras+lstm Needs

I have a 5000 by 9 2d numpy array of features trainX which are the features of a time sequence. I a… Read more How To Convert 2d Array Into Format That Keras+lstm Needs