Epoch: 1/1000, Cost:56.2185,
Epoch: 2/1000, Cost:34.7169,
Epoch: 3/1000, Cost:31.5714,
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-5-b040c9ebd915> in <module>()
7 y_train = articulation[n].reshape((1, articulation[n].shape[1], n_output_dim))
8 _, loss, p = sess.run([optimizer, cost, pred],
----> 9 feed_dict={x_data: x_train, y_data: y_train})
10 if (i+1) % 1 == 0:
11 print('Epoch:{:>4}/{},'.format(i+1,max_iter),
/Users/jaegukang/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
765 try:
766 result = self._run(None, fetches, feed_dict, options_ptr,
--> 767 run_metadata_ptr)
768 if run_metadata:
769 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
/Users/jaegukang/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
938 np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
939
--> 940 if not subfeed_t.get_shape().is_compatible_with(np_val.shape):
941 raise ValueError(
942 'Cannot feed value of shape %r for Tensor %r, '
/Users/jaegukang/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/tensor_shape.py in is_compatible_with(self, other)
716 return False
717 for x_dim, y_dim in zip(self._dims, other.dims):
--> 718 if not x_dim.is_compatible_with(y_dim):
719 return False
720 return True
/Users/jaegukang/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/tensor_shape.py in is_compatible_with(self, other)
91 other = as_dimension(other)
92 return (self._value is None
---> 93 or other.value is None
94 or self._value == other.value)
95
/Users/jaegukang/anaconda3/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/tensor_shape.py in value(self)
75 def value(self):
76 """The value of this dimension, or None if it is unknown."""
---> 77 return self._value
78
79 def is_compatible_with(self, other):
KeyboardInterrupt: