Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Using TensorFlow Object Detection API on Windows 10

  1. Install TensorFlow 1.14 (not 2)
  2. Download https://github.com/tensorflow/models/ repository
  3. Add models/, models/research/, and models/research/slim/ to the PYTHONPATH variable.
  4. Install pycocotoolsfrom this clone (works with Windows): https://github.com/philferriere/cocoapi
  5. Follow installation guide from https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md (Except the cocoapi part)
  6. Download https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 for inference script in webcam and TFRecord data generator script
  7. Mainly, try to follow this local training guide and fix the bug one by one by providing the requirements: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_locally.md

There are 2 main concerns I have when following unofficial guide:

  1. I don't want to deviate much from the official TensorFlow object detection API documents.
  2. I don't want to meet with the difficulty, tedious, and buggy guide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment