All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
5.14k
stars
2.53k
forks
source link
ValueError: logits and labels must have the same shape, received ((None, 15, 1) vs (None,)). #496
Open
latheeshvm opened 1 year ago
this works in the video but is broken in TensorFlow 2.90, expanding solves it, but I don't understand why. might be worth adding a note here? https://academy.zerotomastery.io/courses/learn-tensorflow/lectures/32197595
In the later part of the video :
x = tf.keras.layers.GlobalAveragePooling1D()(x)
is added which will solve the problem but it's not mentioned