title: Tensorflow Object detection in Google Colab error: module 'nets' has no attribute 'autograd'
body: <p>Hello everyone I am trying to do object detection on custom data using TensorFlow in google colab, so I used the TensorFlow model zoo when I try to do the training using this code:</p>
  <pre><code>import os
  !pip install tf_slim
  %cd '/content/models/research/object_detection'
  os.environ['PYTHONPATH'] += '/content/models/research/object_detection'
  !python /content/models/research/object_detection/legacy/train.py --train_dir=training/ -- 
   pipeline_config_path=training/ssd_mobilenet_v1_pets.config --logtostderr
  </code></pre>
  <p>i got this error :</p>
  <pre><code>    Requirement already satisfied: tf_slim in /usr/local/lib/python3.6/dist-packages (1.1.0)
  Requirement already satisfied: absl-py&gt;=0.2.2 in /usr/local/lib/python3.6/dist-packages (from tf_slim) (0.10.0)
  Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from absl-py&gt;=0.2.2-&gt;tf_slim) (1.15.0)
  /content/models/research/object_detection
  WARNING:tensorflow:
  The TensorFlow contrib module will not be included in TensorFlow 2.0.
  For more information, please see:
    * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
    * https://github.com/tensorflow/addons
    * https://github.com/tensorflow/io (for I/O related ops)
  If you depend on functionality not listed there, please file an issue.
  
  Traceback (most recent call last):
    File &quot;/content/try/models/research/object_detection/legacy/train.py&quot;, line 53, in &lt;module&gt;
      from object_detection.builders import model_builder
    File &quot;/usr/local/lib/python3.6/dist-packages/object_detection/builders/model_builder.py&quot;, line 35, in &lt;module&gt;
      from object_detection.models import faster_rcnn_inception_resnet_v2_feature_extractor as frcnn_inc_res
    File &quot;/usr/local/lib/python3.6/dist-packages/object_detection/models/faster_rcnn_inception_resnet_v2_feature_extractor.py&quot;, line 28, in &lt;module&gt;
      from nets import inception_resnet_v2
    File &quot;/usr/local/lib/python3.6/dist-packages/nets/__init__.py&quot;, line 5, in &lt;module&gt;
      from nets.autograd import Hook, Parameter
    File &quot;/usr/local/lib/python3.6/dist-packages/nets/autograd/__init__.py&quot;, line 3, in &lt;module&gt;
      from .functional import *
    File &quot;/usr/local/lib/python3.6/dist-packages/nets/autograd/functional.py&quot;, line 15, in &lt;module&gt;
      import nets.autograd.function as fc
  AttributeError: module 'nets' has no attribute 'autograd'
  </code></pre>
  <p>i was thinking that maybe i didn't install everything in the models directory, but i used the <strong>setup.py</strong> and i run it.</p>
  <p>I will be happy to get the answer from you, thank you</p>