Traceback (most recent call last):


 "case2.py", line 163, in <module>

validation_split=0.2)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/keras/engine/training.py", line 1037, in fit

validation_steps=validation_steps)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/keras/engine/training_arrays.py", line 199, in fit_loop

outs = f(ins_batch)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2666, in __call__

return self._call(inputs)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2636, in _call

fetched = self._callable_fn(*array_vals)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1454, in __call__

self._session._session, self._handle, args, status, None)


 "/home/bezigon/py35_tf_latest/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 519, in __exit__

c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [16,256] vs. [64,256]

Traceback (most recent call last):


 "/home/ericsilk/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call

return fn(*args)


 "/home/ericsilk/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn

target_list, run_metadata)


 "/home/ericsilk/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun

run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [39,10] rhs shape= [98,10]
