Model Pipeline - TensorFlow Object Detection API
The TensorFlow Object Detection API helps computers find and label objects in pictures or videos. It takes images, learns from many examples, and then spots objects like cars or people in new images.
The TensorFlow Object Detection API helps computers find and label objects in pictures or videos. It takes images, learns from many examples, and then spots objects like cars or people in new images.
Loss
2.5 |****
2.0 |***
1.5 |**
1.0 |*
0.5 |*
+------------
1 5 10 15 20 Epochs| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | 2.5 | 0.30 | Model starts learning, loss high, accuracy low |
| 5 | 1.2 | 0.55 | Loss decreases, accuracy improves as model learns features |
| 10 | 0.8 | 0.70 | Model shows good learning, better object detection |
| 15 | 0.6 | 0.78 | Loss continues to drop, accuracy nearing good performance |
| 20 | 0.5 | 0.82 | Training converges, model ready for predictions |
detection_boxes after running detection on an image?import tensorflow as tf
model = tf.saved_model.load('ssd_mobilenet_v2')
image = tf.constant(image_np)
input_tensor = tf.expand_dims(image, 0)
output_dict = model(input_tensor)
detection_boxes = output_dict['detection_boxes']output_dict = model(input_tensor) scores = output_dict['detection_scores']
Pass the test and this pattern moves unknown