Hello, I try to run the example and return the following error from bash run_job.sh command. Could you please help me to solve this problem? Thanks in advance.
2021-06-30 15:33:22.841156: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2
Traceback (most recent call last):
File "train.py", line 149, in
train()
File "train.py", line 130, in train
feed_dict=feed_dict(True))
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1120, in _run
feed_dict_tensor, options, run_metadata)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
options, run_metadata)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [100,24,24,1] vs. [100,10,10,1]
[[Node: loss/sub = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](hidden_2/conv2d/BiasAdd, loss/cond/Merge)]]
Caused by op u'loss/sub', defined at:
File "train.py", line 149, in
train()
File "train.py", line 92, in train
is_training=is_training) #,gpu=True
File "/home/xxxxxxxxx/deepsd/srcnn-tensorflow/srcnn/srcnn.py", line 47, in init
self._build_graph()
File "/home/xxxxxxxxx/deepsd/srcnn-tensorflow/srcnn/srcnn.py", line 114, in _build_graph
self.loss = self._loss(_prediction_norm)
File "/home/xxxxxxxxx/deepsd/srcnn-tensorflow/srcnn/srcnn.py", line 83, in _loss
err = tf.square(predictions - _y)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/ops/math_ops.py", line 894, in binary_op_wrapper
return func(x, y, name=name)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/ops/gen_math_ops.py", line 4636, in _sub
"Sub", x=x, y=y, name=name)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
op_def=op_def)
File "/home/xxxxxxxxx/miniconda2/envs/deepsd/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1470, in init
self._traceback = self._graph._extract_stack() # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): Incompatible shapes: [100,24,24,1] vs. [100,10,10,1]
[[Node: loss/sub = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](hidden_2/conv2d/BiasAdd, loss/cond/Merge)]]
Hello, I try to run the example and return the following error from bash run_job.sh command. Could you please help me to solve this problem? Thanks in advance.