‘ValueError: Input 0 of layer “sequential_2” is incompatible with the layer: expected shape=(None, 2), found shape=(100, 100, 2)’
Since it’s a dense layer, your input shape must be a vector (1-dimensional). It seems your dense layer is seeing a 3-dimensional input instead. Try reshaping or flatten to 1-D