title: ImportError: cannot import name 'abs'
body: <p>I got problem while doing object detection using tensorflow-gpu</p>
  
  <p>I was follwing the youtube tutorials
  :<a href="https://www.youtube.com/watch?v=Rgpfk6eYxJA" rel="noreferrer">https://www.youtube.com/watch?v=Rgpfk6eYxJA</a></p>
  
  <p>I'm trying to detect object using tensorflow-gpu with virtual environment.</p>
  
  <p>I added python, cuda, tensorflow to system environment variables, and also did
  make training models with labels.</p>
  
  <p>I converted xml labels to csv using xml_to_csv.py.</p>
  
  <p>The problem is when I try to generate tfrecord using generate_tfrecord.py, that error appear. Please help</p>
  
  <p>Here's the code</p>
  
  <pre><code>(tensorflow) C:\Users\ice305\tensorflow\models\research\object_detection&gt;python generate_tfrecord.py --csv_input=images\train_labels.csv --image_dir=images\train --output_path=train.record
  Traceback (most recent call last):
    File "generate_tfrecord.py", line 17, in &lt;module&gt;
      import tensorflow as tf
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\__init__.py", line 22, in &lt;module&gt;
      from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\__init__.py", line 81, in &lt;module&gt;
      from tensorflow.python import keras
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\__init__.py", line 24, in &lt;module&gt;
      from tensorflow.python.keras import activations
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\activations\__init__.py", line 22, in &lt;module&gt;
      from tensorflow.python.keras._impl.keras.activations import elu
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\_impl\keras\__init__.py", line 21, in &lt;module&gt;
      from tensorflow.python.keras._impl.keras import activations
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\_impl\keras\activations.py", line 23, in &lt;module&gt;
  from tensorflow.python.keras._impl.keras import backend as K
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\_impl\keras\backend.py", line 38, in &lt;module&gt;
      from tensorflow.python.layers import base as tf_base_layers
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\layers\base.py", line 25, in &lt;module&gt;
      from tensorflow.python.keras.engine import base_layer
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\__init__.py", line 21, in &lt;module&gt;
      from tensorflow.python.keras.engine.base_layer import InputSpec
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 33, in &lt;module&gt;
      from tensorflow.python.keras import backend
    File "C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\keras\backend\__init__.py", line 22, in &lt;module&gt;
      from tensorflow.python.keras._impl.keras.backend import abs
  ImportError: cannot import name 'abs'
  (tensorflow) C:\Users\ice305\tensorflow\models\research\object_detection&gt;
  </code></pre>
  
  <p>I don't understand what 'abs' is. Please help</p>