simple-chatbot-keras icon indicating copy to clipboard operation
simple-chatbot-keras copied to clipboard

ValueError

Open ColderCube opened this issue 3 years ago • 0 comments

Traceback (most recent call last):
  File "chatbot_training.py", line 119, in <module>
    output = dense(vocab_size, activation = 'softmax')(decoder_lstm)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 982, in __call__
    self._maybe_build(inputs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 2643, in _maybe_build
    self.build(input_shapes)  # pylint:disable=not-callable
  File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\keras\layers\wrappers.py", line 173, in build
    'with at least 3 dimensions, received: ' + str(input_shape))
ValueError: `TimeDistributed` Layer should be passed an `input_shape ` with at least 3 dimensions, received: []

ColderCube avatar Dec 03 '20 13:12 ColderCube