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

How To Create A Loss Function With Mse That Uses Tf.where() To Ignore Certain Elements

Here is the function currently. Here, it removes from the MSE any values where y_true is less than … Read more How To Create A Loss Function With Mse That Uses Tf.where() To Ignore Certain Elements

Select Different Modes By String In Tensorflow

I am trying to build a VAE network in which I want the model to do different things in different mo… Read more Select Different Modes By String In Tensorflow

Tensorflow Valueerror: Shapes (?, 1) And (?,) Are Incompatible

I'm facing this error when running my code with 3 lstm layers. Not sure how to fix it. Can anyo… Read more Tensorflow Valueerror: Shapes (?, 1) And (?,) Are Incompatible

Error When Checking Target: Expected Dense_ To Have 3 Dimensions, But Got Array With Shape (100, 4)

I have a network with 2 inputs and 4 outputs. I have built an LSTM model with time step =5. import … Read more Error When Checking Target: Expected Dense_ To Have 3 Dimensions, But Got Array With Shape (100, 4)