TensorFlow 2 Object Detection API tutorial¶
Important
This tutorial is intended for TensorFlow 2.5, which (at the time of writing this tutorial) is the latest stable version of TensorFlow 2.x.
A version for TensorFlow 2.2 can be found here.
A version for TensorFlow 1.14 can be found here.
This is a step-by-step tutorial/guide to setting up and using TensorFlow’s Object Detection API to perform, namely, object detection in images/video.
The software tools which we shall use throughout this tutorial are listed in the table below:
Target Software versions |
|
---|---|
OS |
Windows, Linux |
Python |
3.9 [1] |
TensorFlow |
2.5.0 |
CUDA Toolkit |
11.2 |
CuDNN |
8.1.0 |
Anaconda |
Python 3.8 (Optional) |
- Installation
- Training Custom Object Detector
- Examples
- Common issues
- Python crashes - TensorFlow GPU
- Cleaning up Nvidia containers (TensorFlow GPU)
- “WARNING:tensorflow:Entity
<bound method X of <Y>>
could not be transformed …” - “AttributeError: module ‘google.protobuf.descriptor’ has no attribute ‘_internal_create_key”
- “TypeError: Expected Operation, Variable, or Tensor, got level_5”