Closed kkadu closed 2 years ago
@kkadu In order to expedite the trouble-shooting process, please provide the dataset to reproduce the issue reported here.I tried to replicate the issue and faced different error here. Thank you!
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.
I am trying to create a multi-class classification model with Keras and it appears that when I try to fit the model, the shapes in the output are different that target. Although, I am not explicitly defining the shape in the code though.
This is how the output looks like -
Now as you can see the output shape for code4 labels is (None, 265)
Error Message:
Although this error is specific towards code4 from the spare perspective, I believe that this would happen with each of the 4 labels. So, is there a way to clean code this since I am trying to avoid hardcoding the shape (if that is even possible), since the test dataset size would differ over time.