title: Import Error: Cannot Import name 'input_reader_pb2'
body: <p>I am using <strong>Tensorflow Object Detection API</strong> to train my object detection model. I accumulated the dataset, and am going through the </p>
  
  <p><a href="https://pythonprogramming.net/training-custom-objects-tensorflow-object-detection-api-tutorial/?completed=/creating-tfrecord-files-tensorflow-object-detection-api-tutorial/" rel="nofollow noreferrer">Training Custom Object Detector - Tensorflow Object Detection API Tutorial</a></p>
  
  <p>Everything went fine until I tried to train my dataset. When I run the following line on terminal:</p>
  
  <pre><code>python3 train.py --logtostderr --train_dir=training/ 
                   --pipeline_config_path=training/ssd_mobilenet_v1_pets.config
  </code></pre>
  
  <p>I get the following error: </p>
  
  <pre><code>Traceback (most recent call last):
    File "train.py", line 49, in &lt;module&gt;
      from object_detection.builders import dataset_builder
    File "C:\Program Files\Python36\lib\site-packages\slim-0.1-py3.6.egg\object_detection\builders\dataset_builder.py", line 27, in &lt;module&gt;
      from object_detection.data_decoders import tf_example_decoder
    File "C:\Program Files\Python36\lib\site-packages\slim-0.1-py3.6.egg\object_detection\data_decoders\tf_example_decoder.py", line 24, in &lt;module&gt;
      from object_detection.protos import input_reader_pb2
  ImportError: cannot import name 'input_reader_pb2'
  </code></pre>
  
  <p>I tried searching through sites and comments, but unfortunately still couldn't solve it.</p>