Skip to content Skip to sidebar Skip to footer
Showing posts with the label Loss Function

How Can I Implement This Custom Loss Function In Tensorflow?

My loss function: I want to implement the above loss function for the following model: model_s=tf.… Read more How Can I Implement This Custom Loss Function In Tensorflow?

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?

Custom Loss Function Implementation Issue In Keras

I am implementing a custom loss function in keras. The output of the model is 10 dimensional softma… Read more Custom Loss Function Implementation Issue In Keras

How To Iterate Through Tensors In Custom Loss Function?

I'm using keras with tensorflow backend. My goal is to query the batchsize of the current batch… Read more How To Iterate Through Tensors In Custom Loss Function?

How To Add Example Based Parameter To Custom Keras Loss Function?

I want to have custom loss function in keras, which has a parameter that is different for each trai… Read more How To Add Example Based Parameter To Custom Keras Loss Function?

Which Loss Function To Use In Keras Sequential Model

I am using a Keras sequential model, a prediction output is of the shape (1, 5) (5 features). I hav… Read more Which Loss Function To Use In Keras Sequential Model