Task: Compare Flatten() and GlobalAveragePooling2D() in Keras
Task: Compare Flatten() and GlobalAveragePooling2D() in Keras: a task in Terminal-Lego-15k (Harbor dataset). Create a small, runnable Python program that demonstrates the difference between Flatten() and GlobalAveragePooling2D() in Keras when converting convolutional feature maps into a vector…
The task
Create a small, runnable Python program that demonstrates the difference between `Flatten()` and `GlobalAveragePooling2D()` in Keras when converting convolutional feature maps into a vector before a `Dense` layer.
Part of PrimeIntellect/Terminal-Lego-15k.