Open Nitinvermaa opened 3 months ago
I encounter below error while executing example.py from basic_chatbot
Below is my system setup Windows 11 python 3.9 neuralintents==0.1.0
Please let me how to solve this problem
Error: ValueError: Exception encountered when calling Sequential.call().
Invalid input shape for input Tensor("sequential_1/Cast:0", shape=(None, 44), dtype=float32). Expected shape (None, None, 44), but input has incompatible shape (None, 44)
Arguments received by Sequential.call(): • inputs=tf.Tensor(shape=(None, 44), dtype=int32) • training=True • mask=None
chatgpt suggested me to change this line
self.model.add(InputLayer(input_shape=(X.shape[1],)))
Thanks a lot @huineng. I applied the change in the assistants.py from neuralintents library.
I encounter below error while executing example.py from basic_chatbot
Below is my system setup Windows 11 python 3.9 neuralintents==0.1.0
Please let me how to solve this problem
Error: ValueError: Exception encountered when calling Sequential.call().
Invalid input shape for input Tensor("sequential_1/Cast:0", shape=(None, 44), dtype=float32). Expected shape (None, None, 44), but input has incompatible shape (None, 44)
Arguments received by Sequential.call(): • inputs=tf.Tensor(shape=(None, 44), dtype=int32) • training=True • mask=None