Issue 1:
import tensorflow as tf

Traceback (most recent call last):

File "", line 1, in

import tensorflow as tf

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_init_.py", line 22, in

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

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python_init_.py", line 49, in

from tensorflow.python import pywrap_tensorflow

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in

raise ImportError(msg)

ImportError: Traceback (most recent call last):

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper

return importlib.import_module(mname)

File "C:\ProgramData\Anaconda3\lib\importlib_init_.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "", line 985, in _gcd_import

File "", line 968, in _find_and_load

File "", line 957, in _find_and_load_unlocked

File "", line 666, in _load_unlocked

File "", line 577, in module_from_spec

File "", line 938, in create_module

File "", line 222, in _call_with_frames_removed

ImportError: DLL load failed with error code -1073741795

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in

from tensorflow.python.pywrap_tensorflow_internal import *

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in

_pywrap_tensorflow_internal = swig_import_helper()

File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper

return importlib.import_module('pywrap_tensorflow_internal')

File "C:\ProgramData\Anaconda3\lib\importlib_init.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

ImportError: No module named '_pywrap_tensorflow_internal'

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions. Include the entire stack trace

above this error message when asking for help.

Issue 2:
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): Linux Ubuntu 16.04

TensorFlow installed from (source or binary): source

TensorFlow version (use command below): 1.6.0-rc1

Python version: 2.7

Bazel version (if compiling from source): 0.11.0

GCC/Compiler version (if compiling from source): 5.4

CUDA/cuDNN version: 9.1/7.0

GPU model and memory: Tesla k80 (11441MiB)

Exact command to reproduce: python cifar10_train.py

Describe the problem

I used timeline to profile the time taken by each operation of the standard cifar10 model available in tensorflow/models repo. After looking at the logfile, it looks like logs of some of the operations are duplicated i.e. it looks like some of the operations in the graph are ran multiple times over the single run of the complete graph. For example, Operation "gradients/conv2/Conv2D_grad/Conv2DBackpropFilter" (link to logfile : https://gist.github.com/xilenteyex/d54305e0448e1aa3d878872c45b8ed3a#file-timeline-1-json-L2270) is logged multiple times. Is this some sort of bug or am I missing something?

Thanks a lot for looking into this issue!

Source code / logs

cifar10 example : https://github.com/tensorflow/models/tree/master/tutorials/image/cifar10

here is a the link to my modified version of cifar10_train.py in which I added logging :

https://gist.github.com/xilenteyex/b6fab3a5abdb65bf674aa7d0a4ec4b5c

one of the sample log files is : https://gist.github.com/xilenteyex/d54305e0448e1aa3d878872c45b8ed3a