Issue 1:
Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow

If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).

The form below must be filled out.

It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04

TensorFlow installed from (source or binary): pip install tensorflow-nightly-gpu

TensorFlow version (use command below): 1.10

Python version: 2.7

Bazel version (if compiling from source):

GCC/Compiler version (if compiling from source):

CUDA/cuDNN version:

GPU model and memory:

Exact command to reproduce:

import tensorflow as tf

You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Describe the problem

Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

ttTraceback (most recent call last):

File "", line 1, in

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/init.py", line 22, in

from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/init.py", line 81, in

from tensorflow.python import keras

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/init.py", line 24, in

from tensorflow.python.keras import activations

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/activations/init.py", line 22, in

from tensorflow.python.keras._impl.keras.activations import elu

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/_impl/keras/init.py", line 21, in

from tensorflow.python.keras._impl.keras import activations

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/_impl/keras/activations.py", line 23, in

from tensorflow.python.keras._impl.keras import backend as K

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/_impl/keras/backend.py", line 38, in

from tensorflow.python.layers import base as tf_base_layers

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/layers/base.py", line 25, in

from tensorflow.python.keras.engine import base_layer

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/engine/init.py", line 21, in

from tensorflow.python.keras.engine.base_layer import InputSpec

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 33, in

from tensorflow.python.keras import backend

File "/home/dhingratul/.virtualenvs/tf/local/lib/python2.7/site-packages/tensorflow/python/keras/backend/init.py", line 22, in

from tensorflow.python.keras._impl.keras.backend import abs

ImportError: cannot import name abs

Issue 2:
As of today (2018-06-09), the reproduction steps are:

pip install -U tf-nightly

import tensorflow as tf

The error stack looks like:

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/init.py in ()

20

21 # pylint: disable=g-bad-import-order

---> 22 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

23 from . import app

24 from . import bitwise

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/init.py in ()

79 # Bring in subpackages.

80 from tensorflow.python import data

---> 81 from tensorflow.python import keras

82 from tensorflow.python.estimator import estimator_lib as estimator

83 from tensorflow.python.feature_column import feature_column_lib as feature_column

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/init.py in ()

22 from future import print_function

23

---> 24 from tensorflow.python.keras import activations

25 from tensorflow.python.keras import applications

26 from tensorflow.python.keras import backend

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/activations/init.py in ()

20

21 # Activation functions.

---> 22 from tensorflow.python.keras._impl.keras.activations import elu

23 from tensorflow.python.keras._impl.keras.activations import hard_sigmoid

24 from tensorflow.python.keras._impl.keras.activations import linear

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/init.py in ()

19 from future import print_function

20

---> 21 from tensorflow.python.keras._impl.keras import activations

22 from tensorflow.python.keras._impl.keras import applications

23 from tensorflow.python.keras._impl.keras import backend

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/activations.py in ()

21 import six

22

---> 23 from tensorflow.python.keras._impl.keras import backend as K

24 from tensorflow.python.keras._impl.keras.utils.generic_utils import deserialize_keras_object

25 from tensorflow.python.layers.base import Layer

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/backend.py in ()

35 from tensorflow.python.framework import ops

36 from tensorflow.python.framework import sparse_tensor

---> 37 from tensorflow.python.layers import base as tf_base_layers

38 from tensorflow.python.ops import array_ops

39 from tensorflow.python.ops import clip_ops

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/layers/base.py in ()

23 from tensorflow.python.framework import dtypes

24 from tensorflow.python.framework import ops

---> 25 from tensorflow.python.keras.engine import base_layer

26 from tensorflow.python.ops import variable_scope as vs

27 from tensorflow.python.ops import variables as tf_variables

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/engine/init.py in ()

19 from future import print_function

20

---> 21 from tensorflow.python.keras.engine.base_layer import InputSpec

22 from tensorflow.python.keras.engine.base_layer import Layer

23 from tensorflow.python.keras.engine.input_layer import Input

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/engine/base_layer.py in ()

31 from tensorflow.python.framework import tensor_shape

32 from tensorflow.python.framework import tensor_util

---> 33 from tensorflow.python.keras import backend

34 from tensorflow.python.keras import constraints

35 from tensorflow.python.keras import initializers

~/venv_cpu_py3/lib/python3.5/site-packages/tensorflow/python/keras/backend/init.py in ()

20

21 # pylint: disable=redefined-builtin

---> 22 from tensorflow.python.keras._impl.keras.backend import abs

23 from tensorflow.python.keras._impl.keras.backend import all

24 from tensorflow.python.keras._impl.keras.backend import any

ImportError: cannot import name 'abs'

Note that the same error does not happen in tensorflow 1.8.0 or 1.9.0rc0.