Advertisement
Guest User

Untitled

a guest
Oct 28th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. ValueError Traceback (most recent call last)
  2. <ipython-input-6-9d4188a88c44> in <module>()
  3. 8
  4. 9
  5. ---> 10 sess.run(train_step, feed_dict={x: array_batch_xs, y: batch_ys})
  6. 11 correct_prediction = tf.equal(tf.argmax(y,1), tf.argmax(y_,1))
  7. 12 correct_prediction = tf.equal(training_images, training_labels)
  8.  
  9. C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py in run(self, fetches, feed_dict, options, run_metadata)
  10. 765 try:
  11. 766 result = self._run(None, fetches, feed_dict, options_ptr,
  12. --> 767 run_metadata_ptr)
  13. 768 if run_metadata:
  14. 769 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
  15.  
  16. C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
  17. 936 ' to a larger type (e.g. int64).')
  18. 937
  19. --> 938 np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
  20. 939
  21. 940 if not subfeed_t.get_shape().is_compatible_with(np_val.shape):
  22.  
  23. C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\numpy\core\numeric.py in asarray(a, dtype, order)
  24. 529
  25. 530 """
  26. --> 531 return array(a, dtype, copy=False, order=order)
  27. 532
  28. 533
  29.  
  30. ValueError: setting an array element with a sequence.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement