2018-07-06 13:34:00.518855: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.2 AVX AVX2 FMA
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-47eee1c199ef> in <module>()
4 y = tf.placeholder(tf.int32, [None])
5 b = y + 1
----> 6 print(sess.run(b, feed_dict={y:a, x:[1]}))
7
~/.pyenv/virtualenvs/image-vectorization/3.6.1/lib/python3.6/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
893 try:
894 result = self._run(None, fetches, feed_dict, options_ptr,
--> 895 run_metadata_ptr)
896 if run_metadata:
897 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
~/.pyenv/virtualenvs/image-vectorization/3.6.1/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
1074
1075 if isinstance(subfeed_val, ops.Tensor):
-> 1076 raise TypeError('The value of a feed cannot be a tf.Tensor object. '
1077 'Acceptable feed values include Python scalars, '
1078 'strings, lists, numpy ndarrays, or TensorHandles.')
TypeError: The value of a feed cannot be a tf.Tensor object. Acceptable feed values include Python scalars, strings, lists, numpy ndarrays, or TensorHandles.