Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

shapes (none, 1) and (none, 5) are incompatible

Change Categorical Cross Entropy to Binary Cross Entropy since your output label is binary. Also Change Softmax to Sigmoid since Sigmoid is the proper activation function for binary data
 
PREVIOUS NEXT
Tagged: #shapes #incompatible
ADD COMMENT
Topic
Name
7+1 =