Cannot run Object Detector issues on Windows (ImportError: cannot import name ‘string_int_label_map_pb2’ from ‘object_detection.protos’)

I’m new to OD and I tried installing it from the repo, but it doesn’t seem to be working.

I followed the installation steps (object_detection) and tried running the test files with no avail.

  1. The protoc executable is not recognized
  2. I got a tf_utils missing message at one point
  3. And ended up with ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'

I’m a novice playing with this tool, has anybody ran into these issues?

I found these related issues and tried several things, but each step I make forward unlocks another issue.

Source: Python Questions