How to fix the «No module named 'object_detection'» Python error with TensorFlow?

02

export PYTHONPATH=$PYTHONPATH:/w/tools/tensorflow/models/research:/w/tools/tensorflow/models/research/slim

github.com/tensorflow/models/issues/2031#issuecomment-317801984