---------------------------------------------------------------------------
InternalError Traceback (most recent call last)
<ipython-input-5-f3f64cbc817f> in <module>()
1 #Session to fetch the value of c
----> 2 with tf.Session() as sess:
3 writer = tf.summary.FileWriter('./graphs', sess.graph)
4 sess.run(c)
5
/home/quoniammm/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in __init__(self, target, graph, config)
1484
1485 """
-> 1486 super(Session, self).__init__(target, graph, config=config)
1487 # NOTE(mrry): Create these on first `__enter__` to avoid a reference cycle.
1488 self._default_graph_context_manager = None
/home/quoniammm/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in __init__(self, target, graph, config)
619 # pylint: enable=protected-access
620 else:
--> 621 self._session = tf_session.TF_NewDeprecatedSession(opts, status)
622 finally:
623 tf_session.TF_DeleteSessionOptions(opts)
/home/quoniammm/anaconda3/lib/python3.6/contextlib.py in __exit__(self, type, value, traceback)
87 if type is None:
88 try:
---> 89 next(self.gen)
90 except StopIteration:
91 return
/home/quoniammm/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
464 None, None,
465 compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 466 pywrap_tensorflow.TF_GetCode(status))
467 finally:
468 pywrap_tensorflow.TF_DeleteStatus(status)
InternalError: Failed to create session.