Model Pipeline - Image segmentation basics
This pipeline takes images and teaches a model to color each pixel to show different objects. It helps computers understand pictures like how we see separate things.
This pipeline takes images and teaches a model to color each pixel to show different objects. It helps computers understand pictures like how we see separate things.
Epoch 1: ********* Epoch 5: ***** Epoch 10: *** Epoch 15: ** Epoch 20: * (Loss decreases over epochs)
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 0.85 | 0.60 | Model starts learning basic shapes |
| 5 | 0.45 | 0.78 | Model improves on pixel classification |
| 10 | 0.30 | 0.85 | Model segments objects more clearly |
| 15 | 0.22 | 0.90 | Model predictions become sharper |
| 20 | 0.18 | 0.92 | Model converges with good segmentation |
model = tf.keras.Sequential([ tf.keras.layers.Conv2D(16, 3, activation='relu', input_shape=(64, 64, 3)), tf.keras.layers.Dense(3, activation='softmax') ])
Pass the test and this pattern moves unknown