shapes (None, 579) and (None, 135) are incompatible code example
Example: 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