Open IvanUgrin opened 3 months ago
EDIT: The same error happens if you directly run the https://github.com/google/lifetime_value/tree/master/notebooks/kdd_cup_98/regression.ipynb script with the provided kdd dataset.
Hello, I have the same problem, have you solved it?
Hello, unfortunately, no. If you have any idea, please let me know.
@IvanUgrin Looks like this is related to the shape of labels. [batch_size, 1] is expected but [batch_size, None] is passed actually. Doing labels = tf.expand_dims(labels, -1) solved it on my end.
Hello,
I am using the zero_inflated_lognormal_loss function as described in the regression notebook. I haven't changed anything in the book. I just changed the input data to be my own but the format is the same. This is the dnn summary I am getting:
However when I try to fit the model I receive the following exception from the loss function:
Any clue what am I doing wrong?