Issue 1:
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template

System information

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

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

TensorFlow installed from (source or binary): Binary from pip/PyPi

TensorFlow version (use command below): 1.13.1

Python version: 3.7

CUDA/cuDNN version: CPU only

GPU model and memory: MacPro integrated

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

You can also obtain the TensorFlow version with

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

Describe the current behavior

I have previously running code that explodes on import prior to any runtime execution. Reports the error above.

Describe the expected behavior

This library needs to run and not choke on its own imports.

Code to reproduce the issue

Provide a reproducible test case that is the bare minimum necessary to generate the problem.

Other info / logs

Using TensorFlow backend.

Traceback (most recent call last):

File "/Users/raymond/Depot/ai-worker/duplicate_ai/test.py", line 1, in

from model import SiameseDream

File "/Users/raymond/Depot/ai-worker/duplicate_ai/model.py", line 1, in

import keras.backend as K

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/keras/init.py", line 3, in

from . import utils

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/keras/utils/init.py", line 6, in

from . import conv_utils

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in

from .. import backend as K

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/keras/backend/init.py", line 89, in

from .tensorflow_backend import *

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in

import tensorflow as tf

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/init.py", line 24, in

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

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/python/init.py", line 52, in

from tensorflow.core.framework.graph_pb2 import *

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 15, in

from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/core/framework/node_def_pb2.py", line 15, in

from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/core/framework/attr_value_pb2.py", line 15, in

from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/core/framework/tensor_pb2.py", line 15, in

from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2

File "/Users/raymond/env/ai-worker/lib/python3.7/site-packages/tensorflow/core/framework/resource_handle_pb2.py", line 22, in

serialized_pb=_b('\n/tensorflow/core/framework/resource_handle.proto\x12\ntensorflow"r\n\x13ResourceHandleProto\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x11\n\thash_code\x18\x04 \x01(\x04\x12\x17\n\x0fmaybe_type_name\x18\x05 \x01(\tBn\n\x18org.tensorflow.frameworkB\x0eResourceHandleP\x01Z=github.com/tensorflow/tensorflow/tensorflow/go/core/framework\xf8\x01\x01\x62\x06proto3')

TypeError: init() got an unexpected keyword argument 'serialized_options'

Issue 2:
Would you like to replace any double quotes by angle brackets around file names for include statements?