SHARE
TWEET

Untitled

a guest Feb 21st, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---------------------------------------------------------------------------
  2. FailedPreconditionError                   Traceback (most recent call last)
  3. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
  4.    1333     try:
  5. -> 1334       return fn(*args)
  6.    1335     except errors.OpError as e:
  7.  
  8. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _run_fn(feed_dict, fetch_list, target_list, options, run_metadata)
  9.    1318       return self._call_tf_sessionrun(
  10. -> 1319           options, feed_dict, fetch_list, target_list, run_metadata)
  11.    1320
  12.  
  13. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _call_tf_sessionrun(self, options, feed_dict, fetch_list, target_list, run_metadata)
  14.    1406         self._session, options, feed_dict, fetch_list, target_list,
  15. -> 1407         run_metadata)
  16.    1408
  17.  
  18. FailedPreconditionError: Attempting to use uninitialized value Variable_10
  19.      [[{{node _retval_Variable_10_0_0}}]]
  20.  
  21. During handling of the above exception, another exception occurred:
  22.  
  23. FailedPreconditionError                   Traceback (most recent call last)
  24. <ipython-input-12-4eda1f9ef004> in <module>()
  25.       4
  26.       5 session = tf.Session()
  27. ----> 6 print(session.run(v))
  28.       7 session.close()
  29.  
  30. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
  31.     927     try:
  32.     928       result = self._run(None, fetches, feed_dict, options_ptr,
  33. --> 929                          run_metadata_ptr)
  34.     930       if run_metadata:
  35.     931         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
  36.  
  37. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
  38.    1150     if final_fetches or final_targets or (handle and feed_dict_tensor):
  39.    1151       results = self._do_run(handle, final_targets, final_fetches,
  40. -> 1152                              feed_dict_tensor, options, run_metadata)
  41.    1153     else:
  42.    1154       results = []
  43.  
  44. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
  45.    1326     if handle is None:
  46.    1327       return self._do_call(_run_fn, feeds, fetches, targets, options,
  47. -> 1328                            run_metadata)
  48.    1329     else:
  49.    1330       return self._do_call(_prun_fn, handle, feeds, fetches)
  50.  
  51. /usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
  52.    1346           pass
  53.    1347       message = error_interpolation.interpolate(message, self._graph)
  54. -> 1348       raise type(e)(node_def, op, message)
  55.    1349
  56.    1350   def _extend_graph(self):
  57.  
  58. FailedPreconditionError: Attempting to use uninitialized value Variable_10
  59.      [[{{node _retval_Variable_10_0_0}}]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top