Traceback (most recent call last):


 "C:\Users\abdo_\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2961, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-2-7552ea5fffcc>", line 1, in <module>

runfile('C:/Users/abdo_/PycharmProjects/TGSChallenge/train.py', wdir='C:/Users/abdo_/PycharmProjects/TGSChallenge')


 "C:\Program 
s\JetBrains\PyCharm 2018.2.2\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "C:\Program 
s\JetBrains\PyCharm 2018.2.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "C:/Users/abdo_/PycharmProjects/TGSChallenge/train.py", line 93, in <module>

epochs=epochs, batch_size=20, verbose=0,callbacks=[checkpointer])


 "C:\Users\abdo_\Anaconda3\lib\site-packages\keras\engine\training.py", line 1037, in fit

validation_steps=validation_steps)


 "C:\Users\abdo_\Anaconda3\lib\site-packages\keras\engine\training_arrays.py", line 199, in fit_loop

outs = f(ins_batch)


 "C:\Users\abdo_\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 2666, in __call__

return self._call(inputs)


 "C:\Users\abdo_\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 2636, in _call

fetched = self._callable_fn(*array_vals)


 "C:\Users\abdo_\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1382, in __call__

run_metadata_ptr)


 "C:\Users\abdo_\Anaconda3\lib\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: [20,100,100,1] vs. [20,1]

Traceback (most recent call last):


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call

return fn(*args)


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn

options, feed_dict, fetch_list, target_list, run_metadata)


 "/Users/charleschou/anaconda/envs/ML-dev/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun

run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [2,3] vs. [2]
