Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError #7

Open
ColderCube opened this issue Dec 3, 2020 · 0 comments
Open

ValueError #7

ColderCube opened this issue Dec 3, 2020 · 0 comments

Comments

@ColderCube
Copy link

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: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant