scrabble-gan icon indicating copy to clipboard operation
scrabble-gan copied to clipboard

Can not squeeze dim[2], expected a dimension of 1, got 2 [Op:Squeeze]

Open Tailor2019 opened this issue 2 years ago • 0 comments

Hello! @Nikolai10 I'got this this error `File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 67, in error_handler raise e.with_traceback(filtered_tb) from None File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py", line 7186, in raise_from_not_ok_status raise core._status_to_exception(e) from None # pylint: disable=protected-access tensorflow.python.framework.errors_impl.InvalidArgumentError: Exception encountered when calling layer "tf.compat.v1.squeeze" (type TFOpLambda).

Can not squeeze dim[2], expected a dimension of 1, got 2 [Op:Squeeze]

Call arguments received: • input=tf.Tensor(shape=(64, 64, 2, 1, 8192), dtype=float32) • axis=2 • name=None • squeeze_dims=None ` when I'm trying to train scrabble gan on arabic script. Please help me resolving this problem. Thanks in advance.

Tailor2019 avatar Apr 11 '22 08:04 Tailor2019