title: AttributeError: module 'tensorflow.compat' has no attribute 'v1' Tensorflow v: 1.10.0
body: <p>I got that error when I'm trying to train my model:</p>
  
  <pre><code>(tensorflow1) C:\tensorflow1\models\research\object_detection&gt;python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
  Traceback (most recent call last):
    File "train.py", line 52, in &lt;module&gt;
      from object_detection.builders import model_builder
    File "C:\tensorflow1\models\research\object_detection\builders\model_builder.py", line 35, in &lt;module&gt;
      from object_detection.models import faster_rcnn_inception_resnet_v2_feature_extractor as frcnn_inc_res
    File "C:\tensorflow1\models\research\object_detection\models\faster_rcnn_inception_resnet_v2_feature_extractor.py", line 30, in &lt;module&gt;
      from nets import inception_resnet_v2
    File "C:\tensorflow1\models\research\slim\nets\inception_resnet_v2.py", line 375, in &lt;module&gt;
      batch_norm_updates_collections=tf.compat.v1.GraphKeys.UPDATE_OPS,
  AttributeError: module 'tensorflow.compat' has no attribute 'v1'
  </code></pre>
  
  <p>Tensorflow version: 1.10.0</p>
  
  <p>I'm using conda virtualenv created with:</p>
  
  <pre><code>conda create -n tensorflow1 pip python=3.5
  
  (tensorflow1) conda install tensorflow-gpu
  </code></pre>
  
  <p>Working on Windows 10</p>